[gentoo-commits] repo/gentoo:master commit in: profiles/arch/s390/, profiles/arch/s390/s390x/

2024-07-27 Thread Andreas K. Hüttel
commit: e420e863b5bf2e6f00b79acdbad3d6d191484eb1
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat Jul 27 17:11:39 2024 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Sat Jul 27 17:11:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e420e863

profiles, s390: move assembler mask of openssl-3.3.1 to s390x (s390 is 
unaffected???)

Signed-off-by: Andreas K. Hüttel  gentoo.org>

 profiles/arch/s390/package.use.mask   | 4 
 profiles/arch/s390/s390x/package.use.mask | 4 
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/profiles/arch/s390/package.use.mask 
b/profiles/arch/s390/package.use.mask
index f0828df57340..4c7d8026ed71 100644
--- a/profiles/arch/s390/package.use.mask
+++ b/profiles/arch/s390/package.use.mask
@@ -1,10 +1,6 @@
 # Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-# Andreas K. Hüttel  (2024-07-27)
-# Once again, assembler is broken (too high baseline)
-=dev-libs/openssl-3.3* asm
-
 # Michał Górny  (2024-07-24)
 # Full testing requires www-client/firefox.
 dev-python/selenium test-rust

diff --git a/profiles/arch/s390/s390x/package.use.mask 
b/profiles/arch/s390/s390x/package.use.mask
index 2db48ad88c12..56e0148ca364 100644
--- a/profiles/arch/s390/s390x/package.use.mask
+++ b/profiles/arch/s390/s390x/package.use.mask
@@ -1,6 +1,10 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Andreas K. Hüttel  (2024-07-27)
+# Once again, assembler is broken (too high baseline)
+=dev-libs/openssl-3.3* asm
+
 # Michał Górny  (2022-06-18)
 # media-libs/librsvg not keyworded yet.
 media-libs/freetype svg



[gentoo-commits] repo/gentoo:master commit in: profiles/arch/s390/, profiles/arch/s390/s390x/, profiles/arch/s390/s390/

2022-06-22 Thread Michał Górny
commit: 40a8f13c5c6e1ab840eb57d47c0eba58f2e90634
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun 18 07:40:40 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jun 22 06:43:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40a8f13c

profiles/arch/s390: Move s390-specific stuff to subprofile

Rather than setting stuff specific to not-x s390 in the top profile
and undoing it for s390x, move it to the new subprofile.

Signed-off-by: Michał Górny  gentoo.org>

 profiles/arch/s390/make.defaults | 15 +--
 profiles/arch/s390/{ => s390}/make.defaults  | 19 +--
 profiles/arch/s390/{ => s390}/package.mask   |  0
 profiles/arch/s390/{s390x => s390}/use.force |  5 ++---
 profiles/arch/s390/s390/use.mask |  9 +
 profiles/arch/s390/s390x/make.defaults   |  4 ++--
 profiles/arch/s390/s390x/package.mask| 20 
 profiles/arch/s390/s390x/use.force   |  3 +--
 profiles/arch/s390/s390x/use.mask| 10 --
 profiles/arch/s390/use.force |  5 +
 profiles/arch/s390/use.mask  |  7 ---
 11 files changed, 21 insertions(+), 76 deletions(-)

diff --git a/profiles/arch/s390/make.defaults b/profiles/arch/s390/make.defaults
index fc8cc4a45203..3fde361195fe 100644
--- a/profiles/arch/s390/make.defaults
+++ b/profiles/arch/s390/make.defaults
@@ -1,14 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 ARCH="s390"
 ACCEPT_KEYWORDS="s390 ~s390"
 
-MULTILIB_ABIS="s390"
-DEFAULT_ABI="s390"
-ABI="${DEFAULT_ABI}"
-
-CHOST="s390-ibm-linux-gnu"
 CFLAGS="-O2 -pipe"
 CXXFLAGS="${CFLAGS}"
 FFLAGS="${CFLAGS}"
@@ -20,14 +15,6 @@ LIBDIR_s390="lib"
 INPUT_DEVICES="void"
 VIDEO_CARDS="dummy"
 
-# Michał Górny  (2014-07-01)
-# Make the native ABI implicit so that MULTILIB_USEDEP can be satisfied
-# by non-multilib ebuilds when non-native ABIs are disabled.
-IUSE_IMPLICIT="abi_s390_32"
-
-# Enable abi_s390_32 for packages that don't have it forced.
-ABI_S390="32"
-
 # While multilib is available, we don't default it to on.
 BOOTSTRAP_USE="${BOOTSTRAP_USE} -multilib"
 USE="-multilib"

diff --git a/profiles/arch/s390/make.defaults 
b/profiles/arch/s390/s390/make.defaults
similarity index 55%
copy from profiles/arch/s390/make.defaults
copy to profiles/arch/s390/s390/make.defaults
index fc8cc4a45203..8e77858de386 100644
--- a/profiles/arch/s390/make.defaults
+++ b/profiles/arch/s390/s390/make.defaults
@@ -1,24 +1,11 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-ARCH="s390"
-ACCEPT_KEYWORDS="s390 ~s390"
-
 MULTILIB_ABIS="s390"
 DEFAULT_ABI="s390"
 ABI="${DEFAULT_ABI}"
 
 CHOST="s390-ibm-linux-gnu"
-CFLAGS="-O2 -pipe"
-CXXFLAGS="${CFLAGS}"
-FFLAGS="${CFLAGS}"
-FCFLAGS="${CFLAGS}"
-
-LIBDIR_s390x="lib64"
-LIBDIR_s390="lib"
-
-INPUT_DEVICES="void"
-VIDEO_CARDS="dummy"
 
 # Michał Górny  (2014-07-01)
 # Make the native ABI implicit so that MULTILIB_USEDEP can be satisfied
@@ -27,7 +14,3 @@ IUSE_IMPLICIT="abi_s390_32"
 
 # Enable abi_s390_32 for packages that don't have it forced.
 ABI_S390="32"
-
-# While multilib is available, we don't default it to on.
-BOOTSTRAP_USE="${BOOTSTRAP_USE} -multilib"
-USE="-multilib"

diff --git a/profiles/arch/s390/package.mask 
b/profiles/arch/s390/s390/package.mask
similarity index 100%
rename from profiles/arch/s390/package.mask
rename to profiles/arch/s390/s390/package.mask

diff --git a/profiles/arch/s390/s390x/use.force 
b/profiles/arch/s390/s390/use.force
similarity index 63%
copy from profiles/arch/s390/s390x/use.force
copy to profiles/arch/s390/s390/use.force
index adf5b7184416..6f275ed053ce 100644
--- a/profiles/arch/s390/s390x/use.force
+++ b/profiles/arch/s390/s390/use.force
@@ -1,6 +1,5 @@
-# Copyright 1999-2014 Gentoo Foundation.
+# Copyright 1999-2022 Gentoo Authors.
 # Distributed under the terms of the GNU General Public License, v2
 
 # Force the flag corresponding to the only ABI.
--abi_s390_32
-abi_s390_64
+abi_s390_32

diff --git a/profiles/arch/s390/s390/use.mask b/profiles/arch/s390/s390/use.mask
new file mode 100644
index ..ec8bfdf76289
--- /dev/null
+++ b/profiles/arch/s390/s390/use.mask
@@ -0,0 +1,9 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Unmask ABI flags for this arch.
+-abi_s390_32
+
+# sys-libs/libunwind is masked on s390, but enabled on s390x
+unwind
+libunwind

diff --git a/profiles/arch/s390/s390x/make.defaults 
b/profiles/arch/s390/s390x/make.defaults
index 1cb8ff7551a4..b02ae878cf6e 100644
--- a/profiles/arch/s390/s390x/make.defaults
+++ b/profiles/arch/s390/s390x/make.defaults
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of 

[gentoo-commits] repo/gentoo:master commit in: profiles/arch/s390/, profiles/arch/s390/s390x/

2022-04-26 Thread Sam James
commit: 8a5461b834074318aa94ec4e5d0157a7aa130328
Author: Sam James  gentoo  org>
AuthorDate: Tue Apr 26 14:44:24 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr 26 14:45:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a5461b8

profiles/arch/s390: fix duktape forcing

LLVM not available here.

Signed-off-by: Sam James  gentoo.org>

 profiles/arch/s390/package.use.force   | 2 +-
 profiles/arch/s390/s390x/package.use.force | 4 
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/profiles/arch/s390/package.use.force 
b/profiles/arch/s390/package.use.force
index fc76598ad05d..7a031392e14a 100644
--- a/profiles/arch/s390/package.use.force
+++ b/profiles/arch/s390/package.use.force
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 # Sam James  (2022-04-26)
-# Spidermonkey needs Rust and not available for s390 (but is for s390x)
+# Spidermonkey needs Rust and LLVM, not available for s390
 sys-auth/polkit duktape
 
 # Andreas K. Hüttel  (2022-04-20)

diff --git a/profiles/arch/s390/s390x/package.use.force 
b/profiles/arch/s390/s390x/package.use.force
index 44699e079c3f..b1f0e838fe6c 100644
--- a/profiles/arch/s390/s390x/package.use.force
+++ b/profiles/arch/s390/s390x/package.use.force
@@ -1,10 +1,6 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-# Sam James  (2022-04-26)
-# Spidermonkey needs Rust and not available for s390 (but is for s390x)
-sys-auth/polkit -duktape
-
 # Michał Górny  (2016-11-11)
 # Force the host target to avoid dependency hell
 dev-ml/llvm-ocaml llvm_targets_SystemZ