commit: f241681e909f679fa67b9ced5acb4eeef75a6e03
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 2 05:29:36 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Dec 3 01:11:04 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f241681e
profiles: add ada_target_gcc_16
Signed-off-by: Sam James <sam <AT> gentoo.org>
eclass/ada.eclass | 12 ++++++++----
profiles/base/use.mask | 4 ++++
profiles/desc/ada_target.desc | 1 +
3 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/eclass/ada.eclass b/eclass/ada.eclass
index 2732b4f57afd..2f68727c519b 100644
--- a/eclass/ada.eclass
+++ b/eclass/ada.eclass
@@ -57,7 +57,7 @@ _ADA_ECLASS=1
# @DESCRIPTION:
# All supported Ada implementations, most preferred last.
_ADA_ALL_IMPLS=(
- gcc_12 gcc_13 gcc_14 gcc_15
+ gcc_12 gcc_13 gcc_14 gcc_15 gcc_16
)
readonly _ADA_ALL_IMPLS
@@ -119,7 +119,7 @@ _ada_impl_supported() {
# keep in sync with _ADA_ALL_IMPLS!
# (not using that list because inline patterns shall be faster)
case "${impl}" in
- gcc_12|gcc_13|gcc_14|gcc_15)
+ gcc_12|gcc_13|gcc_14|gcc_15|gcc_16)
return 0
;;
*)
@@ -213,7 +213,7 @@ ada_export() {
local impl var
case "${1}" in
- gcc_12|gcc_13|gcc_14|gcc_15)
+ gcc_12|gcc_13|gcc_14|gcc_15|gcc_16)
impl=${1}
shift
;;
@@ -245,6 +245,10 @@ ada_export() {
gcc_pv=15
slot=15
;;
+ gcc_16)
+ gcc_pv=16
+ slot=16
+ ;;
*)
gcc_pv="9.9.9"
slot=9.9.9
@@ -295,7 +299,7 @@ ada_export() {
;;
ADA_PKG_DEP)
case "${impl}" in
- gcc_12|gcc_13|gcc_14|gcc_15)
+ gcc_12|gcc_13|gcc_14|gcc_15|gcc_16)
ADA_PKG_DEP="sys-devel/gcc:${slot}[ada]"
;;
*)
diff --git a/profiles/base/use.mask b/profiles/base/use.mask
index b02c40e18837..c4620e1f9dfd 100644
--- a/profiles/base/use.mask
+++ b/profiles/base/use.mask
@@ -4,6 +4,10 @@
# This file is only for generic masks. For arch-specific masks (i.e.
# mask everywhere, unmask on arch/*) use arch/base.
+# Sam James <[email protected]> (2025-12-02)
+# GCC 16 is not yet released
+ada_target_gcc_16
+
# Sam James <[email protected]> (2025-04-19)
# Ruby 3.1 is no longer supported upstream and will no longer
# receive security updates.
diff --git a/profiles/desc/ada_target.desc b/profiles/desc/ada_target.desc
index 315ccd216204..d85a3f2f9c9c 100644
--- a/profiles/desc/ada_target.desc
+++ b/profiles/desc/ada_target.desc
@@ -5,3 +5,4 @@ gcc_12 - Compile with sys-devel/gcc:12
gcc_13 - Compile with sys-devel/gcc:13
gcc_14 - Compile with sys-devel/gcc:14
gcc_15 - Compile with sys-devel/gcc:15
+gcc_16 - Compile with sys-devel/gcc:16