public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: profiles/default/linux/ppc64le/17.0/ieee-long-double/
@ 2022-12-05  2:53 Georgy Yakovlev
  0 siblings, 0 replies; 3+ messages in thread
From: Georgy Yakovlev @ 2022-12-05  2:53 UTC (permalink / raw
  To: gentoo-commits

commit:     f796db65fef1a85ba76361cd7c622245d981552d
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  4 22:32:07 2022 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Mon Dec  5 02:52:52 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f796db65

profiles/default/linux/ppc64le/17.0/ieee-long-double: add exp profile

Bug: https://bugs.gentoo.org/882815
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 profiles/default/linux/ppc64le/17.0/ieee-long-double/eapi     |  1 +
 .../ppc64le/17.0/ieee-long-double/package.accept_keywords     |  6 ++++++
 .../default/linux/ppc64le/17.0/ieee-long-double/package.mask  |  6 ++++++
 .../linux/ppc64le/17.0/ieee-long-double/package.use.force     |  6 ++++++
 .../linux/ppc64le/17.0/ieee-long-double/package.use.mask      |  6 ++++++
 profiles/default/linux/ppc64le/17.0/ieee-long-double/parent   |  1 +
 .../linux/ppc64le/17.0/ieee-long-double/profile.bashrc        | 11 +++++++++++
 7 files changed, 37 insertions(+)

diff --git a/profiles/default/linux/ppc64le/17.0/ieee-long-double/eapi b/profiles/default/linux/ppc64le/17.0/ieee-long-double/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/default/linux/ppc64le/17.0/ieee-long-double/eapi
@@ -0,0 +1 @@
+5

diff --git a/profiles/default/linux/ppc64le/17.0/ieee-long-double/package.accept_keywords b/profiles/default/linux/ppc64le/17.0/ieee-long-double/package.accept_keywords
new file mode 100644
index 000000000000..490d12daa4b7
--- /dev/null
+++ b/profiles/default/linux/ppc64le/17.0/ieee-long-double/package.accept_keywords
@@ -0,0 +1,6 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Georgy Yakovlev <gyakovlev@gentoo.org> (2022-12-04)
+# only gcc-12 provides ieee-long-double, which is not stable yet.
+=sys-devel/gcc-12* ~ppc64

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
new file mode 100644
index 000000000000..b230f17da0a1
--- /dev/null
+++ b/profiles/default/linux/ppc64le/17.0/ieee-long-double/package.mask
@@ -0,0 +1,6 @@
+# Copyright 2022 Gentoo Authors
+# 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.
+<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
new file mode 100644
index 000000000000..eed79dfe450c
--- /dev/null
+++ b/profiles/default/linux/ppc64le/17.0/ieee-long-double/package.use.force
@@ -0,0 +1,6 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Georgy Yakovlev <gyakovlev@gentoo.org> (2022-12-04)
+# Hard requirement for this profile.
+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
new file mode 100644
index 000000000000..5d3622b69845
--- /dev/null
+++ b/profiles/default/linux/ppc64le/17.0/ieee-long-double/package.use.mask
@@ -0,0 +1,6 @@
+# Copyright 2022 Gentoo Authors
+# 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.
+>=sys-devel/gcc-12 -ieee-long-double

diff --git a/profiles/default/linux/ppc64le/17.0/ieee-long-double/parent b/profiles/default/linux/ppc64le/17.0/ieee-long-double/parent
new file mode 100644
index 000000000000..f3229c5b9876
--- /dev/null
+++ b/profiles/default/linux/ppc64le/17.0/ieee-long-double/parent
@@ -0,0 +1 @@
+..

diff --git a/profiles/default/linux/ppc64le/17.0/ieee-long-double/profile.bashrc b/profiles/default/linux/ppc64le/17.0/ieee-long-double/profile.bashrc
new file mode 100644
index 000000000000..ad5bf064bb80
--- /dev/null
+++ b/profiles/default/linux/ppc64le/17.0/ieee-long-double/profile.bashrc
@@ -0,0 +1,11 @@
+if [[ "${EBUILD_PHASE}" == "setup" ]] ; then
+        if [[ ${CATEGORY}/${PN} != sys-devel/gcc ]]; then
+                if [[ $(${CC:-cc} -E -dM - < /dev/null | grep -o '__LDBL_MANT_DIG__ .*') != "__LDBL_MANT_DIG__ 113" ]]; then
+			eerror
+                        eerror "${CC:-cc} should provide ieee-long-double on this profile by default"
+                        eerror "reinstall sys-devel/gcc with USE=ieee-long-double and try again."
+			eerror
+			die "install >=sys-devel/gcc-12[ieee-long-double]"
+                fi
+        fi
+fi


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: profiles/default/linux/ppc64le/17.0/ieee-long-double/
@ 2023-01-24  5:08 Georgy Yakovlev
  0 siblings, 0 replies; 3+ messages in thread
From: Georgy Yakovlev @ 2023-01-24  5:08 UTC (permalink / raw
  To: gentoo-commits

commit:     e71753e58148001fd288bb42aa6588458558a10c
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 24 05:07:37 2023 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Tue Jan 24 05:07:37 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e71753e5

profiles/default/linux/ppc64le/17.0/ieee-long-double: adjust masks

Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 .../linux/ppc64le/17.0/ieee-long-double/package.accept_keywords     | 6 +++---
 profiles/default/linux/ppc64le/17.0/ieee-long-double/package.mask   | 3 ++-
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/profiles/default/linux/ppc64le/17.0/ieee-long-double/package.accept_keywords b/profiles/default/linux/ppc64le/17.0/ieee-long-double/package.accept_keywords
index 490d12daa4b7..26021bb8fffb 100644
--- a/profiles/default/linux/ppc64le/17.0/ieee-long-double/package.accept_keywords
+++ b/profiles/default/linux/ppc64le/17.0/ieee-long-double/package.accept_keywords
@@ -1,6 +1,6 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2022-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # Georgy Yakovlev <gyakovlev@gentoo.org> (2022-12-04)
-# only gcc-12 provides ieee-long-double, which is not stable yet.
-=sys-devel/gcc-12* ~ppc64
+# only contains critical ieee-long-double patches.
+=sys-libs/glibc-2.36-r7 ~ppc64

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 02742c7c8a53..f730c94e928d 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
@@ -1,7 +1,8 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2022-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # Georgy Yakovlev <gyakovlev@gentoo.org> (2022-12-04)
 # We only need versions that support ieee-long-double.
 <sys-devel/clang-15.0.5
 <sys-devel/gcc-12
+<sys-libs/glibc-2.36-r7


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: profiles/default/linux/ppc64le/17.0/ieee-long-double/
@ 2023-01-24  5:08 Georgy Yakovlev
  0 siblings, 0 replies; 3+ messages in thread
From: Georgy Yakovlev @ 2023-01-24  5:08 UTC (permalink / raw
  To: gentoo-commits

commit:     d7b833bef56be34bb8fef9fc5eb1568edc46f5b6
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 24 05:04:00 2023 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Tue Jan 24 05:05:42 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7b833be

profiles/default/linux/ppc64le/17.0/ieee-long-double: remove bashrc

Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 .../linux/ppc64le/17.0/ieee-long-double/profile.bashrc        | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/profiles/default/linux/ppc64le/17.0/ieee-long-double/profile.bashrc b/profiles/default/linux/ppc64le/17.0/ieee-long-double/profile.bashrc
deleted file mode 100644
index d08b2104b5c0..000000000000
--- a/profiles/default/linux/ppc64le/17.0/ieee-long-double/profile.bashrc
+++ /dev/null
@@ -1,11 +0,0 @@
-if [[ "${EBUILD_PHASE}" == "setup" ]] ; then
-        if [[ ${CATEGORY}/${PN} != sys-devel/gcc ]]; then
-                if [[ $(${CC:-cc} -E -dM - < /dev/null | grep -o '__LDBL_MANT_DIG__ .*') != "__LDBL_MANT_DIG__ 113" ]]; then
-			eerror
-                        eerror "${CC:-cc} should provide ieee-long-double on this profile by default"
-                        eerror "reinstall sys-devel/gcc with USE=ieee-long-double and try again."
-			eerror
-			die "install >=sys-devel/gcc-12[ieee-long-double] OR >=sys-devel/clang-15.0.5[ieee-long-double]"
-                fi
-        fi
-fi


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-01-24  5:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-24  5:08 [gentoo-commits] repo/gentoo:master commit in: profiles/default/linux/ppc64le/17.0/ieee-long-double/ Georgy Yakovlev
  -- strict thread matches above, loose matches on Subject: below --
2023-01-24  5:08 Georgy Yakovlev
2022-12-05  2:53 Georgy Yakovlev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox