From e9473ed49b20e4bf95309357cbd77353bdfbbf66 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Tue, 5 Apr 2022 13:27:09 +0200 Subject: gnu: LLVM, Clang: Add 14.0.0. * gnu/packages/llvm.scm (%llvm-monorepo-hashes, %llvm-patches, llvm-monorepo): New variables. (clang-runtime-from-llvm): Make HASH optional; use monorepo when not present. (clang-from-llvm): Likewise. (llvm-14, clang-runtime-14, clang-14, clang-toolchain-14, lld-14): New variables. (llvm-13): Inherit from LLVM-14. (lld-13): Inherit from LLD-14. (lld): Turn into alias for LLD-14. * gnu/packages/patches/clang-14.0-libc-search-path.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/zig.scm (zig): Change from LLD to LLD-13. --- gnu/packages/zig.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/zig.scm') diff --git a/gnu/packages/zig.scm b/gnu/packages/zig.scm index fd907bc502..9e99fdb857 100644 --- a/gnu/packages/zig.scm +++ b/gnu/packages/zig.scm @@ -43,7 +43,7 @@ (build-system cmake-build-system) (inputs (list clang-13 ; Clang propagates llvm. - lld)) + lld-13)) ;; Zig compiles fine with GCC, but also needs native LLVM libraries. (native-inputs (list llvm-13)) -- cgit v1.2.3