|
17 | 17 | CIBW_SKIP: "cp39-win_arm64 cp310-win_arm64" |
18 | 18 | # TODO: consider turning this on |
19 | 19 | # CIBW_ENABLE: cpython-freethreading |
| 20 | + CIBW_CONFIG_SETTINGS: "-Cbuild-dir=build" |
20 | 21 | CIBW_BEFORE_BUILD_WINDOWS: >- |
21 | 22 | pip install delvewheel |
22 | 23 | CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: >- |
|
86 | 87 | echo "CC=clang-cl" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append |
87 | 88 | echo "CXX=clang-cl" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append |
88 | 89 | echo "FC=flang-new" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append |
89 | | - # From numpy: https://github.com/numpy/numpy/blob/37c9cb68ba7db9c48bc0e3354953c57a78d2b0e8/.github/workflows/wheels.yml#L133 |
90 | | - - name: pkg-config-for-win-arm |
91 | | - if: ${{ matrix.os == 'windows-11-arm' }} |
92 | | - run: | |
93 | | - choco install -y --no-progress --stoponfirstfailure --checksum 6004DF17818F5A6DBF19CB335CC92702 pkgconfiglite |
94 | | - $CIBW = "${{ github.workspace }}/.openblas" |
95 | | - # pkgconfig needs a complete path, and not just "./openblas since the |
96 | | - # build is run in a tmp dir (?) |
97 | | - # It seems somewhere in the env passing, `\` is not |
98 | | - # passed through, so convert it to '/' |
99 | | - $CIBW = $CIBW.replace("\","/") |
100 | | - echo "CIBW_ENVIRONMENT_WINDOWS=PKG_CONFIG_PATH=$CIBW" >> $env:GITHUB_ENV |
101 | 90 | # - name: Specify MSVC toolchain - windows-arm |
102 | 91 | # if: ${{ matrix.os == 'windows-11-arm' }} |
103 | 92 | # # When building on windows ARM, we need to use the MSVC toolchain |
@@ -125,6 +114,14 @@ jobs: |
125 | 114 | # # (https://numpy.org/devdocs/f2py/windows/intel.html#f2py-and-windows-intel-fortran) |
126 | 115 | # compiler: "intel-classic" |
127 | 116 | # version: "2021.10" |
| 117 | + # TODO: remove, diagnostic only |
| 118 | + - name: Upload build dir |
| 119 | + uses: actions/upload-artifact@v4 |
| 120 | + if: always() |
| 121 | + with: |
| 122 | + name: cibw-wheels-${{ matrix.os }}-${{ matrix.cibw_archs }} |
| 123 | + path: ./build |
| 124 | + if-no-files-found: error |
128 | 125 | - name: Build wheels |
129 | 126 | uses: pypa/cibuildwheel@v3.1.4 # matplotlib had v3.1.3 |
130 | 127 | with: |
|
0 commit comments