You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Some configuration options are placed here to be accessible from both setup-install-requirements and also regular build-test scripts,
# basically because Homebrew takes too long to install when placed in an uncommon prefix, and also it is not on PATH in the new M1 Mac's.
# LATER make this a supplied parameter if multiarch is needed
BUILD_TARGET_ARCH=$(uname -m)
# LATER check if it's an identified arch. for now assume it matches platform tags on manylinux https://github.com/pypa/manylinux/blob/main/README.rst ; see also https://github.com/pypa/wheel/blob/0.40.0/src/wheel/bdist_wheel.py#L64
if echo $BUILD_TARGET_ARCH | grep -q "^i.86\$" ; then
BUILD_TARGET_ARCH=i686
fi
# put these here bc manylinux is also decribed like wheel platname
WHEEL_OS_VER=
MANYLINUX_CONTAINER_NEEDED_FOR_WHEEL=
if [ "$BUILD_TARGET_ARCH" = "x86_64" ]; then
WHEEL_OS_VER="manylinux1"
elif [ "$BUILD_TARGET_ARCH" = "i686" ]; then
WHEEL_OS_VER="manylinux1"
elif [ "$BUILD_TARGET_ARCH" = "armv7l" ]; then
WHEEL_OS_VER="manylinux2014"
MANYLINUX_CONTAINER_MISSING=1
elif [ "$BUILD_TARGET_ARCH" = "aarch64" ]; then
WHEEL_OS_VER="manylinux2014"
MANYLINUX_CONTAINER_NEEDED_FOR_WHEEL=1
else
echo "Can't find manylinux version for unknown target arch $BUILD_TARGET_ARCH ! Assume manylinux2014" >&2