Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
  • Loading branch information
wangwenx190 committed Aug 22, 2018
1 parent 4ea4c39 commit b6b1f2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions win-build-llvm.bat
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ IF EXIST %_LLVM_INST_DIR% RD /S /Q %_LLVM_INST_DIR%
SET _CMAKE_TOOLCHAIN_HOST=
IF /I "%_TARGET_ARCH%" == "x64" (
SET _TARGET_ARCH= Win64
SET _CMAKE_TOOLCHAIN_HOST=-Thost=x64
SET _CMAKE_TOOLCHAIN_HOST= -Thost=x64
) ELSE (
SET _TARGET_ARCH=
)
SET _CMAKE_CMD=-G "Visual Studio 15%_TARGET_ARCH%" %_CMAKE_TOOLCHAIN_HOST% -DLLVM_USE_CRT_RELEASE=MT -DLLVM_USE_CRT_DEBUG=MTd -DCMAKE_INSTALL_PREFIX=%_LLVM_INST_DIR% .
SET _CMAKE_CMD=-G "Visual Studio 15%_TARGET_ARCH%"%_CMAKE_TOOLCHAIN_HOST% -DCMAKE_BUILD_TYPE=Release -DLLVM_USE_CRT_RELEASE=MT -DLLVM_USE_CRT_DEBUG=MTd -DBUILD_SHARED_LIBS=On -DCMAKE_INSTALL_PREFIX=%_LLVM_INST_DIR% .
CD /D %_LLVM_SRC_DIR%
cmake %_CMAKE_CMD%
IF %ERRORLEVEL% NEQ 0 ECHO Something wrong happened, please check the log file && GOTO Fin
Expand Down

0 comments on commit b6b1f2c

Please sign in to comment.