Skip to content

Commit

Permalink
Allow building numpy without BLAS in cibw
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Oct 2, 2023
1 parent ad6a14a commit 100633c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,17 @@ build-backend = "setuptools.build_meta"
test-command = "pytest {project}/test"
test-extras = ["test"]

# Skipping 3.12 for now because of
# https://github.com/numpy/numpy/issues/22623
# Skipping pypy 3.10 because there's no numpy wheel
[tool.cibuildwheel.linux]
skip = ["pp37*", "cp36-*", "cp37-*", "cp312-*"]
skip = ["pp37*", "cp36-*", "cp37-*"]
test-command = ""
before-all = [
"yum install -y git openssl-devel ruby",
"bash {package}/scripts/build-ocl.sh",
]
before-build = [
"pip install numpy -Csetup-args=-Dallow-noblas=true",
]
repair-wheel-command = "auditwheel repair -w {dest_dir} --lib-sdir=/.libs {wheel}"

[[tool.cibuildwheel.overrides]]
Expand Down

0 comments on commit 100633c

Please sign in to comment.