diff --git a/.github/workflows/deploy-pypi.yml b/.github/workflows/deploy-pypi.yml index 9616d40..80f4ea9 100644 --- a/.github/workflows/deploy-pypi.yml +++ b/.github/workflows/deploy-pypi.yml @@ -140,20 +140,21 @@ jobs: output-dir: wheelhouse # This does not work, the compilation takes several hours, then fails, even without enabling cuda. - # - name: Build wheels in linux (AARCH64) - # if: matrix.os == 'ubuntu-latest' - # uses: pypa/cibuildwheel@v2.15.0 - # env: - # # CIBW_MANYLINUX_X86_64_IMAGE: sameli/manylinux2014_x86_64_cuda_12.2 - # CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014 - # # CIBW_BEFORE_ALL_LINUX: chmod +x .github/scripts/install_cuda.sh && .github/scripts/install_cuda.sh - # CIBW_ARCHS_LINUX: "aarch64" - # CIBW_BUILD: "*-manylinux_aarch64" - # CIBW_SKIP: "pp* cp36-* cp37-* cp38-*" - # CIBW_BUILD_VERBOSITY: 1 - # CIBW_BEFORE_BUILD_LINUX: yum update; yum install gcc-gfortran openblas-devel.x86_64 lapack-devel.x86_64 -y; python -m pip install --upgrade pip; python -m pip install --upgrade numpy - # with: - # output-dir: wheelhouse + - name: Build wheels in linux (AARCH64) + if: matrix.os == 'ubuntu-latest' + uses: pypa/cibuildwheel@v2.15.0 + env: + # CIBW_MANYLINUX_X86_64_IMAGE: sameli/manylinux2014_x86_64_cuda_12.2 + # CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014 + CIBW_MANYLINUX_AARCH64_IMAGE: manylinux2014 + # CIBW_BEFORE_ALL_LINUX: chmod +x .github/scripts/install_cuda.sh && .github/scripts/install_cuda.sh + CIBW_ARCHS_LINUX: "aarch64" + CIBW_BUILD: "*-manylinux_aarch64" + CIBW_SKIP: "pp* cp36-* cp37-* cp38-*" + CIBW_BUILD_VERBOSITY: 1 + # CIBW_BEFORE_BUILD_LINUX: yum update; yum install gcc-gfortran openblas-devel.x86_64 lapack-devel.x86_64 -y; python -m pip install --upgrade pip; python -m pip install --upgrade numpy + with: + output-dir: wheelhouse - name: Upload artifacts uses: actions/upload-artifact@v3