rocmPackages_5.clr: patch ICD vendor path

This commit is contained in:
Ryan Hendrickson 2024-06-08 17:49:02 -04:00
parent f39d9e871a
commit 58fab37168

View File

@ -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 = ''