apotocki/cmake 4.4.5 (r1, linux)
- Library
- cmake
- Variant
- linux, target linux
- Channel
- stable
- Published
- 2026-11-07
- Recipe source
- https://github.com/otok-dev/recipes
32756a87cf5bd189ca4c9825159bf0713ea8cf5einrecipes/cmake/4.4/linux/ - Recipe SHA-256
b67c2513a1a0d93118613ca03229897507173729488a3824ba69613b0db06eb0
Recipe files changed
Inputs
| source.sha256 | a0c54c88abb8078dd8eccadb717fc6bb194bf18e7d44c86309910288886e04e2 |
|---|---|
| source.url | https://github.com/Kitware/CMake/releases/download/v4.4.5/cmake-4.4.5.tar.gz |
| resource linux_x86_64.sha256 | ed85135c5a5135b45e50423cb406dea04ca3338da0b8ef3c9ede963559680be0 |
| resource linux_x86_64.url | https://github.com/Kitware/CMake/releases/download/v4.4.5/cmake-4.4.5-linux-x86_64.tar.gz |
| resource linux_arm64.sha256 | 301d5063ab259577c1b57ce5490b1aab9ea5c56dc4c822f73499553dab94925f |
| resource linux_arm64.url | https://github.com/Kitware/CMake/releases/download/v4.4.5/cmake-4.4.5-linux-aarch64.tar.gz |
Platforms
linux
Recipe files
build.lua
-- The release binaries of the build machine, copied whole into the prefix: cmake finds its modules (share/cmake-4.4)
-- beside its bin/.
function build(slice, options, deps)
local r = slice.resources
local release = r.linux_x86_64 or r.linux_arm64
if not release then error("CMake publishes no release binaries for this build machine") end
local p = slice.prefix
for _, dir in ipairs{ "bin", "share" } do
otok.copy(release .. "/" .. dir, p .. "/" .. dir)
end
return { programs = { cmake = p .. "/bin/cmake", ctest = p .. "/bin/ctest", cpack = p .. "/bin/cpack" } }
end
recipe.toml
# The otok recipe of CMake (https://github.com/apotocki/otok): the cmake program for the builds of other recipes, which
# name it as their toolchain (`cmake = { default-recipe = "apotocki/cmake" }`), on Linux: Kitware's release binaries of
# the build machine (a resource per architecture, fetched on that machine only); the source archive carries the license.
[recipe]
api = 1
library = "cmake"
name = "cmake"
version = "4.4.5"
revision = 1
license = "BSD-3-Clause"
license-files = ["LICENSE.rst"]
homepage = "https://cmake.org"
description = "CMake, the cross-platform build system generator, as Kitware releases it."
keywords = ["build", "tool"]
[tool]
programs = ["cmake", "ctest", "cpack"]
[source]
url = "https://github.com/Kitware/CMake/releases/download/v4.4.5/cmake-4.4.5.tar.gz"
sha256 = "a0c54c88abb8078dd8eccadb717fc6bb194bf18e7d44c86309910288886e04e2"
[[resource]]
name = "linux_x86_64"
url = "https://github.com/Kitware/CMake/releases/download/v4.4.5/cmake-4.4.5-linux-x86_64.tar.gz"
sha256 = "ed85135c5a5135b45e50423cb406dea04ca3338da0b8ef3c9ede963559680be0"
when = { host = ["linux-x86_64"] }
[[resource]]
name = "linux_arm64"
url = "https://github.com/Kitware/CMake/releases/download/v4.4.5/cmake-4.4.5-linux-aarch64.tar.gz"
sha256 = "301d5063ab259577c1b57ce5490b1aab9ea5c56dc4c822f73499553dab94925f"
when = { host = ["linux-arm64"] }
[platforms]
supported = ["linux"]
build-on = ["linux/gcc", "linux/clang"]