Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
28 lines
892 B
Diff
28 lines
892 B
Diff
diff --git a/cmake/LLVM.cmake b/cmake/LLVM.cmake
|
|
index 3c7c1b54..7f66d6bd 100644
|
|
--- a/cmake/LLVM.cmake
|
|
+++ b/cmake/LLVM.cmake
|
|
@@ -7,7 +7,7 @@ function(llvm_target_from_components target_name)
|
|
${components}
|
|
)
|
|
add_library(${target_name} INTERFACE)
|
|
- target_link_libraries(${target_name} INTERFACE ${llvm_libs})
|
|
+ target_link_libraries(${target_name} INTERFACE LLVM)
|
|
target_include_directories(
|
|
${target_name}
|
|
SYSTEM
|
|
@@ -66,12 +66,7 @@ function(fetch_or_build_slang_llvm)
|
|
llvm_target_from_components(llvm-dep filecheck native orcjit)
|
|
clang_target_from_libs(
|
|
clang-dep
|
|
- clangBasic
|
|
- clangCodeGen
|
|
- clangDriver
|
|
- clangLex
|
|
- clangFrontend
|
|
- clangFrontendTool
|
|
+ clang-cpp
|
|
)
|
|
slang_add_target(
|
|
source/slang-llvm
|