diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2024-06-24 18:00:57 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-24 18:00:57 +0000 |
commit | 42ca786b66a34010edfbc5352a943a686d1d2cc1 (patch) | |
tree | 526225ea299ce9370461ab328bd0d35ef6850be2 /pkgs/development/rocm-modules/5 | |
parent | 7d5bc724b0b78eb59ebfe2cccb9dd6ffd1271e08 (diff) | |
parent | e1f89770af6dce5bef6c79924dc827424c103cbf (diff) |
Merge master into staging-next
Diffstat (limited to 'pkgs/development/rocm-modules/5')
-rw-r--r-- | pkgs/development/rocm-modules/5/clr/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/rocm-modules/5/clr/default.nix b/pkgs/development/rocm-modules/5/clr/default.nix index 0c702dace2b81..49857e9d26f5a 100644 --- a/pkgs/development/rocm-modules/5/clr/default.nix +++ b/pkgs/development/rocm-modules/5/clr/default.nix @@ -114,6 +114,10 @@ in stdenv.mkDerivation (finalAttrs: { substituteInPlace hipamd/src/hip_embed_pch.sh \ --replace "\''$LLVM_DIR/bin/clang" "${clang}/bin/clang" + + substituteInPlace opencl/khronos/icd/loader/icd_platform.h \ + --replace-fail '#define ICD_VENDOR_PATH "/etc/OpenCL/vendors/";' \ + '#define ICD_VENDOR_PATH "/run/opengl-driver/etc/OpenCL/vendors/";' ''; postInstall = '' |