Skip to content

Commit 638b641

Browse files
authored
Using USE_THREADS & NUM_THREADS while building openblas for win arm64
1 parent 970cb75 commit 638b641

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/build_steps_win_arm64.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ echo Setting up ARM64 Developer Command Prompt and running CMake...
9494
for /f "usebackq tokens=*" %%i in (`"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -latest -property installationPath`) do call "%%i\VC\Auxiliary\Build\vcvarsall.bat" arm64
9595

9696
:: Run CMake and Ninja build
97-
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DTARGET=ARMV8 -DBUILD_SHARED_LIBS=ON -DARCH=arm64 ^
97+
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DUSE_THREADS=1 -DNUM_THREADS=24 -DTARGET=ARMV8 -DBUILD_SHARED_LIBS=ON -DARCH=arm64 ^
9898
-DBINARY=%build_bits% -DCMAKE_SYSTEM_PROCESSOR=ARM64 -DCMAKE_C_COMPILER=clang-cl ^
9999
-DCMAKE_Fortran_COMPILER=flang-new -DSYMBOLPREFIX="scipy_" -DLIBNAMEPREFIX="scipy_" %interface_flags%
100100
if errorlevel 1 exit /b 1

0 commit comments

Comments
 (0)