aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/llvm/path-system-libraries.patch
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-08-28 13:04:05 +0900
committerOphestra <cat@gensokyo.uk>2026-08-28 13:04:05 +0900
commit93c01ab6b82fd6b17d5328e7e2f7eeca7f13441b (patch)
tree614c3ca8ae9d42cae7d1a2c318966942e0e4624b /internal/rosa/package/llvm/path-system-libraries.patch
parent2fa116691dcf00c90ce3c5ed9c32db67b5804c10 (diff)
internal/rosa/package/llvm: 22.1.8 to 23.1.0
libclc is removed from the LLVM package and will be re-added as a separate package. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/package/llvm/path-system-libraries.patch')
-rw-r--r--internal/rosa/package/llvm/path-system-libraries.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/internal/rosa/package/llvm/path-system-libraries.patch b/internal/rosa/package/llvm/path-system-libraries.patch
index fbe46def..a8eb8d4e 100644
--- a/internal/rosa/package/llvm/path-system-libraries.patch
+++ b/internal/rosa/package/llvm/path-system-libraries.patch
@@ -1,8 +1,8 @@
diff --git a/clang/lib/Driver/ToolChains/Gnu.cpp b/clang/lib/Driver/ToolChains/Gnu.cpp
-index cb6a9b242421..b8d31690d1af 100644
+index 24076d881432..75a3a4735451 100644
--- a/clang/lib/Driver/ToolChains/Gnu.cpp
+++ b/clang/lib/Driver/ToolChains/Gnu.cpp
-@@ -2314,6 +2314,10 @@ void Generic_GCC::GCCInstallationDetector::AddDefaultGCCPrefixes(
+@@ -2315,6 +2315,10 @@ void Generic_GCC::GCCInstallationDetector::AddDefaultGCCPrefixes(
Prefixes.push_back("/opt/rh/devtoolset-2/root/usr");
}
@@ -14,10 +14,10 @@ index cb6a9b242421..b8d31690d1af 100644
Prefixes.push_back(concat(SysRoot, "/usr"));
}
diff --git a/clang/lib/Driver/ToolChains/Linux.cpp b/clang/lib/Driver/ToolChains/Linux.cpp
-index d525b417b4ea..2b93f401733e 100644
+index 8d30a5ead3bb..e33f2de64543 100644
--- a/clang/lib/Driver/ToolChains/Linux.cpp
+++ b/clang/lib/Driver/ToolChains/Linux.cpp
-@@ -302,6 +302,7 @@ Linux::Linux(const Driver &D, const llvm::Triple &Triple, const ArgList &Args)
+@@ -306,6 +306,7 @@ Linux::Linux(const Driver &D, const llvm::Triple &Triple, const ArgList &Args)
const bool IsHexagon = Arch == llvm::Triple::hexagon;
const bool IsRISCV = Triple.isRISCV();
const bool IsCSKY = Triple.isCSKY();
@@ -25,7 +25,7 @@ index d525b417b4ea..2b93f401733e 100644
if (IsCSKY && !SelectedMultilibs.empty())
SysRoot = SysRoot + SelectedMultilibs.back().osSuffix();
-@@ -341,8 +342,12 @@ Linux::Linux(const Driver &D, const llvm::Triple &Triple, const ArgList &Args)
+@@ -345,8 +346,12 @@ Linux::Linux(const Driver &D, const llvm::Triple &Triple, const ArgList &Args)
// used. We need add both libo32 and /lib.
if (Arch == llvm::Triple::mips || Arch == llvm::Triple::mipsel) {
Generic_GCC::AddMultilibPaths(D, SysRoot, "libo32", MultiarchTriple, Paths);
@@ -40,7 +40,7 @@ index d525b417b4ea..2b93f401733e 100644
}
Generic_GCC::AddMultilibPaths(D, SysRoot, OSLibDir, MultiarchTriple, Paths);
-@@ -360,18 +365,30 @@ Linux::Linux(const Driver &D, const llvm::Triple &Triple, const ArgList &Args)
+@@ -364,18 +369,30 @@ Linux::Linux(const Driver &D, const llvm::Triple &Triple, const ArgList &Args)
Paths);
}
@@ -76,7 +76,7 @@ index d525b417b4ea..2b93f401733e 100644
}
ToolChain::RuntimeLibType Linux::GetDefaultRuntimeLibType() const {
-@@ -572,6 +589,9 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const {
+@@ -579,6 +596,9 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const {
return Triple.isArch64Bit() ? "/system/bin/linker64" : "/system/bin/linker";
}
if (Triple.isMusl()) {