summaryrefslogtreecommitdiff
path: root/dev-libs/rocm-comgr/files/rocm-comgr-5.3.3-HIPIncludePath-not-needed.patch
blob: 54b98726026fccd3a9ec41fa4d8e4da744e437a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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;