[clang] [clang] Updating to include gcc-toolsets 13 and 14 (PR #128438)
roadswitcher wrote: | I suspect that this change may be about people building their own clang (not the one RHEL ships) and wanting to use GCC toolset. Sorry, I should have been more specific in my original comment. Yes, we are building LLVM 19 from source along with a number of other tools/libraries and are trying to standardize on using the most recent gcc-toolset available to us in the process. https://github.com/llvm/llvm-project/pull/128438 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] [clang] Updating to include gcc-toolsets 13 and 14 (PR #128438)
https://github.com/roadswitcher updated https://github.com/llvm/llvm-project/pull/128438 >From a0eb0bcc139d23294f8013da2dcc15adcaa8ef55 Mon Sep 17 00:00:00 2001 From: Bill Blum Date: Sun, 23 Feb 2025 16:54:11 -0500 Subject: [PATCH] Updating to include gcc-toolsets 13 and 14 since they are now generally available. --- clang/lib/Driver/ToolChains/Gnu.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clang/lib/Driver/ToolChains/Gnu.cpp b/clang/lib/Driver/ToolChains/Gnu.cpp index f56eeda3cb5f6..b95fb379f9b0e 100644 --- a/clang/lib/Driver/ToolChains/Gnu.cpp +++ b/clang/lib/Driver/ToolChains/Gnu.cpp @@ -2381,6 +2381,8 @@ void Generic_GCC::GCCInstallationDetector::AddDefaultGCCPrefixes( D.getVFS().exists("/opt/rh")) { // TODO: We may want to remove this, since the functionality // can be achieved using config files. +Prefixes.push_back("/opt/rh/gcc-toolset-14/root/usr"); +Prefixes.push_back("/opt/rh/gcc-toolset-13/root/usr"); Prefixes.push_back("/opt/rh/gcc-toolset-12/root/usr"); Prefixes.push_back("/opt/rh/gcc-toolset-11/root/usr"); Prefixes.push_back("/opt/rh/gcc-toolset-10/root/usr"); ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] [clang] Updating to include gcc-toolsets 13 and 14 (PR #128438)
https://github.com/roadswitcher updated https://github.com/llvm/llvm-project/pull/128438 >From a0eb0bcc139d23294f8013da2dcc15adcaa8ef55 Mon Sep 17 00:00:00 2001 From: Bill Blum Date: Sun, 23 Feb 2025 16:54:11 -0500 Subject: [PATCH] Updating to include gcc-toolsets 13 and 14 since they are now generally available. --- clang/lib/Driver/ToolChains/Gnu.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clang/lib/Driver/ToolChains/Gnu.cpp b/clang/lib/Driver/ToolChains/Gnu.cpp index f56eeda3cb5f6..b95fb379f9b0e 100644 --- a/clang/lib/Driver/ToolChains/Gnu.cpp +++ b/clang/lib/Driver/ToolChains/Gnu.cpp @@ -2381,6 +2381,8 @@ void Generic_GCC::GCCInstallationDetector::AddDefaultGCCPrefixes( D.getVFS().exists("/opt/rh")) { // TODO: We may want to remove this, since the functionality // can be achieved using config files. +Prefixes.push_back("/opt/rh/gcc-toolset-14/root/usr"); +Prefixes.push_back("/opt/rh/gcc-toolset-13/root/usr"); Prefixes.push_back("/opt/rh/gcc-toolset-12/root/usr"); Prefixes.push_back("/opt/rh/gcc-toolset-11/root/usr"); Prefixes.push_back("/opt/rh/gcc-toolset-10/root/usr"); ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] [clang] Updating to include gcc-toolsets 13 and 14 (PR #128438)
https://github.com/roadswitcher updated https://github.com/llvm/llvm-project/pull/128438 >From ed6298c9cf0a778411067d7a10c9a9c54fbb6266 Mon Sep 17 00:00:00 2001 From: Bill Blum Date: Sun, 23 Feb 2025 16:54:11 -0500 Subject: [PATCH] Updating to include gcc-toolsets 13 and 14 since they are now generally available. --- clang/lib/Driver/ToolChains/Gnu.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clang/lib/Driver/ToolChains/Gnu.cpp b/clang/lib/Driver/ToolChains/Gnu.cpp index f56eeda3cb5f6..b95fb379f9b0e 100644 --- a/clang/lib/Driver/ToolChains/Gnu.cpp +++ b/clang/lib/Driver/ToolChains/Gnu.cpp @@ -2381,6 +2381,8 @@ void Generic_GCC::GCCInstallationDetector::AddDefaultGCCPrefixes( D.getVFS().exists("/opt/rh")) { // TODO: We may want to remove this, since the functionality // can be achieved using config files. +Prefixes.push_back("/opt/rh/gcc-toolset-14/root/usr"); +Prefixes.push_back("/opt/rh/gcc-toolset-13/root/usr"); Prefixes.push_back("/opt/rh/gcc-toolset-12/root/usr"); Prefixes.push_back("/opt/rh/gcc-toolset-11/root/usr"); Prefixes.push_back("/opt/rh/gcc-toolset-10/root/usr"); ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] [clang] Updating to include gcc-toolsets 13 and 14 (PR #128438)
https://github.com/roadswitcher created https://github.com/llvm/llvm-project/pull/128438 Updating clang/lib/Driver to detect the newer gcc-toolchain versions. ( submitted to llvm-commits mailing list ) >From a0eb0bcc139d23294f8013da2dcc15adcaa8ef55 Mon Sep 17 00:00:00 2001 From: Bill Blum Date: Sun, 23 Feb 2025 16:54:11 -0500 Subject: [PATCH] Updating to include gcc-toolsets 13 and 14 since they are now generally available. --- clang/lib/Driver/ToolChains/Gnu.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clang/lib/Driver/ToolChains/Gnu.cpp b/clang/lib/Driver/ToolChains/Gnu.cpp index f56eeda3cb5f6..b95fb379f9b0e 100644 --- a/clang/lib/Driver/ToolChains/Gnu.cpp +++ b/clang/lib/Driver/ToolChains/Gnu.cpp @@ -2381,6 +2381,8 @@ void Generic_GCC::GCCInstallationDetector::AddDefaultGCCPrefixes( D.getVFS().exists("/opt/rh")) { // TODO: We may want to remove this, since the functionality // can be achieved using config files. +Prefixes.push_back("/opt/rh/gcc-toolset-14/root/usr"); +Prefixes.push_back("/opt/rh/gcc-toolset-13/root/usr"); Prefixes.push_back("/opt/rh/gcc-toolset-12/root/usr"); Prefixes.push_back("/opt/rh/gcc-toolset-11/root/usr"); Prefixes.push_back("/opt/rh/gcc-toolset-10/root/usr"); ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] [clang] Updating to include gcc-toolsets 13 and 14 (PR #128438)
https://github.com/roadswitcher closed https://github.com/llvm/llvm-project/pull/128438 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] [clang] Updating to include gcc-toolsets 13 and 14 (PR #128438)
roadswitcher wrote: Closing on assumption there's a More Preferred way to build this with gcc-toolset. https://github.com/llvm/llvm-project/pull/128438 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits