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
To install this specific version, use:
$ xpm install --global @email@example.com
The xPack CMake is based on the official CMake, without any changes.
The current version is based on:
- CMake release 3.19.2 from Dec 16th, 2020.
Compared to the upstream version, there are no functional changes.
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 How to build 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:
75e5e3b46719f896dfbc19f65366b005957116410dd9c4d8f2b1696d43153bd7 xpack-cmake-3.19.2-1-darwin-x64.tar.gz 4eb8a52d2d210a21e9af92490970692bbf7dc7e17f5ba65d11c028cc03f74bde xpack-cmake-3.19.2-1-linux-arm64.tar.gz dc1b249b07430df69bb9df3950af4ca06c6507ae1aca5173edc76c20fed9ffdd xpack-cmake-3.19.2-1-linux-arm.tar.gz 8ddcbc50821d8e463636069f96c708aed170b1f000df480fbcc2bccc13f0c2f3 xpack-cmake-3.19.2-1-linux-ia32.tar.gz 09ece2eafb322c2d0cd563986cd0571dcc4047b4064100ec2ad29774a3f74266 xpack-cmake-3.19.2-1-linux-x64.tar.gz 0cff168f1bcef68827c3927b3abe700d9db0359a30c4f4ae3249fc6cb067c18e xpack-cmake-3.19.2-1-win32-ia32.zip 57ad78ab9e3b2e0ce5e1c8e91b1b39ba864defc5f8586e4dd8ae0ba949329315 xpack-cmake-3.19.2-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