Skip to content

Commit 2d0c317

Browse files
committed
fixes for windows and win-arm64
1 parent a832ee4 commit 2d0c317

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/windows.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,9 @@ jobs:
131131
cat tools/LICENSE_win32.txt >> LICENSE.txt
132132
python -m pip wheel -w dist -vv .
133133
# move the mis-named scipy_openblas64-none-any.whl to a platform-specific name
134-
for f in dist/*any*.whl; do mv $f "${f/%any.whl/$WHEEL_PLAT.whl}"; done
134+
if [ -e dist/*any*.whl ]; then
135+
for f in dist/*.whl; do mv $f "${f/%any.whl/$WHEEL_PLAT.whl}"; done
136+
fi
135137

136138
- name: Set up different Python
137139
uses: actions/setup-python@v5

tools/build_steps_win_arm64.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ for /f "usebackq tokens=*" %%i in (`"C:\Program Files (x86)\Microsoft Visual Stu
9797
PATH=C:\Program Files\LLVM\bin;%PATH%
9898

9999
:: Run CMake and Ninja build
100-
set CFLAGS="-Wno-reserved-macro-identifier -Wno-unsafe-buffer-usage"
100+
set CFLAGS=-Wno-reserved-macro-identifier -Wno-unsafe-buffer-usage
101101
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DUSE_THREADS=1 -DNUM_THREADS=24 -DTARGET=ARMV8 -DBUILD_SHARED_LIBS=ON -DARCH=arm64 ^
102102
-DBINARY=%build_bits% -DCMAKE_SYSTEM_PROCESSOR=ARM64 -DCMAKE_C_COMPILER=clang-cl ^
103103
-DCMAKE_Fortran_COMPILER=flang-new -DSYMBOLPREFIX="scipy_" -DLIBNAMEPREFIX="scipy_" %interface_flags%

0 commit comments

Comments
 (0)