mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
Add gcc_14 and gcc_15 to the list of ada compilers
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
@@ -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]"
|
||||
;;
|
||||
*)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user