From a3a8a266ef9893c981f328880d97aa20d76f2e2d Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Thu, 5 Sep 2024 09:07:10 -0700 Subject: [PATCH] add missing clang and llvm library listings --- build.zig | 4 ++++ cmake/Findclang.cmake | 1 + cmake/Findllvm.cmake | 2 ++ 3 files changed, 7 insertions(+) diff --git a/build.zig b/build.zig index 264cbe0405..731b825c07 100644 --- a/build.zig +++ b/build.zig @@ -1099,6 +1099,8 @@ const clang_libs = [_][]const u8{ "clangToolingCore", "clangExtractAPI", "clangSupport", + "clangInstallAPI", + "clangAST", }; const lld_libs = [_][]const u8{ "lldMinGW", @@ -1120,6 +1122,7 @@ const llvm_libs = [_][]const u8{ "LLVMTextAPIBinaryReader", "LLVMCoverage", "LLVMLineEditor", + "LLVMSandboxIR", "LLVMXCoreDisassembler", "LLVMXCoreCodeGen", "LLVMXCoreDesc", @@ -1255,6 +1258,7 @@ const llvm_libs = [_][]const u8{ "LLVMDWARFLinkerParallel", "LLVMDWARFLinkerClassic", "LLVMDWARFLinker", + "LLVMCodeGenData", "LLVMGlobalISel", "LLVMMIRParser", "LLVMAsmPrinter", diff --git a/cmake/Findclang.cmake b/cmake/Findclang.cmake index 6dbe13eccd..a95a8c903b 100644 --- a/cmake/Findclang.cmake +++ b/cmake/Findclang.cmake @@ -69,6 +69,7 @@ else() FIND_AND_ADD_CLANG_LIB(clangExtractAPI) FIND_AND_ADD_CLANG_LIB(clangSupport) FIND_AND_ADD_CLANG_LIB(clangInstallAPI) + FIND_AND_ADD_CLANG_LIB(clangAST) endif() if (MSVC) diff --git a/cmake/Findllvm.cmake b/cmake/Findllvm.cmake index 16a429fd28..5bc874ec42 100644 --- a/cmake/Findllvm.cmake +++ b/cmake/Findllvm.cmake @@ -200,6 +200,7 @@ else() FIND_AND_ADD_LLVM_LIB(LLVMTextAPIBinaryReader) FIND_AND_ADD_LLVM_LIB(LLVMCoverage) FIND_AND_ADD_LLVM_LIB(LLVMLineEditor) + FIND_AND_ADD_LLVM_LIB(LLVMSandboxIR) FIND_AND_ADD_LLVM_LIB(LLVMXCoreDisassembler) FIND_AND_ADD_LLVM_LIB(LLVMXCoreCodeGen) FIND_AND_ADD_LLVM_LIB(LLVMXCoreDesc) @@ -335,6 +336,7 @@ else() FIND_AND_ADD_LLVM_LIB(LLVMDWARFLinkerParallel) FIND_AND_ADD_LLVM_LIB(LLVMDWARFLinkerClassic) FIND_AND_ADD_LLVM_LIB(LLVMDWARFLinker) + FIND_AND_ADD_LLVM_LIB(LLVMCodeGenData) FIND_AND_ADD_LLVM_LIB(LLVMGlobalISel) FIND_AND_ADD_LLVM_LIB(LLVMMIRParser) FIND_AND_ADD_LLVM_LIB(LLVMAsmPrinter)