commit:     033ec122a47b88dd13defb14a15a6bb70ba765e0
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 18 02:20:18 2025 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Tue Mar 18 02:20:18 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=033ec122

profiles/arch/riscv: un-force USE=llvm for the latest GHC

Upstream GHC now supports native codegen for riscv systems, and it even
looks like it works. As a result, there's no need to force-enable LLVM
support for these versions when they eventually get added to the tree.

Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 profiles/arch/riscv/package.use.force | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/profiles/arch/riscv/package.use.force 
b/profiles/arch/riscv/package.use.force
index 729d74128fb6..a36ce5a37c9d 100644
--- a/profiles/arch/riscv/package.use.force
+++ b/profiles/arch/riscv/package.use.force
@@ -13,11 +13,12 @@ media-video/mpv -lua_single_target_luajit 
lua_single_target_lua5-1
 # luajit is currently not supported on riscv, so use lua instead
 app-editors/neovim lua_single_target_lua5-1
 
+# Michael Orlitzky <[email protected]> (2025-03-17)
 # matoro <[email protected]> (2022-09-10)
-# GHC does not support native codegen for riscv at all.
+# GHC does not support native codegen for riscv until v9.12.
 # It gains LLVM codegen in 9.2, but we maintain a backport of this,
 # so force LLVM codegen in all versions.
-dev-lang/ghc llvm
+<dev-lang/ghc-9.12.1 llvm
 
 # we, kinda, need this on riscv ...
 llvm-core/llvm llvm_targets_RISCV

Reply via email to