summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/ada.eclass19
-rw-r--r--profiles/arch/x86/use.stable.mask4
-rw-r--r--profiles/base/use.stable.mask4
-rw-r--r--profiles/desc/ada_target.desc1
4 files changed, 9 insertions, 19 deletions
diff --git a/eclass/ada.eclass b/eclass/ada.eclass
index a5cb9b297ee5..e5b62951917a 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=(
- gnat_2021 gcc_12
+ gnat_2021 gcc_12 gcc_13
)
readonly _ADA_ALL_IMPLS
@@ -119,10 +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
- gnat_2021)
- return 0
- ;;
- gcc_12)
+ gnat_2021|gcc_12|gcc_13)
return 0
;;
*)
@@ -216,11 +213,7 @@ ada_export() {
local impl var
case "${1}" in
- gnat_2021)
- impl=${1}
- shift
- ;;
- gcc_12)
+ gnat_2021|gcc_12|gcc_13)
impl=${1}
shift
;;
@@ -244,6 +237,10 @@ ada_export() {
gcc_pv=12
slot=12
;;
+ gcc_13)
+ gcc_pv=13
+ slot=13
+ ;;
*)
gcc_pv="9.9.9"
slot=9.9.9
@@ -293,7 +290,7 @@ ada_export() {
gnat_2021)
ADA_PKG_DEP="dev-lang/gnat-gpl:${slot}[ada]"
;;
- gcc_12)
+ gcc_12|gcc_13)
ADA_PKG_DEP="sys-devel/gcc:${slot}[ada]"
;;
*)
diff --git a/profiles/arch/x86/use.stable.mask b/profiles/arch/x86/use.stable.mask
index 5b5cab87da95..29e2b97d388e 100644
--- a/profiles/arch/x86/use.stable.mask
+++ b/profiles/arch/x86/use.stable.mask
@@ -4,10 +4,6 @@
# This file requires eapi 5 or later. New entries go on top.
# Please use the same syntax as in use.mask
-# Alfredo Tupone <tupone@gentoo.org> (2023-2-2)
-# sys-devel/gcc:12 is not stable yet on x86
-ada_target_gcc_12
-
# Sam James <sam@gentoo.org> (2020-11-10)
# media-gfx/openvdb is not stable on x86
# ... and has failing tests right now anyway
diff --git a/profiles/base/use.stable.mask b/profiles/base/use.stable.mask
index 081309139fbd..1afeb5e46110 100644
--- a/profiles/base/use.stable.mask
+++ b/profiles/base/use.stable.mask
@@ -17,10 +17,6 @@ python_single_target_python3_12
# PHP 8.2 is in testing
php_targets_php8-2
-# Alfredo Tupone <tupone@gentoo.org> (2022-12-04)
-# sys-devel/gcc:12 is not stable yet
-ada_target_gcc_12_2_0
-
# Sergei Trofimovich <slyfox@gentoo.org> (2020-04-13)
# dev-vcs/darcs (dev-lang/ghc) has no stable keywords.
darcs
diff --git a/profiles/desc/ada_target.desc b/profiles/desc/ada_target.desc
index 3b4430fae688..005be2d73640 100644
--- a/profiles/desc/ada_target.desc
+++ b/profiles/desc/ada_target.desc
@@ -3,3 +3,4 @@
gnat_2021 - Compile with dev-lang/gnat-gpl-2021
gcc_12 - Compile with sys-devel/gcc:12
+gcc_13 - Compile with sys-devel/gcc:13