summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatoro <matoro@users.noreply.github.com>2022-09-22 10:33:37 -0400
committerJakov Smolić <jsmolic@gentoo.org>2022-10-06 08:05:33 +0200
commit01b46e20457b147bd8f22465cee6f5b3fa1564b5 (patch)
tree5a20faa02bcfeafe49425c76b31d51a6286aa0f2 /profiles
parentsys-devel/bmake: Keyword 20220924 ppc64, #875395 (diff)
downloadgentoo-01b46e20457b147bd8f22465cee6f5b3fa1564b5.tar.gz
gentoo-01b46e20457b147bd8f22465cee6f5b3fa1564b5.tar.bz2
gentoo-01b46e20457b147bd8f22465cee6f5b3fa1564b5.zip
profiles/arch/riscv: force llvm for dev-lang/ghc
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'profiles')
-rw-r--r--profiles/arch/riscv/package.use.force8
1 files changed, 7 insertions, 1 deletions
diff --git a/profiles/arch/riscv/package.use.force b/profiles/arch/riscv/package.use.force
index cb405f4ea1f3..cc0ff6691734 100644
--- a/profiles/arch/riscv/package.use.force
+++ b/profiles/arch/riscv/package.use.force
@@ -1,6 +1,12 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# matoro <matoro_gentoo@matoro.tk> (2022-09-10)
+# GHC does not support native codegen for riscv at all.
+# 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
+
# we, kinda, need this on riscv ...
sys-devel/llvm llvm_targets_RISCV
sys-devel/clang llvm_targets_RISCV