Use 15.0.6 on windows. Exclude 14 on linux. Update docker build.

This commit is contained in:
Christoffer Lerno
2023-01-11 00:30:33 +01:00
committed by Christoffer Lerno
parent da65de2d01
commit aded1cb736
5 changed files with 16 additions and 12 deletions

View File

@@ -57,11 +57,11 @@ if(CMAKE_C_COMPILER_ID STREQUAL "MSVC")
endif()
FetchContent_Declare(
LLVM_Windows
URL https://github.com/c3lang/win-llvm/releases/download/llvm1406/llvm-14.0.6-windows-amd64-msvc17-libcmt.7z
URL https://github.com/c3lang/win-llvm/releases/download/llvm_15_0_6/llvm-15.0.6-windows-amd64-msvc17-libcmt.7z
)
FetchContent_Declare(
LLVM_Windows_debug
URL https://github.com/c3lang/win-llvm/releases/download/llvm1406/llvm-14.0.6-windows-amd64-msvc17-libcmt-dbg.7z
URL https://github.com/c3lang/win-llvm/releases/download/llvm_15_0_6/llvm-15.0.6-windows-amd64-msvc17-libcmt-dbg.7z
)
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
message("Loading Windows LLVM debug libraries, this may take a while...")