pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
rust192: rust 1.92.0 requires LLVM >= 20...
Module Name: pkgsrc-wip
Committed By: Havard Eidnes <he%NetBSD.org@localhost>
Pushed By: he
Date: Tue Dec 16 08:29:46 2025 +0000
Changeset: e2c664060b04eb2fd96862934cd7c23d809a6136
Modified Files:
rust192/options.mk
Log Message:
rust192: rust 1.92.0 requires LLVM >= 20...
...so suggest using the internal LLVM if the current pkgsrc llvm
is older.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e2c664060b04eb2fd96862934cd7c23d809a6136
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
rust192/options.mk | 6 ++++++
1 file changed, 6 insertions(+)
diffs:
diff --git a/rust192/options.mk b/rust192/options.mk
index b56662bf9c..569bc27ee0 100644
--- a/rust192/options.mk
+++ b/rust192/options.mk
@@ -19,6 +19,12 @@ PKG_SUGGESTED_OPTIONS+= rust-internal-llvm
PKG_SUGGESTED_OPTIONS+= rust-internal-llvm
.endif
+# Rust 1.92.0 needs llvm >= 20, so if we're still on older...
+LLVM_VERSION!= awk '/^LLVM_VERSION/ { print $$2 }' ../../lang/llvm/version.mk
+.if !empty(LLVM_VERSION:M1[0-9].*)
+PKG_SUGGESTED_OPTIONS+= rust-internal-llvm
+.endif
+
PKG_OPTIONS_LEGACY_OPTS+= rust-llvm:rust-internal-llvm
# Bundle OpenSSL and curl into the cargo binary when producing
Home |
Main Index |
Thread Index |
Old Index