build: Support and test cross-compiling for linux-aarch64.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 22m13s

This commit is contained in:
2024-12-24 10:01:14 -05:00
parent 547d38d1ef
commit cd378b721d
4 changed files with 74 additions and 9 deletions

View File

@ -1,11 +1,14 @@
#!/bin/bash
BUILD_DIR=out/openssl_local_build
BUILD_PLATFORM=$(uname -s)
BUILD_TARGET=$(uname -m)
if [[ -z $BUILD_TARGET ]]; then
BUILD_TARGET=$(uname -m)
WORK_DIR=out/openssl-local
else
WORK_DIR=out/openssl-$BUILD_TARGET
SSL_TARGET=linux-$BUILD_TARGET
fi
WORK_DIR=out/openssl-local
rm -rf $WORK_DIR
cp -aRf deps/openssl_src/ $WORK_DIR