sapling/build/fbcode_builder/manifests/ninja
Xavier Deguillard 5d9a42963e ninja: upgrade and build from source on macOS
Summary:
On macOS, ninja only provides prebuilt Intel binaries, not arm64 ones. Since we
need to have a native arm64 ninja to be able to build binaries for the M1,
let's compile it from scratch on macOS too. Compiling it takes less than 30s so
it shouldn't add any notable cost to any builds.

Reviewed By: genevievehelsel

Differential Revision: D26322029

fbshipit-source-id: 1bbeeac2a3f0ba07c477a2b33f8878a91ccaec0e
2021-02-09 09:42:07 -08:00

27 lines
573 B
Plaintext

[manifest]
name = ninja
[rpms]
ninja-build
[debs]
ninja-build
[download.os=windows]
url = https://github.com/ninja-build/ninja/releases/download/v1.10.2/ninja-win.zip
sha256 = bbde850d247d2737c5764c927d1071cbb1f1957dcabda4a130fa8547c12c695f
[build.os=windows]
builder = nop
[install.files.os=windows]
ninja.exe = bin/ninja.exe
[download.not(os=windows)]
url = https://github.com/ninja-build/ninja/archive/v1.10.2.tar.gz
sha256 = ce35865411f0490368a8fc383f29071de6690cbadc27704734978221f25e2bed
[build.not(os=windows)]
builder = ninja_bootstrap
subdir = ninja-1.10.2