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 Meson Build on various platforms are presented in the separate Install page.
To install the latest version available, use:
cd my-project xpm init # Only at first use. xpm install @xpack-dev-tools/meson-build@latest ls -l xpacks/.bin
To install this specific version, use:
xpm install @email@example.com
The xPack Meson Build is based on the official Meson build system, without any changes.
The current version is based on:
- Meson release 0.57.2 from Apr 10th, 2021.
Compared to the upstream version, there are no functional changes.
To simplify dependency management, this release embeds a Python 3.8.6 instance.
meson executable is a standard ELF/EXE which includes the Python
main() function prepares the Python environment and then
invokes the Meson main:
PyRun_SimpleString("from mesonbuild import mesonmain\n"); PyRun_SimpleString("sys.exit(mesonmain.main())\n");
The Python library is located in the standard location:
lib/python3.8/lib-dynload(the platform dependent files)
The Meson files are located in:
To speed up execution, all Python files are compiled and are
available only as
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 dynamic libraries are adjusted with
otool to use a
The original documentation is available 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 range of platforms and distributions.
The SHA-256 hashes for the files are:
971f98689950a73e936b0fc75faf26fae53a410fd39b70bc074117d54ee9b700 xpack-meson-build-0.57.2-1-darwin-x64.tar.gz 0b547ec8fe5e9fd578c47acf796e67c5ccb7a362a282563e828c6b68efd006c7 xpack-meson-build-0.57.2-1-linux-arm64.tar.gz 74d4547f48aa22cf7eb58697e547bb5ea4b1a3e51e719bfa251325c19f5ca9c6 xpack-meson-build-0.57.2-1-linux-arm.tar.gz 6a3553ff9ce1586d61bd27102b8ff2e96b39e3dc87ae48e3c64be1d81167ed81 xpack-meson-build-0.57.2-1-linux-ia32.tar.gz b79d55446a01bfb82b06b62fb18a931af4207b7d68e0c129471e0737808d36fd xpack-meson-build-0.57.2-1-linux-x64.tar.gz 20b76e7094cfc60667f11acdcceca8c7062018993253dbe940ded10bf1ad2266 xpack-meson-build-0.57.2-1-win32-ia32.zip 89716535219809b74bd08eae1834c1a822acaeefcc433b46f53911281922cfa5 xpack-meson-build-0.57.2-1-win32-x64.zip
- GitHub xpack-dev-tools/meson-build-xpack
- this release
- all xPack releases
- individual file counters (grouped per release)
- npmjs.com @xpack-dev-tools/meson-build