diff --git a/.github/build.sh b/.github/build.sh index 661d9ad..ca25ec9 100755 --- a/.github/build.sh +++ b/.github/build.sh @@ -41,12 +41,12 @@ case "$1" in cd /opt/cosmo make toolchain 2>/dev/null mkdir -p /opt/cosmos/bin - /opt/cosmo/bin/cosmocc --update + /opt/cosmo/tool/scripts/cosmocc --update cd - test -d openssl || git clone --depth=1 https://github.com/openssl/openssl.git -b openssl-3.0 openssl cd openssl git apply ../.github/openssl_getrandom.diff - ./config --with-rand-seed=getrandom no-asm no-shared no-dso no-engine no-dynamic-engine -DPURIFY CC=/opt/cosmo/bin/cosmocc + ./config --with-rand-seed=getrandom no-asm no-shared no-dso no-engine no-dynamic-engine -DPURIFY CC=/opt/cosmo/tool/scripts/cosmocc find /opt/cosmo/tool/scripts/ make cd - @@ -61,7 +61,7 @@ case "$1" in ./configure --enable-python --enable-java --enable-ruby --enable-go ;; ape) - ./configure CC=/opt/cosmo/bin/cosmocc CRYPTO_CFLAGS="-I$PWD/openssl/include" CRYPTO_LIBS="-L$PWD/openssl -lcrypto" --disable-shared + ./configure CC=/opt/cosmo/tool/scripts/cosmocc CRYPTO_CFLAGS="-I$PWD/openssl/include" CRYPTO_LIBS="-L$PWD/openssl -lcrypto" --disable-shared echo "#define ossl_unused" >> config.h echo "#define ossl_inline" >> config.h echo "#define __owur" >> config.h