Skip to content

Commit 4bd12df

Browse files
committed
# This is a combination of 14 commits.
# This is the 1st commit message: Add Windows config to GHA # This is the commit message #2: update script [wheel build] # This is the commit message #3: typo [wheel build] # This is the commit message #4: fix typo? [wheel build] # This is the commit message #5: fix linux builds? [wheel build] # This is the commit message #6: typo [wheel build] # This is the commit message #7: add license and pin to windows 2016 # This is the commit message #8: skip tests [wheel build] # This is the commit message #9: pin to windows 2019 instead [wheel build] # This is the commit message #10: try to find out the error on windows [wheel build] # This is the commit message #11: maybe fix? [wheel build] # This is the commit message #12: maybe fix? [wheel build] # This is the commit message #13: fix? [wheel build] # This is the commit message #14: cleanup [wheel build]
1 parent 444a721 commit 4bd12df

File tree

4 files changed

+972
-7
lines changed

4 files changed

+972
-7
lines changed

.github/workflows/wheels.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,17 @@ jobs:
7070
- os: macos-latest
7171
python: "310"
7272
platform: macosx_x86_64
73+
74+
# Windows builds
75+
- os: windows-2019
76+
python: "38"
77+
platform: win_amd64
78+
- os: windows-2019
79+
python: "39"
80+
platform: win_amd64
81+
- os: windows-2019
82+
python: "310"
83+
platform: win_amd64
7384

7485
steps:
7586
- name: Checkout numpy
@@ -91,9 +102,13 @@ jobs:
91102
CIBW_ENVIRONMENT_LINUX: CFLAGS='-std=c99 -fno-strict-aliasing'
92103
LDFLAGS='-Wl,--strip-debug'
93104
OPENBLAS64_=/usr/local
105+
RUNNER_OS='Linux'
94106
# MACOS linker doesn't support stripping symbols
95107
CIBW_ENVIRONMENT_MACOS: CFLAGS='-std=c99 -fno-strict-aliasing'
96108
OPENBLAS64_=/usr/local
109+
# Hardcode for now,blas stuff needs changes for 32-bit
110+
CIBW_ENVIRONMENT_WINDOWS: NPY_USE_BLAS_ILP64=1
111+
OPENBLAS64_=openblas
97112
CIBW_BUILD_VERBOSITY: 3
98113
CIBW_BEFORE_BUILD: bash {project}/tools/wheels/cibw_before_build.sh {project}
99114
CIBW_BEFORE_TEST: pip install -r {project}/test_requirements.txt

0 commit comments

Comments
 (0)