Skip to content

Commit 7dd7a74

Browse files
committed
Rename BUILD_BIT to BUILD_BITS
1 parent 6845b50 commit 7dd7a74

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tools/build_steps_win_arm64.bat

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ set first_woa_buildable_commit="de2380e5a6149706a633322a16a0f66faa5591fc"
1616
setlocal enabledelayedexpansion
1717

1818
if "%1"=="" (
19-
set BUILD_BIT=64
19+
set BUILD_BITS=64
2020
) else (
21-
set BUILD_BIT=%1
21+
set BUILD_BITS=%1
2222
)
23-
echo Building for %BUILD_BIT%-bit configuration...
23+
echo Building for %BUILD_BITS%-bit configuration...
2424

2525
:: Define destination directory
2626
pushd "%~dp0\.."
@@ -54,7 +54,7 @@ for /f "usebackq tokens=*" %%i in (`"C:\Program Files (x86)\Microsoft Visual Stu
5454

5555
:: Run CMake and Ninja build
5656
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DTARGET=ARMV8 -DBUILD_SHARED_LIBS=ON -DARCH=arm64 ^
57-
-DBINARY=%BUILD_BIT% -DCMAKE_SYSTEM_PROCESSOR=ARM64 -DCMAKE_C_COMPILER=clang-cl ^
57+
-DBINARY=%BUILD_BITS% -DCMAKE_SYSTEM_PROCESSOR=ARM64 -DCMAKE_C_COMPILER=clang-cl ^
5858
-DCMAKE_Fortran_COMPILER=flang-new -DSYMBOLPREFIX="scipy_" -DLIBNAMEPREFIX="scipy_"
5959
if errorlevel 1 exit /b 1
6060

0 commit comments

Comments
 (0)