'manylinux' Docker images are used to build Python extension modules compatible with many popular Linux distributions. This repository builds several dependencies on top of the standard manylinux images, for use in building Cantera.
Images are published on the GitHub container registry:
To build an image locally for testing you need to specify two build arguments for Docker:
TARGET_ARCH
: One of the supported architectures for manylinux imagesx86_64
aarch64
s390x
ppc64le
MANYLINUX_TAG
: A tag in the Quay repository: https://quay.io/organization/pypa
The images are currently based on manylinux_2_28
, which includes version 2.28 of glibc per PEP 600. This means that wheels built with manylinux_2_28
will work on any Linux distribution that ships glibc 2.28 or newer. The upstream manylinux
project README has a good summary of compatibility with different Linux distros.
Note: The manylinux project is working on releasing
manylinux_2_34
and has images available. However, there is a problem with how the compilers are configured that will break our wheels because we install openblas withdnf
. See issue pypa/manylinux#1725.