profiles/arch: set special/custom ADA_TARGET for non-amd64

Older ADA_TARGET(s) don't have an old enough dev-lang/ada-bootstrap available,
so mask them to facilitate keywording of dev-ada/*.

Specifically:
* ada_target_gnat_2021
* ada_target_gcc_12
* ada_target_gcc_13

So, just as we masked them earlier, let's set an appropriate ADA_TARGET
default for such arches (i.e. set gcc_14).

dev-lang/ada-bootstrap starts for all arches at gcc:14, hence ada_target_gcc_14.

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-01-05 00:55:26 +00:00
parent 55511eaee9
commit a062a8734e
5 changed files with 35 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 2008-2024 Gentoo Authors
# Copyright 2008-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Main ARM profile
@@ -25,3 +25,9 @@ VIDEO_CARDS="exynos fbdev omap"
# Michał Górny <mgorny@gentoo.org> (2017-03-14)
# Unhide the ARM-specific USE_EXPANDs.
USE_EXPAND_HIDDEN="-CPU_FLAGS_ARM"
# Sam James <sam@gentoo.org> (2025-01-05)
# Temporary USE until the global default catches up. dev-lang/ada-bootstrap
# starts with sys-devel/gcc:14 so ADA_TARGET needs to be >= that. This
# entry can be dropped once the global one is >= gcc_14.
ADA_TARGET="gcc_14"

View File

@@ -1,4 +1,4 @@
# Copyright 2014-2024 Gentoo Authors
# Copyright 2014-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Main ARM64 (AArch64/ARMv8) profile; endian independent.
@@ -20,6 +20,12 @@ LIBDIR_arm64="lib64"
# Defaults for video drivers
VIDEO_CARDS="fbdev"
# Sam James <sam@gentoo.org> (2025-01-05)
# Temporary USE until the global default catches up. dev-lang/ada-bootstrap
# starts with sys-devel/gcc:14 so ADA_TARGET needs to be >= that. This
# entry can be dropped once the global one is >= gcc_14.
ADA_TARGET="gcc_14"
# Mart Raudsepp <leio@gentoo.org> (2018-06-05)
# Enable USE=libtirpc by default, to ease dependency resolution during
# the stabilization of glibc-2.26. Bug 657148

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
ARCH="hppa"
@@ -10,6 +10,12 @@ CXXFLAGS="${CFLAGS}"
FEATURES="sandbox sfperms strict"
# Sam James <sam@gentoo.org> (2025-01-05)
# Temporary USE until the global default catches up. dev-lang/ada-bootstrap
# starts with sys-devel/gcc:14 so ADA_TARGET needs to be >= that. This
# entry can be dropped once the global one is >= gcc_14.
ADA_TARGET="gcc_14"
# Michał Górny <mgorny@gentoo.org> (2014-07-01)
# Set ABI & DEFAULT_ABI consistently with ${ARCH}, to make ebuild
# checks simpler.

View File

@@ -1,9 +1,15 @@
# Copyright 2019-2023 Gentoo Authors
# Copyright 2019-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# All extra USE/etc should be specified in sub-profiles.
# DO NOT POLLUTE USE ON THIS PROFILE.
# Sam James <sam@gentoo.org> (2025-01-05)
# Temporary USE until the global default catches up. dev-lang/ada-bootstrap
# starts with sys-devel/gcc:14 so ADA_TARGET needs to be >= that. This
# entry can be dropped once the global one is >= gcc_14.
ADA_TARGET="gcc_14"
# Georgy Yakovlev <gyakovlev@gentoo.org> (2019-08-30)
# Unhide PPC specific USE_EXPANDs.
USE_EXPAND_HIDDEN="-CPU_FLAGS_PPC"

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
ARCH="sparc"
@@ -42,3 +42,9 @@ VIDEO_CARDS="fbdev mga r128 radeon"
# Enable USE=libtirpc by default, to ease dependency resolution during
# the stabilization of glibc-2.26. Bug 657148
USE="libtirpc"
# Sam James <sam@gentoo.org> (2025-01-05)
# Temporary USE until the global default catches up. dev-lang/ada-bootstrap
# starts with sys-devel/gcc:14 so ADA_TARGET needs to be >= that. This
# entry can be dropped once the global one is >= gcc_14.
ADA_TARGET="gcc_14"