aboutsummaryrefslogtreecommitdiff
path: root/sys-devel/llvm-roc/files/llvm-roc-4.0.0-remove-isystem-usr-include.patch
diff options
context:
space:
mode:
authorJulien Roy <julien@jroy.ca>2022-03-07 22:20:21 -0500
committerJulien Roy <julien@jroy.ca>2022-03-07 22:20:21 -0500
commit4865f2f08d67cdb76bf12dd39b2c8f0581b68ddc (patch)
tree8c33748225589dbe02819a5081f01271412b9b3e /sys-devel/llvm-roc/files/llvm-roc-4.0.0-remove-isystem-usr-include.patch
parent86527ffe988b2e4e0d3697d609a94336a88e3105 (diff)
downloadMrRoy-Overlay-4865f2f08d67cdb76bf12dd39b2c8f0581b68ddc.tar.gz
MrRoy-Overlay-4865f2f08d67cdb76bf12dd39b2c8f0581b68ddc.tar.bz2
MrRoy-Overlay-4865f2f08d67cdb76bf12dd39b2c8f0581b68ddc.zip
Removed abandoned ebuilds
Diffstat (limited to 'sys-devel/llvm-roc/files/llvm-roc-4.0.0-remove-isystem-usr-include.patch')
-rw-r--r--sys-devel/llvm-roc/files/llvm-roc-4.0.0-remove-isystem-usr-include.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/sys-devel/llvm-roc/files/llvm-roc-4.0.0-remove-isystem-usr-include.patch b/sys-devel/llvm-roc/files/llvm-roc-4.0.0-remove-isystem-usr-include.patch
deleted file mode 100644
index f14ec4a..0000000
--- a/sys-devel/llvm-roc/files/llvm-roc-4.0.0-remove-isystem-usr-include.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Author: Wilfried (justxi) Holzke
-
-Adopted from https://github.com/justxi/rocm/blob/master/sys-devel/llvm-roc/files/llvm-roc-4.0.0-remove-isystem-usr-include.patch
-
-Index: llvm-project-rocm-4.0.0/clang/lib/Driver/ToolChains/AMDGPU.cpp
-===================================================================
---- llvm-project-rocm-4.0.0.orig/clang/lib/Driver/ToolChains/AMDGPU.cpp
-+++ llvm-project-rocm-4.0.0/clang/lib/Driver/ToolChains/AMDGPU.cpp
-@@ -326,11 +326,6 @@ void RocmInstallationDetector::AddHIPInc
- //
- // ROCm 3.5 does not fully support the wrapper headers. Therefore it needs
- // a workaround.
-- SmallString<128> P(D.ResourceDir);
-- if (UsesRuntimeWrapper)
-- llvm::sys::path::append(P, "include", "cuda_wrappers");
-- CC1Args.push_back("-internal-isystem");
-- CC1Args.push_back(DriverArgs.MakeArgString(P));
- }
-
- if (DriverArgs.hasArg(options::OPT_nogpuinc))
-@@ -341,8 +336,6 @@ void RocmInstallationDetector::AddHIPInc
- return;
- }
-
-- CC1Args.push_back("-internal-isystem");
-- CC1Args.push_back(DriverArgs.MakeArgString(getIncludePath()));
- if (UsesRuntimeWrapper)
- CC1Args.append({"-include", "__clang_hip_runtime_wrapper.h"});
- }