Skip to content

Commit

Permalink
fix: NumPy build on musl s390x
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeut committed Dec 8, 2024
1 parent 44907d0 commit 324f199
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/integration/test_manylinux.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,10 @@ def build_numpy(container, policy, output_dir):

if policy.startswith("musllinux_"):
docker_exec(container, "apk add openblas-dev")
if policy.endswith("_s390x"):
# https://github.com/numpy/numpy/issues/27932
fix_hwcap = "echo '#define HWCAP_S390_VX 2048' >> /usr/include/bits/hwcap.h"
docker_exec(container, fix_hwcap)
elif policy.startswith("manylinux_2_28_"):
docker_exec(container, "dnf install -y openblas-devel")
else:
Expand Down

0 comments on commit 324f199

Please sign in to comment.