Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
frankmorgner committed Jan 24, 2024
1 parent 5ee7dd8 commit 2f38b9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ case "$1" in
sudo mkdir -p /opt
sudo chmod 1777 /opt
test -d /opt/cosmo || (wget https://cosmo.zip/pub/cosmocc/cosmocc-3.2.4.zip && sudo unzip cosmocc-3.2.4.zip -d /opt/cosmo)
test -d openssl || git clone --depth=1 https://github.com/openssl/openssl.git -b openssl-3.0 openssl
test -d openssl || git clone --depth=1 https://github.com/openssl/openssl.git -b OpenSSL_1_1_1-stable0 openssl
# see also https://github.com/ahgamut/superconfigure/blob/main/lib/openssl/BUILD.mk
cd openssl
git apply ../.github/openssl_getrandom.diff
./Configure linux-aarch64 --with-rand-seed=getrandom no-asm no-shared no-dso no-engine no-dynamic-engine no-tests -DPURIFY CC="/opt/cosmo/bin/cosmocc -I/opt/cosmo/include -L/opt/cosmo/lib" AR=/opt/cosmo/bin/cosmoar
./Configure linux-aarch64 --with-rand-seed=getrandom no-shared no-asm no-dso no-dynamic-engine no-engine no-pic no-autoalginit no-autoerrinit -DPURIFY CC="/opt/cosmo/bin/cosmocc -I/opt/cosmo/include -L/opt/cosmo/lib" AR=/opt/cosmo/bin/cosmoar
make -j DESTDIR=$PWD/openssl_ape install_sw
cd -
;;
Expand Down

0 comments on commit 2f38b9c

Please sign in to comment.