File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -93,8 +93,11 @@ echo Setting up ARM64 Developer Command Prompt and running CMake...
93
93
:: Initialize VS ARM64 environment
94
94
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
95
95
96
+ :: Prefer LLVM flang
97
+ PATH=C:\Program Files\LLVM\bin;%PATH%
98
+
96
99
:: Run CMake and Ninja build
97
- cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DTARGET=ARMV8 -DBUILD_SHARED_LIBS=ON -DARCH=arm64 ^
100
+ cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DUSE_THREADS= 1 -DNUM_THREADS= 24 - DTARGET=ARMV8 -DBUILD_SHARED_LIBS=ON -DARCH=arm64 ^
98
101
-DBINARY=%build_bits% -DCMAKE_SYSTEM_PROCESSOR=ARM64 -DCMAKE_C_COMPILER=clang-cl ^
99
102
-DCMAKE_Fortran_COMPILER=flang-new -DSYMBOLPREFIX=" scipy_" -DLIBNAMEPREFIX=" scipy_" %interface_flags%
100
103
if errorlevel 1 exit /b 1
You can’t perform that action at this time.
0 commit comments