Skip to content

Commit dd4e13b

Browse files
committed
apply patches on win-arm64, filter more warnings
1 parent 7ac84da commit dd4e13b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tools/build_steps_win_arm64.bat

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ if errorlevel 1 (
7777
exit /b 2
7878
)
7979

80+
:: Patch
81+
for /r %%f in (..\patches\*) do git am %%f
82+
if errorlevel 1 exit /b 1
83+
8084
:: Set suffixed-ILP64 flags
8185
if "%if_bits%"=="64" (
8286
set "interface_flags=-DINTERFACE64=1 -DSYMBOLSUFFIX=64_"
@@ -98,7 +102,7 @@ PATH=C:\Program Files\LLVM\bin;%PATH%
98102

99103
:: Run CMake and Ninja build
100104

101-
set CFLAGS=-Wno-reserved-macro-identifier -Wno-unsafe-buffer-usage
105+
set CFLAGS=-Wno-reserved-macro-identifier -Wno-unsafe-buffer-usage -Wno-unused-macros -Wno-sign-conversion -Wno-reserved-identifier
102106
cmake .. -G Ninja ^
103107
-DCMAKE_BUILD_TYPE=Release ^
104108
-DTARGET=ARMV8 ^

0 commit comments

Comments
 (0)