Version 3.19.8-1 is a new release of the xPack CMake package, following the CMake release.

The xPack CMake is the xPack distribution of the CMake build system.

There are separate binaries for Windows (x64 and x86), macOS (x64) and GNU/Linux (x64 and x86, arm64 and arm).

Download

The binary files are available from GitHub Releases.

Install

The full details of installing the xPack CMake on various platforms are presented in the separate Install page.

Easy install

The easiest way to install CMake is with xpm by using the binary xPack, available as @xpack-dev-tools/cmake from the npmjs.com registry.

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 @xpack-dev-tools/cmake@3.19.8-1.1

Compliance

The xPack CMake is based on the official CMake.

The current version is based on:

  • CMake release 3.19.8 from Apr 6th, 2021.

Changes

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.

Bug fixes

  • none

Enhancements

  • none

Known problems

  • none

Shared libraries

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.

DT_RPATH and LD_LIBRARY_PATH

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 DT_RPATH has 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.

@executable_path

Similarly, on macOS, the binaries are adjusted with otool to use a relative path.

Documentation

The current version specific CMake documentation is available in each packet:

  • doc/cmake-X.Y/html/index.html

and online from:

Supported platforms

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.

  • x86/x64 GNU/Linux: all binaries were built with GCC 9.3, running in an Ubuntu 12 Docker container
  • arm64/arm GNU/Linux: all binaries were built with GCC 9.3, running in an Ubuntu 16 Docker container (added in mid-2020)
  • x86/x64 Windows: all binaries were built with mingw-w64 GCC 9.3, running in an Ubuntu 12 Docker container
  • x64 macOS: all binaries were built with GCC 9.3, running in a separate folder on macOS 10.10.5.

Build

The scripts used to build this distribution are in:

  • distro-info/scripts

For the prerequisites and more details on the build procedure, please see the README-MAINTAINER page.

Travis tests

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:

Tests

TBD

Checksums

The SHA-256 hashes for the files are:

192179afc42b1a5fed15639a81ea827759ed839d7cdb70954813a5f383800a02
xpack-cmake-3.19.8-1-darwin-x64.tar.gz

c18f5a8c5b0fd913fd8ff5f9429e95fcf684d4b919cbab092ca73ef214caf539
xpack-cmake-3.19.8-1-linux-arm64.tar.gz

b218ae4333d9c79b91b1b61094b81622c09df2257e5e58a2903318278716cdd6
xpack-cmake-3.19.8-1-linux-arm.tar.gz

a318e5e68347c18f3fd9f029fd28e2797db668580c8877b116036149f2975769
xpack-cmake-3.19.8-1-linux-ia32.tar.gz

b83fe5b748a2b10a82c1496409cdbedb8a50648bb430cfba79cb01ec1b8cf043
xpack-cmake-3.19.8-1-linux-x64.tar.gz

3cea05c876fcda189e4d81f58a5effaa156e79254253bbcd889df3e8e00f5842
xpack-cmake-3.19.8-1-win32-ia32.zip

7d8bf87ce93420dc054612199c0865b27ca91a264264f12b0851efda8bca9678
xpack-cmake-3.19.8-1-win32-x64.zip

Download analytics

Credit to Shields IO for the badges and to Somsubhra/github-release-stats for the individual file counters.