Skip to content

Instantly share code, notes, and snippets.

@xDShot
Created June 15, 2025 11:06
Show Gist options
  • Save xDShot/ee2265a4d6f9a340ec60569869748a55 to your computer and use it in GitHub Desktop.
Save xDShot/ee2265a4d6f9a340ec60569869748a55 to your computer and use it in GitHub Desktop.
#/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