pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

rust174: when building with an external LLVM, rust now requires LLVM>=15.



Module Name:	pkgsrc-wip
Committed By:	Havard Eidnes <he%NetBSD.org@localhost>
Pushed By:	he
Date:		Sat Dec 2 12:56:29 2023 +0000
Changeset:	4bc4f5208993b5d1da9d1f6598180a3044e295c6

Modified Files:
	rust174/options.mk

Log Message:
rust174: when building with an external LLVM, rust now requires LLVM>=15.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4bc4f5208993b5d1da9d1f6598180a3044e295c6

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 rust174/options.mk | 2 ++
 1 file changed, 2 insertions(+)

diffs:
diff --git a/rust174/options.mk b/rust174/options.mk
index eb7e1783c0..a92c7d88f1 100644
--- a/rust174/options.mk
+++ b/rust174/options.mk
@@ -39,6 +39,8 @@ PKG_OPTIONS_LEGACY_OPTS+=	rust-llvm:rust-internal-llvm
 # Use the internal copy of LLVM or the external one?
 #
 .if empty(PKG_OPTIONS:Mrust-internal-llvm)
+# External LLVM must be >= 15, ref. RELEASES.md
+BUILDLINK_API_DEPENDS.llvm+=	llvm>=15
 .include "../../lang/llvm/buildlink3.mk"
 CONFIGURE_ARGS+=	--enable-llvm-link-shared
 #CONFIGURE_ARGS+=	--llvm-libunwind=system


Home | Main Index | Thread Index | Old Index