about summary refs log tree commit diff
path: root/pkgs/development/compilers/llvm
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2024-03-12 18:46:55 +0100
committerGitHub <noreply@github.com>2024-03-12 18:46:55 +0100
commitb35fc0188b2c285dcd431cb87ee35e31dfaa1461 (patch)
tree29ad5d6fd1854e441952f0202116019e9efcbeb9 /pkgs/development/compilers/llvm
parente1439b579bd76f625e71d2f1b51081037b215fe2 (diff)
parentc9f6ba9f182f75c5475bf71313f70f37546e3190 (diff)
Merge pull request #295139 from wegank/libclc-bump
spirv-llvm-translator: add llvm 18 support
Diffstat (limited to 'pkgs/development/compilers/llvm')
-rw-r--r--pkgs/development/compilers/llvm/git/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/compilers/llvm/git/default.nix b/pkgs/development/compilers/llvm/git/default.nix
index 45a16b5e09eb7..f968ebecb2c8e 100644
--- a/pkgs/development/compilers/llvm/git/default.nix
+++ b/pkgs/development/compilers/llvm/git/default.nix
@@ -274,6 +274,12 @@ in let
       nixSupport.cc-cflags = [ "-fno-exceptions" ];
     });
 
+    # Has to be in tools despite mostly being a library,
+    # because we use a native helper executable from a
+    # non-cross build in cross builds.
+    libclc = callPackage ../common/libclc.nix {
+      inherit buildLlvmTools;
+    };
   });
 
   libraries = lib.makeExtensible (libraries: let