diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-05-09 01:52:26 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-05-09 01:52:26 -0700 |
| commit | bcb534c295d5cc6fd63caa570cc08e6b148a507c (patch) | |
| tree | 0b17cb1e632d894f50f25e550d5113f232b0e877 /build.zig | |
| parent | d9b00ee4ba48717ff6b306a6f9419e7b604ac04b (diff) | |
| parent | 74f52954b9cb40d59d80b839b45bb859146731a7 (diff) | |
| download | zig-bcb534c295d5cc6fd63caa570cc08e6b148a507c.tar.gz zig-bcb534c295d5cc6fd63caa570cc08e6b148a507c.zip | |
Merge branch 'llvm18'
Upgrades the LLVM, Clang, and LLD dependencies to LLVM 18.x
Related to #16270
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -334,6 +334,9 @@ pub fn build(b: *std.Build) !void { } if (target.result.os.tag == .windows) { inline for (.{ exe, check_case_exe }) |artifact| { + // LLVM depends on networking as of version 18. + artifact.linkSystemLibrary("ws2_32"); + artifact.linkSystemLibrary("version"); artifact.linkSystemLibrary("uuid"); artifact.linkSystemLibrary("ole32"); @@ -650,7 +653,7 @@ const exe_cflags = [_][]const u8{ "-fvisibility-inlines-hidden", "-fno-exceptions", "-fno-rtti", - "-Werror=type-limits", + "-Wno-type-limits", "-Wno-missing-braces", "-Wno-comment", }; @@ -1039,6 +1042,7 @@ const clang_libs = [_][]const u8{ "clangAST", "clangParse", "clangSema", + "clangAPINotes", "clangBasic", "clangEdit", "clangLex", @@ -1068,6 +1072,7 @@ const llvm_libs = [_][]const u8{ "LLVMXRay", "LLVMLibDriver", "LLVMDlltoolDriver", + "LLVMTextAPIBinaryReader", "LLVMCoverage", "LLVMLineEditor", "LLVMXCoreDisassembler", @@ -1169,6 +1174,7 @@ const llvm_libs = [_][]const u8{ "LLVMAArch64Desc", "LLVMAArch64Utils", "LLVMAArch64Info", + "LLVMOrcDebugging", "LLVMOrcJIT", "LLVMWindowsDriver", "LLVMMCJIT", @@ -1188,6 +1194,7 @@ const llvm_libs = [_][]const u8{ "LLVMMCDisassembler", "LLVMLTO", "LLVMPasses", + "LLVMHipStdPar", "LLVMCFGuard", "LLVMCoroutines", "LLVMipo", @@ -1195,10 +1202,13 @@ const llvm_libs = [_][]const u8{ "LLVMLinker", "LLVMInstrumentation", "LLVMFrontendOpenMP", + "LLVMFrontendOffloading", "LLVMFrontendOpenACC", "LLVMFrontendHLSL", + "LLVMFrontendDriver", "LLVMExtensions", "LLVMDWARFLinkerParallel", + "LLVMDWARFLinkerClassic", "LLVMDWARFLinker", "LLVMGlobalISel", "LLVMMIRParser", |
