Skip to content

Commit

Permalink
chore: use openblas on manylinux_2_28
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeut committed Sep 11, 2023
1 parent dcc0e41 commit d5873dd
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 d5873dd

Please sign in to comment.