summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2022-12-05 13:24:38 -0800
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2022-12-20 15:46:43 -0800
commit77753c90d1c507dae569c77d1ed9d076cf7a9f21 (patch)
tree5ed163b5aa254a97dea9ef5fc0a1a83f07e9e2e0
parentsys-devel/clang-common: add USE=ieee-long-double (diff)
downloadgentoo-77753c90d1c507dae569c77d1ed9d076cf7a9f21.tar.gz
gentoo-77753c90d1c507dae569c77d1ed9d076cf7a9f21.tar.bz2
gentoo-77753c90d1c507dae569c77d1ed9d076cf7a9f21.zip
profiles: mask/unmask ieee-long-double for clang-common
Bug: https://bugs.gentoo.org/882815 Bug: https://bugs.gentoo.org/884395 Closes: https://github.com/gentoo/gentoo/pull/28557 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
-rw-r--r--profiles/arch/base/package.use.mask1
-rw-r--r--profiles/default/linux/ppc64le/17.0/ieee-long-double/package.mask3
-rw-r--r--profiles/default/linux/ppc64le/17.0/ieee-long-double/package.use.force1
-rw-r--r--profiles/default/linux/ppc64le/17.0/ieee-long-double/package.use.mask3
4 files changed, 6 insertions, 2 deletions
diff --git a/profiles/arch/base/package.use.mask b/profiles/arch/base/package.use.mask
index b0af11dbc968..262041d5f52c 100644
--- a/profiles/arch/base/package.use.mask
+++ b/profiles/arch/base/package.use.mask
@@ -13,6 +13,7 @@ media-libs/gst-plugins-bad qsv
# Georgy Yakovlev <gyakovlev@gentoo.org> (2022-12-01)
# Only supported on ppc64le.
+sys-devel/clang-common ieee-long-double
sys-devel/gcc ieee-long-double
# Michał Górny <mgorny@gentoo.org> (2022-12-01)
diff --git a/profiles/default/linux/ppc64le/17.0/ieee-long-double/package.mask b/profiles/default/linux/ppc64le/17.0/ieee-long-double/package.mask
index b230f17da0a1..46beaf4df616 100644
--- a/profiles/default/linux/ppc64le/17.0/ieee-long-double/package.mask
+++ b/profiles/default/linux/ppc64le/17.0/ieee-long-double/package.mask
@@ -2,5 +2,6 @@
# Distributed under the terms of the GNU General Public License v2
# Georgy Yakovlev <gyakovlev@gentoo.org> (2022-12-04)
-# We need gcc-12 for ieee-long-double.
+# We only need versions that support ieee-long-double.
+<sys-devel/clang-common-15.0.5
<sys-devel/gcc-12
diff --git a/profiles/default/linux/ppc64le/17.0/ieee-long-double/package.use.force b/profiles/default/linux/ppc64le/17.0/ieee-long-double/package.use.force
index eed79dfe450c..65e6a164263d 100644
--- a/profiles/default/linux/ppc64le/17.0/ieee-long-double/package.use.force
+++ b/profiles/default/linux/ppc64le/17.0/ieee-long-double/package.use.force
@@ -3,4 +3,5 @@
# Georgy Yakovlev <gyakovlev@gentoo.org> (2022-12-04)
# Hard requirement for this profile.
+sys-devel/clang-common ieee-long-double
sys-devel/gcc ieee-long-double
diff --git a/profiles/default/linux/ppc64le/17.0/ieee-long-double/package.use.mask b/profiles/default/linux/ppc64le/17.0/ieee-long-double/package.use.mask
index 5d3622b69845..7b75e877d890 100644
--- a/profiles/default/linux/ppc64le/17.0/ieee-long-double/package.use.mask
+++ b/profiles/default/linux/ppc64le/17.0/ieee-long-double/package.use.mask
@@ -2,5 +2,6 @@
# Distributed under the terms of the GNU General Public License v2
# Georgy Yakovlev <gyakovlev@gentoo.org> (2022-12-04)
-# We need gcc-12 for ieee-long-double.
+# We need it for ieee-long-double.
+>=sys-devel/clang-common-15.0.5 -ieee-long-double
>=sys-devel/gcc-12 -ieee-long-double