There are separate binaries for Windows (Intel 32/64-bit), macOS (Intel 64-bit) and GNU/Linux (Intel 32/64-bit, Arm 32/64-bit).
The binary files are available from GitHub releases.
The full details of installing the xPack CMake on various platforms are presented in the separate Install page.
To install the latest version available, use:
xpm install --global @xpack-dev-tools/cmake@latest --verbose
To install this specific version, use:
xpm install --global @firstname.lastname@example.org
The xPack CMake is based on the official CMake, without any changes.
The current version is based on:
- CMake release 3.18.6 from Feb 11th, 2021.
Compared to the upstream version, the Windows version also supports
spawning scripts via
cmd.exe /c. These scripts are used by npm/xpm
to redirect invocations to the global xPacks store.
On all platforms the packages are standalone, and expect only the standard runtime to be present on the host.
All dependencies that are build as shared libraries are copied locally in the same folder as the executable.
On GNU/Linux the binaries are adjusted to use a relative path:
$ readelf -d library.so | grep runpath 0x000000000000001d (RPATH) Library rpath: [$ORIGIN]
In the GNU ld.so search strategy, the
the highest priority, higher than
LD_LIBRARY_PATH, so if this later one
is set in the environment, it should not interfere with the xPack binaries.
Similarly, on macOS, the binaries are adjusted with
otool to use a
The current version specific CMake documentation is available in each packet:
and online from:
Binaries for Windows, macOS and GNU/Linux are provided.
The binaries were built using the xPack Build Box (XBB), a set of build environments based on slightly older distributions, that should be compatible with most recent systems.
- Intel GNU/Linux: all binaries were built with GCC 9.3, running in an Ubuntu 12 Docker container
- Arm GNU/Linux: all binaries were built with GCC 9.3, running in an Ubuntu 16 Docker container (added in mid-2020)
- Windows: all binaries were built with mingw-w64 GCC 9.3, running in an Ubuntu 12 Docker container
- macOS: all binaries were built with GCC 9.3, running in a separate folder on macOS 10.10.5.
The scripts used to build this distribution are in:
For the prerequisites and more details on the build procedure, please see the README-MAINTAINER page.
The first set of tests were performed on Travis, by running a simple script to check if the binaries start on a wide range of platforms and distributions:
The SHA-256 hashes for the files are:
34e43ad10d740d816ddbf2025644ada1cd1de062ca862d7493d326e75e5e7ffb xpack-cmake-3.18.6-1-darwin-x64.tar.gz 7d8dabbeb98d0e0ebda09163bd92b5ac395b129a7f7eb303cba2867f5d0bf39d xpack-cmake-3.18.6-1-linux-arm64.tar.gz 8128a6ab83e31a8dd7e6877fb266a6a14dda139887e833bf2d11265652e87b39 xpack-cmake-3.18.6-1-linux-arm.tar.gz 74710d902c7d9f5a5c8ea751ac61c7f2a7c1ea25cd019af39be403487c965962 xpack-cmake-3.18.6-1-linux-ia32.tar.gz 61d4229a20748514da5604ed5c1ce28920139f701b563d3c5d001407b44c9663 xpack-cmake-3.18.6-1-linux-x64.tar.gz eac1c5bb66acae7e13f7ed0daf94abc52f2870627814261213630d2fb28a236c xpack-cmake-3.18.6-1-win32-ia32.zip 2d7793e5d89fee35ffe25798b842c2f78389fb85482f11f17dd4832efad05954 xpack-cmake-3.18.6-1-win32-x64.zip
- GitHub xpack-dev-tools/cmake-xpack
- this release
- all xPack releases
- individual file counters (grouped per release)
- npmjs.com @xpack-dev-tools/cmake