diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-02 15:07:39 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-02 15:07:39 +0000 |
commit | 52895d302231ef73b105756d2781b2262638d566 (patch) | |
tree | 7a2e0cf7cae8995cbbb6f9ae807d5c49b4f2b77c /dev-libs/rocm-comgr/files/rocm-comgr-5.3.3-HIPIncludePath-not-needed.patch | |
parent | 68f980204de6c2d69eed8748edc90282879326a6 (diff) |
gentoo auto-resync : 02:02:2023 - 15:07:39
Diffstat (limited to 'dev-libs/rocm-comgr/files/rocm-comgr-5.3.3-HIPIncludePath-not-needed.patch')
-rw-r--r-- | dev-libs/rocm-comgr/files/rocm-comgr-5.3.3-HIPIncludePath-not-needed.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-libs/rocm-comgr/files/rocm-comgr-5.3.3-HIPIncludePath-not-needed.patch b/dev-libs/rocm-comgr/files/rocm-comgr-5.3.3-HIPIncludePath-not-needed.patch new file mode 100644 index 000000000000..54b98726026f --- /dev/null +++ b/dev-libs/rocm-comgr/files/rocm-comgr-5.3.3-HIPIncludePath-not-needed.patch @@ -0,0 +1,15 @@ +ROCM and HIPIncludePath is now /usr, which disturb the include order +=================================================================== +--- comgr.orig/src/comgr-compiler.cpp ++++ comgr/src/comgr-compiler.cpp +@@ -1010,10 +1010,6 @@ amd_comgr_status_t AMDGPUCompiler::addCo + Args.push_back("x86_64-unknown-linux-gnu"); + Args.push_back("--cuda-device-only"); + Args.push_back("-nogpulib"); +- Args.push_back("-isystem"); +- Args.push_back(ROCMIncludePath.c_str()); +- Args.push_back("-isystem"); +- Args.push_back(HIPIncludePath.c_str()); + break; + default: + return AMD_COMGR_STATUS_ERROR_INVALID_ARGUMENT; |