diff --git a/eclass/ada.eclass b/eclass/ada.eclass index 3c3fa3c014539..faff19a6ac857 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 gcc_13 + gnat_2021 gcc_12 gcc_13 gcc_14 gcc_15 ) 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 - gnat_2021|gcc_12|gcc_13) + gnat_2021|gcc_12|gcc_13|gcc_14|gcc_15) return 0 ;; *) @@ -213,7 +213,7 @@ ada_export() { local impl var case "${1}" in - gnat_2021|gcc_12|gcc_13) + gnat_2021|gcc_12|gcc_13|gcc_14|gcc_15) impl=${1} shift ;; @@ -241,6 +241,14 @@ ada_export() { gcc_pv=13 slot=13 ;; + gcc_14) + gcc_pv=14 + slot=14 + ;; + gcc_15) + gcc_pv=15 + slot=15 + ;; *) gcc_pv="9.9.9" slot=9.9.9 @@ -294,7 +302,7 @@ ada_export() { gnat_2021) ADA_PKG_DEP="dev-lang/gnat-gpl:${slot}[ada]" ;; - gcc_12|gcc_13) + gcc_12|gcc_13|gcc_14|gcc_15) ADA_PKG_DEP="sys-devel/gcc:${slot}[ada]" ;; *) diff --git a/profiles/desc/ada_target.desc b/profiles/desc/ada_target.desc index 005be2d73640b..d9b797cfb6613 100644 --- a/profiles/desc/ada_target.desc +++ b/profiles/desc/ada_target.desc @@ -1,6 +1,8 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 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 +gcc_14 - Compile with sys-devel/gcc:14 +gcc_15 - Compile with sys-devel/gcc:15