pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
rust199: i386 hosts cannot build the RISCV LLVM target, so omit it.
Module Name: pkgsrc-wip
Committed By: Havard Eidnes <he%NetBSD.org@localhost>
Pushed By: he
Date: Mon Oct 26 14:31:00 2026 +0100
Changeset: b996097944a8cf8a06a4e74720efc627bbdbd63d
Modified Files:
rust199/Makefile
Log Message:
rust199: i386 hosts cannot build the RISCV LLVM target, so omit it.
...but keep all the others, at least for now, for the i386 rust target.
This is related to
https://github.com/llvm/llvm-project/issues/230790
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b996097944a8cf8a06a4e74720efc627bbdbd63d
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
rust199/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diffs:
diff --git a/rust199/Makefile b/rust199/Makefile
index 930cb9299e..dd5f206f12 100644
--- a/rust199/Makefile
+++ b/rust199/Makefile
@@ -188,6 +188,12 @@ CONFIGURE_ARGS+= --set llvm.targets="Mips;X86"
.if ${MACHINE_PLATFORM:MNetBSD-*-powerpc}
CONFIGURE_ARGS+= --set llvm.targets="PowerPC;X86"
.endif
+# NetBSD/i386 can no longer build the RISCV target, ref.
+# https://github.com/llvm/llvm-project/issues/230790
+# so omit it, but keep the rest, at least for now:
+.if ${MACHINE_PLATFORM:MNetBSD-*-i386}
+CONFIGURE_ARGS+= --set llvm.targets="AArch64;AMDGPU;ARM;BPF;Hexagon;LoongArch;MSP430;Mips;NVPTX;PowerPC;Sparc;SystemZ;WebAssembly;X86"
+.endif
RUSTLIB_COMPILER= lib/rustlib/rustc-src/rust/compiler
RUSTC_CG_CRANELIFT= ${RUSTLIB_COMPILER}/rustc_codegen_cranelift
Home |
Main Index |
Thread Index |
Old Index