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 \
|
substituteInPlace hipamd/src/hip_embed_pch.sh \
|
||||||
--replace "\''$LLVM_DIR/bin/clang" "${clang}/bin/clang"
|
--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 = ''
|
postInstall = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user