commit:     8f3baaa744c47de00d8aba54aa36846bc9174ac5
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 10 04:20:27 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 10 04:20:27 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f3baaa7

profiles/arch/loong: ada-bootstrap is available here now

* Unmask >=sys-devel/gcc-14[ada]
* Adjust ADA_TARGETS masks + defaults accordingly

Closes: https://bugs.gentoo.org/946645
Signed-off-by: Sam James <sam <AT> gentoo.org>

 profiles/arch/loong/make.defaults    | 8 +++++++-
 profiles/arch/loong/package.use.mask | 4 ++++
 profiles/arch/loong/use.mask         | 6 ++++++
 3 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/profiles/arch/loong/make.defaults 
b/profiles/arch/loong/make.defaults
index 08d836272984..7665e2f05407 100644
--- a/profiles/arch/loong/make.defaults
+++ b/profiles/arch/loong/make.defaults
@@ -1,4 +1,4 @@
-# Copyright 2022-2023 Gentoo Authors
+# Copyright 2022-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # Main LoongArch profile directory. Common settings for all loong profiles.
@@ -44,3 +44,9 @@ FEATURES="-pid-sandbox -network-sandbox -ipc-sandbox"
 # ABI
 # DEFAULT_ABI
 # MULTILIB_ABIS
+
+# Sam James <[email protected]> (2025-01-10)
+# 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"

diff --git a/profiles/arch/loong/package.use.mask 
b/profiles/arch/loong/package.use.mask
index 4e68b850c7c1..51f9c333547a 100644
--- a/profiles/arch/loong/package.use.mask
+++ b/profiles/arch/loong/package.use.mask
@@ -1,6 +1,10 @@
 # Copyright 2022-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Sam James <[email protected]> (2025-01-10)
+# dev-lang/ada-bootstrap exists here
+>=sys-devel/gcc-14 -ada
+
 # WANG Xuerui <[email protected]> (2025-01-10)
 # bootstrap-emacs crashes at build time
 app-editors/emacs jit

diff --git a/profiles/arch/loong/use.mask b/profiles/arch/loong/use.mask
index 9207ac6cc827..27de582eafc2 100644
--- a/profiles/arch/loong/use.mask
+++ b/profiles/arch/loong/use.mask
@@ -1,6 +1,12 @@
 # Copyright 2022-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Sam James <[email protected]> (2025-01-10)
+# Older targets don't have an old enough dev-lang/ada-bootstrap available
+ada_target_gnat_2021
+ada_target_gcc_12
+ada_target_gcc_13
+
 # Sam James <[email protected]> (2024-06-13)
 # Needs as-yet-unkeyworded KF6 (bug #934215)
 kf6compat

Reply via email to