commit:     29493a83cee1392060f2e0040fde6640ac41b3df
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 17 23:45:12 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 17 23:48:48 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29493a83

profiles: mask dev-lang/ruby[jit] in base, unmask on amd64/arm64

Reported by gyakovlev on presumably ppc64 (which is a Rust arch, but Rust
is necessary-but-not-sufficient for YJIT):
```
In file included from yjit.c:24:
yjit.h:24:3: error: #error YJIT unsupported platform
24 | # error YJIT unsupported platform
|   ^~~~~
```

Signed-off-by: Sam James <sam <AT> gentoo.org>

 profiles/arch/amd64/package.use.mask | 5 +++++
 profiles/arch/arm64/package.use.mask | 5 +++++
 profiles/base/package.use.mask       | 5 +++++
 3 files changed, 15 insertions(+)

diff --git a/profiles/arch/amd64/package.use.mask 
b/profiles/arch/amd64/package.use.mask
index 0e00baae5e9c..cb63c572c50f 100644
--- a/profiles/arch/amd64/package.use.mask
+++ b/profiles/arch/amd64/package.use.mask
@@ -17,6 +17,11 @@
 
 #--- END OF EXAMPLES ---
 
+# Sam James <[email protected]> (2023-04-17)
+# Ruby has several JITs available but they need porting to individual arches.
+# Unmask on specific arches where it's available.
+dev-lang/ruby -jit
+
 # Sam James <[email protected]> (2023-04-03)
 # pytables is available here.
 dev-python/pytables -cpudetection

diff --git a/profiles/arch/arm64/package.use.mask 
b/profiles/arch/arm64/package.use.mask
index 669c44b9c7cf..9fb567a44715 100644
--- a/profiles/arch/arm64/package.use.mask
+++ b/profiles/arch/arm64/package.use.mask
@@ -1,6 +1,11 @@
 # Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Sam James <[email protected]> (2023-04-17)
+# Ruby has several JITs available but they need porting to individual arches.
+# Unmask on specific arches where it's available.
+dev-lang/ruby -jit
+
 # Sam James <[email protected]> (2023-01-27)
 # media-libs/shaderc not keyworded here
 games-action/supertuxkart vulkan

diff --git a/profiles/base/package.use.mask b/profiles/base/package.use.mask
index f546b053e471..3b6308459fd6 100644
--- a/profiles/base/package.use.mask
+++ b/profiles/base/package.use.mask
@@ -6,6 +6,11 @@
 # This file is only for generic masks. For arch-specific masks (i.e.
 # mask everywhere, unmask on arch/*) use arch/base.
 
+# Sam James <[email protected]> (2023-04-17)
+# Ruby has several JITs available but they need porting to individual arches.
+# Unmask on specific arches where it's available.
+dev-lang/ruby jit
+
 # Matt Turner <[email protected]> (2023-04-10)
 # Not ported to libsoup:3.0
 >=media-plugins/grilo-plugins-0.3.16 youtube

Reply via email to