Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
frankmorgner committed Aug 15, 2023
1 parent ef65655 commit 1862dbc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 -
Expand All @@ -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
Expand Down

0 comments on commit 1862dbc

Please sign in to comment.