profiles: add ada_target_gcc_16

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2025-12-02 05:29:36 +00:00
parent db7309fb05
commit f241681e90
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
3 changed files with 13 additions and 4 deletions

View File

@ -57,7 +57,7 @@ _ADA_ECLASS=1
# @DESCRIPTION: # @DESCRIPTION:
# All supported Ada implementations, most preferred last. # All supported Ada implementations, most preferred last.
_ADA_ALL_IMPLS=( _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 readonly _ADA_ALL_IMPLS
@ -119,7 +119,7 @@ _ada_impl_supported() {
# keep in sync with _ADA_ALL_IMPLS! # keep in sync with _ADA_ALL_IMPLS!
# (not using that list because inline patterns shall be faster) # (not using that list because inline patterns shall be faster)
case "${impl}" in case "${impl}" in
gcc_12|gcc_13|gcc_14|gcc_15) gcc_12|gcc_13|gcc_14|gcc_15|gcc_16)
return 0 return 0
;; ;;
*) *)
@ -213,7 +213,7 @@ ada_export() {
local impl var local impl var
case "${1}" in case "${1}" in
gcc_12|gcc_13|gcc_14|gcc_15) gcc_12|gcc_13|gcc_14|gcc_15|gcc_16)
impl=${1} impl=${1}
shift shift
;; ;;
@ -245,6 +245,10 @@ ada_export() {
gcc_pv=15 gcc_pv=15
slot=15 slot=15
;; ;;
gcc_16)
gcc_pv=16
slot=16
;;
*) *)
gcc_pv="9.9.9" gcc_pv="9.9.9"
slot=9.9.9 slot=9.9.9
@ -295,7 +299,7 @@ ada_export() {
;; ;;
ADA_PKG_DEP) ADA_PKG_DEP)
case "${impl}" in 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]" ADA_PKG_DEP="sys-devel/gcc:${slot}[ada]"
;; ;;
*) *)

View File

@ -4,6 +4,10 @@
# This file is only for generic masks. For arch-specific masks (i.e. # This file is only for generic masks. For arch-specific masks (i.e.
# mask everywhere, unmask on arch/*) use arch/base. # mask everywhere, unmask on arch/*) use arch/base.
# Sam James <sam@entoo.org> (2025-12-02)
# GCC 16 is not yet released
ada_target_gcc_16
# Sam James <sam@gentoo.org> (2025-04-19) # Sam James <sam@gentoo.org> (2025-04-19)
# Ruby 3.1 is no longer supported upstream and will no longer # Ruby 3.1 is no longer supported upstream and will no longer
# receive security updates. # receive security updates.

View File

@ -5,3 +5,4 @@ gcc_12 - Compile with sys-devel/gcc:12
gcc_13 - Compile with sys-devel/gcc:13 gcc_13 - Compile with sys-devel/gcc:13
gcc_14 - Compile with sys-devel/gcc:14 gcc_14 - Compile with sys-devel/gcc:14
gcc_15 - Compile with sys-devel/gcc:15 gcc_15 - Compile with sys-devel/gcc:15
gcc_16 - Compile with sys-devel/gcc:16