mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-05 11:44:02 +00:00
rocmPackages_5.clr: patch ICD vendor path
This commit is contained in:
parent
f39d9e871a
commit
58fab37168
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user