Created
June 15, 2025 11:06
-
-
Save xDShot/ee2265a4d6f9a340ec60569869748a55 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/bash | |
export PREFIX=${HOME}/cctools | |
pushd cctools-port/cctools | |
# Build for arm64 | |
./configure \ | |
--prefix=${PREFIX} \ | |
--with-libtapi=${PREFIX} \ | |
--target=aarch64-apple-darwin | |
make -j$(nproc) | |
make install | |
make clean | |
# Build for x86_64 | |
./configure \ | |
--prefix=${PREFIX} \ | |
--with-libtapi=${PREFIX} \ | |
--target=x86_64-apple-darwin | |
make -j$(nproc) | |
make install | |
make clean | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment