git clone [email protected]:ziglang/zig.git
cd zig
mkdir build
cd build
cmake .. -DZIG_STATIC_LLVM=ON -DCMAKE_PREFIX_PATH="$(brew --prefix llvm);$(brew --prefix zstd)"
make -j9 install
Created
November 4, 2023 18:16
-
-
Save 0xch4z/e6cd2c087bb7e0b86d5b839843b746f0 to your computer and use it in GitHub Desktop.
Building zig from source on macOS arm64
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment