summaryrefslogtreecommitdiff
path: root/eclass/ada.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-01 01:26:02 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-01 01:26:02 +0100
commit95ce69d324747e9aa715e1761abab42204529b28 (patch)
treef8e54fe81e25cbaad4488f279c349318b2c18b87 /eclass/ada.eclass
parentf16e0a3eea2c1d2e5c495ed1802dea365b4fda4b (diff)
gentoo auto-resync : 01:10:2024 - 01:26:02
Diffstat (limited to 'eclass/ada.eclass')
-rw-r--r--eclass/ada.eclass16
1 files changed, 12 insertions, 4 deletions
diff --git a/eclass/ada.eclass b/eclass/ada.eclass
index 3c3fa3c01453..faff19a6ac85 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]"
;;
*)