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-11 23:28:21 +0100
committerWeijia Wang <9713184+wegank@users.noreply.github.com>2024-03-11 23:28:21 +0100
commitc9f6ba9f182f75c5475bf71313f70f37546e3190 (patch)
treeaf171ff10994e796debf0d69fbdfd28046ce311e /pkgs/development/compilers/llvm
parent1742313d1005466d2932326ccb5ed1108a3f6d31 (diff)
llvmPackages_git.libclc: init
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 1efaa0402fc71..e8a9089035c36 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