apotocki/ninja 1.13.2 (r1, apple)
- Library
- ninja
- Variant
- apple, target apple
- Channel
- stable
- Published
- 2026-11-07
- Recipe source
- https://github.com/otok-dev/recipes
32756a87cf5bd189ca4c9825159bf0713ea8cf5einrecipes/ninja/1.13/apple/ - Recipe SHA-256
a200e9e658589d805b1407287af8f6f8941f5c740d2c2bcadfe798a57ac27347
Recipe files changed
Inputs
| source.commit | 3441b633c2fe2c494e958780ba0f4227b1327634 |
|---|---|
| source.git | https://github.com/ninja-build/ninja |
| source.tag | v1.13.2 |
Platforms
macosx
Toolchains
python { default-recipe = "apotocki/python", version = ">= 3.6" }
Recipe files
build.lua
-- configure.py --bootstrap compiles ninja with the slice's C++ compiler and leaves it in the working directory.
function build(slice, options, deps)
otok.run({ slice.toolchains.python, "configure.py", "--bootstrap" }, { cwd = slice.source, env = { CXX = slice.toolchain.cxx } })
local program = slice.prefix .. "/bin/ninja"
otok.copy(slice.source .. "/ninja", program)
return { programs = { ninja = program } }
end
recipe.toml
# The otok recipe of Ninja (https://github.com/apotocki/otok): the ninja program for the builds of other recipes, which
# name it as their toolchain (`ninja = { default-recipe = "apotocki/ninja" }`). Bootstrapped by its configure.py with the
# machine's compiler, so it needs no ninja or CMake of its own.
[recipe]
api = 1
library = "ninja"
name = "ninja"
version = "1.13.2"
revision = 1
license = "Apache-2.0"
license-files = ["COPYING"]
homepage = "https://ninja-build.org"
description = "Ninja, a small build system with a focus on speed."
keywords = ["build", "tool"]
[tool]
programs = ["ninja"]
[source]
git = "https://github.com/ninja-build/ninja"
commit = "3441b633c2fe2c494e958780ba0f4227b1327634"
tag = "v1.13.2"
[platforms]
supported = ["macosx"]
build-on = ["macos/xcode"]
[toolchains]
python = { version = ">= 3.6", default-recipe = "apotocki/python" }