Add macOS support #34
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good

This commit is contained in:
2025-08-02 13:24:19 -05:00
parent 77e0633c38
commit 437a3444ec
18 changed files with 89 additions and 5 deletions

View File

@@ -2,6 +2,11 @@
if [ "$1" == "mingw64" ]; then
HOST_CFG=--host=x86_64-w64-mingw32
elif [ "$(uname -s)" == "Darwin" ] && [ "$(uname -m)" == "arm64" ] &&
[ "${PROJECT_IS_ARM64}" == "0" ]; then
HOST_CFG="--host=x86_64-apple-darwin"
export CC="clang -arch x86_64"
export CXX="clang++ -arch x86_64"
fi
CFLAGS="-O3 -fomit-frame-pointer -march=$2 -mtune=generic" ./configure \