Skip to content

Commit

Permalink
chore: use openblas on manylinux_2_28 (#449)
Browse files Browse the repository at this point in the history
Prepare for python 3.12, numpy will require OpenBLAS rather than atlas.
Furthermore, atlas fails randomly on travis-ci on manylinux_2_28 with a `assertion !pthread_create(&thr->thrH, &attr, rout, arg) failed, line 119 of file /builddir/build/BUILD/ATLAS/s390x_base/..//src/threads/ATL_thread_start.c` message so this should take care of that as well.
  • Loading branch information
mayeut authored Sep 11, 2023
1 parent f8a7ff6 commit 1446aeb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/integration/test_manylinux.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,8 @@ def build_numpy(container, policy, output_dir):

if policy.startswith("musllinux_"):
docker_exec(container, "apk add openblas-dev")
elif policy.startswith("manylinux_2_28_"):
docker_exec(container, "dnf install -y openblas-devel")
else:
docker_exec(container, "yum install -y atlas atlas-devel")

Expand Down Expand Up @@ -264,7 +266,7 @@ def test_build_repair_numpy(
policy, tag, manylinux_ctr = any_manylinux_container

# First build numpy from source as a naive linux wheel that is tied
# to system libraries (atlas, libgfortran...)
# to system libraries (blas, libgfortran...)
orig_wheel = build_numpy(manylinux_ctr, policy, io_folder)
assert orig_wheel == ORIGINAL_NUMPY_WHEEL
assert "manylinux" not in orig_wheel
Expand Down

0 comments on commit 1446aeb

Please sign in to comment.