summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-05-10 12:00:34 +0000
committerYureka <yuka@yuka.dev>2023-05-19 09:18:41 +0200
commit99a83b49645c59a8ffed79b164909c1e75507015 (patch)
tree6184d4925f168181777df350b65d8c5b2e2fb3db
parentbefa52e2eea47866a9bd5ec65f33be277b3ee8e2 (diff)
downloadnixpkgs-99a83b49645c59a8ffed79b164909c1e75507015.tar
nixpkgs-99a83b49645c59a8ffed79b164909c1e75507015.tar.gz
nixpkgs-99a83b49645c59a8ffed79b164909c1e75507015.tar.bz2
nixpkgs-99a83b49645c59a8ffed79b164909c1e75507015.tar.lz
nixpkgs-99a83b49645c59a8ffed79b164909c1e75507015.tar.xz
nixpkgs-99a83b49645c59a8ffed79b164909c1e75507015.tar.zst
nixpkgs-99a83b49645c59a8ffed79b164909c1e75507015.zip
libclc: 15.0.7 -> 16.0.3
-rw-r--r--pkgs/development/libraries/libclc/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/libraries/libclc/default.nix b/pkgs/development/libraries/libclc/default.nix
index 647079ae2fb..7f1580bd107 100644
--- a/pkgs/development/libraries/libclc/default.nix
+++ b/pkgs/development/libraries/libclc/default.nix
@@ -7,22 +7,22 @@ in
 
 stdenv.mkDerivation rec {
   pname = "libclc";
-  version = "15.0.7";
+  version = "16.0.3";
 
   src = fetchFromGitHub {
     owner = "llvm";
     repo = "llvm-project";
     rev = "llvmorg-${version}";
-    sha256 = "sha256-wjuZQyXQ/jsmvy6y1aksCcEDXGBjuhpgngF3XQJ/T4s=";
+    hash = "sha256-paWwnoU3XMqreRgh9JbT1tDMTwq/ZL0ss3SJTteEGL0=";
   };
   sourceRoot = "source/libclc";
 
   # cmake expects all required binaries to be in the same place, so it will not be able to find clang without the patch
   postPatch = ''
     substituteInPlace CMakeLists.txt \
-      --replace 'find_program( LLVM_CLANG clang PATHS ''${LLVM_BINDIR} NO_DEFAULT_PATH )' \
+      --replace 'find_program( LLVM_CLANG clang PATHS ''${LLVM_TOOLS_BINARY_DIR} NO_DEFAULT_PATH )' \
                 'find_program( LLVM_CLANG clang PATHS "${clang-unwrapped}/bin" NO_DEFAULT_PATH )' \
-      --replace 'find_program( LLVM_SPIRV llvm-spirv PATHS ''${LLVM_BINDIR} NO_DEFAULT_PATH )' \
+      --replace 'find_program( LLVM_SPIRV llvm-spirv PATHS ''${LLVM_TOOLS_BINARY_DIR} NO_DEFAULT_PATH )' \
                 'find_program( LLVM_SPIRV llvm-spirv PATHS "${spirv-llvm-translator}/bin" NO_DEFAULT_PATH )'
   '';