Skip to content

Commit d59b71c

Browse files
FIX Fixing critical issue in windows building.
1 parent 7c29512 commit d59b71c

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

targets/x86_64-pc-windows-libcmt/install.bat

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ goto :eof
4848
echo set_target_properties(llvm-config PROPERTIES EXCLUDE_FROM_ALL FALSE) >> %WORKING_DIR%\llvm\tools\llvm-config\CMakeLists.txt
4949
echo install(TARGETS llvm-config RUNTIME DESTINATION bin) >> %WORKING_DIR%\llvm\tools\llvm-config\CMakeLists.txt
5050

51-
perl pdb-patch.pl %WORKING_DIR%\llvm\cmake\modules\AddLLVM.cmake
51+
perl targets/x86_64-pc-windows-libcmt/pdb-patch.pl %WORKING_DIR%\llvm\cmake\modules\AddLLVM.cmake
5252

5353
goto :eof
5454

@@ -76,10 +76,10 @@ if /i "%BUILD_MASTER%" == "true" (
7676
)
7777
)
7878

79-
perl compare-versions.pl %LLVM_VERSION% 11
79+
perl targets/x86_64-pc-windows-libcmt/compare-versions.pl %LLVM_VERSION% 11
8080
if %errorlevel% == -1 goto nobigobj
8181

82-
perl compare-versions.pl %LLVM_VERSION% 12
82+
perl targets/x86_64-pc-windows-libcmt/compare-versions.pl %LLVM_VERSION% 12
8383
if not %errorlevel% == -1 goto nobigobj
8484

8585
:: clang-11 requires /bigobj (fixed in clang-12)

targets/x86_64-pc-windows-libcmt/set-env.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ set LLVM_CMAKELISTS_URL=https://raw.githubusercontent.com/llvm/llvm-project/main
101101

102102
if /i "%BUILD_MASTER%" == "true" (
103103
powershell "Invoke-WebRequest -Uri %LLVM_CMAKELISTS_URL% -OutFile CMakeLists.txt"
104-
for /f %%i in ('perl windows/print-llvm-version.pl CMakeLists.txt') do set LLVM_VERSION=%%i
104+
for /f %%i in ('perl targets/x86_64-pc-windows-libcmt/print-llvm-version.pl CMakeLists.txt') do set LLVM_VERSION=%%i
105105
set LLVM_RELEASE_TAG=llvm-master
106106
)
107107

0 commit comments

Comments
 (0)