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.18.3 from Sep 22th, 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:
037bffd8c10769944e8754d637b8999ec4993c4666449e633969b4561c350321 xpack-cmake-3.18.3-1-darwin-x64.tar.gz de64ad068f83134af8b3dc405a772f48c8b1ec518ffdb290701be56c8e284702 xpack-cmake-3.18.3-1-linux-arm64.tar.gz 1914f6df32081f6b2d3c1e51267a432cae2fb0a4d708640581006023b2af2ef9 xpack-cmake-3.18.3-1-linux-arm.tar.gz 0ee8c9e17dc366e354c846c910503916be668c18fae0da9c2a0a30e4fb6c3cab xpack-cmake-3.18.3-1-linux-x32.tar.gz 8ef4f9dc5361ba73ee8a0d478c7f1c3de2c173c9ffd381e787fc16e6cbfdea07 xpack-cmake-3.18.3-1-linux-x64.tar.gz 4e0232170a4ed3682059317f3a3424eec7c8db98b883be90577fab632c67fda2 xpack-cmake-3.18.3-1-win32-x32.zip ac6f880b501c00409b176ac29bcaa68c015fbd372b08edbc72e86e80a3812dea xpack-cmake-3.18.3-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