CI: build windows clang-cl

This commit is contained in:
Megamouse
2025-06-13 02:05:15 +02:00
parent c69d7bc758
commit 67a4b020fc
12 changed files with 338 additions and 24 deletions
+8 -3
View File
@@ -58,9 +58,14 @@ if(WITH_LLVM)
else()
message(STATUS "Using prebuilt or system LLVM")
if (LLVM_DIR AND NOT IS_ABSOLUTE "${LLVM_DIR}")
# change relative LLVM_DIR to be relative to the source dir
set(LLVM_DIR ${CMAKE_SOURCE_DIR}/${LLVM_DIR})
if (LLVM_DIR)
message(STATUS "LLVM_DIR: ${LLVM_DIR}")
if (NOT IS_ABSOLUTE "${LLVM_DIR}")
# change relative LLVM_DIR to be relative to the source dir
set(LLVM_DIR ${CMAKE_SOURCE_DIR}/${LLVM_DIR})
message(STATUS "Changed LLVM_DIR to relative path: ${LLVM_DIR}")
endif()
endif()
find_package(LLVM CONFIG)