Skip to content

Commit

Permalink
twiddle
Browse files Browse the repository at this point in the history
  • Loading branch information
robertodr committed Sep 26, 2023
1 parent 573ad7c commit 5b41d9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
echo "MATRIX IS $MATRIX"
echo "include=$MATRIX" >> $GITHUB_OUTPUT
env:
CIBW_ARCHS_LINUX: x86_64 aarch64 s390x ppc64le
CIBW_ARCHS_LINUX: x86_64 aarch64 s390x ppc64le i686
CIBW_ARCHS_MACOS: x86_64 arm64
CIBW_ARCHS_WINDOWS: x86 AMD64

Expand Down
6 changes: 2 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ requires = [
build-backend = "setuptools.build_meta"

[tool.cibuildwheel]
manylinux-x86_64-image = "manylinux2014"
manylinux-x86_64-image = "manylinux_2_28"
manylinux-i686-image = "manylinux2014"
skip = "pp* cp36* cp37* cp312* *musllinux*"
test-skip = "cp310-win32 cp310-manylinux_i686 cp311-win32 cp311-manylinux_i686"
Expand All @@ -32,17 +32,15 @@ environment = { CMAKE_GENERATOR = "Visual Studio 16 2019"}

[[tool.cibuildwheel.overrides]]
select = "*-manylinux_i686"
before-all = "yum install -y wget && bash {project}/tools/install_openblas_i686.sh && bash {project}/tools/install_rust.sh"
before-all = "yum install -y wget && bash {project}/tools/install_openblas_i686.sh"

[[tool.cibuildwheel.overrides]]
select = "*-manylinux_{ppc64le,s390x}"
before-all = "yum install -y epel-release && yum install -y openblas-devel"
environment = { AER_CMAKE_OPENMP_BUILD="0" }

[[tool.cibuildwheel.overrides]]
select = "*-manylinux_aarch64"
before-all = "yum install -y https://dl.fedoraproject.org/pub/epel/7/aarch64/Packages/e/epel-release-7-12.noarch.rpm && yum install -y openblas-devel"
environment = { AER_CMAKE_OPENMP_BUILD="0" }

[tool.black]
line-length = 100
Expand Down

0 comments on commit 5b41d9e

Please sign in to comment.