Skip to content

Commit a7cbdf2

Browse files
committed
try fix windows
1 parent c123e9b commit a7cbdf2

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/build-wheels.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,11 @@ jobs:
3535
echo "MACOSX_DEPLOYMENT_TARGET=$(sw_vers -productVersion | cut -d '.' -f 1-2)" >> $GITHUB_ENV
3636
# This does not work inside CIBW_BEFORE_ALL_MACOS; Without it, the wheel repair fails.
3737
38-
- name: Windows - Set up pkg-config
38+
- name: Windows - Set up pkg-config and CMake
3939
if: runner.os == 'windows'
40-
shell: bash
40+
# shell: bash
4141
run: |
42+
choco install cmake --version=3.31.5 --allow-downgrade -y --no-progress
4243
choco install -y --no-progress --stoponfirstfailure pkgconfiglite
4344
echo "PKG_CONFIG_PATH=C:/mingw64/lib/pkgconfig" >> $GITHUB_ENV
4445
# echo "C:/msys64/mingw64/bin" >> $GITHUB_PATH
@@ -58,7 +59,7 @@ jobs:
5859
CIBW_BEFORE_ALL_LINUX: |
5960
bash {project}/cibw-scripts/before_all_linux.sh {project}
6061
# CIBW_ENVIRONMENT_WINDOWS: >
61-
# MESON_ARGS="-Dodrpack95:blas=refblas"
62+
# MESON_ARGS="-Dodrpack95:blas_option=refblas"
6263
CIBW_BEFORE_ALL_WINDOWS: |
6364
bash {project}/cibw-scripts/before_all_windows.sh
6465
CIBW_BEFORE_BUILD_WINDOWS: |

0 commit comments

Comments
 (0)