1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00

lang/rust: limit PORT_LLVM max to 18

LLVM 19 support only starts in Rust 1.82; this restriction will be
removed once the update is committed.
This commit is contained in:
Charlie Li 2024-10-17 23:18:44 -04:00
parent 52ba819a6a
commit 2501f5298c
No known key found for this signature in database
GPG Key ID: 678F936058415CCA

View File

@ -59,7 +59,7 @@ DOCS_VARS= _RUST_BUILD_DOCS=true \
_RUST_TOOLS+=rustdoc
DOCS_VARS_OFF= _RUST_BUILD_DOCS=false
GDB_RUN_DEPENDS= ${LOCALBASE}/bin/gdb:devel/gdb
PORT_LLVM_USES= llvm:min=17,lib,noexport
PORT_LLVM_USES= llvm:min=17,max=18,lib,noexport
PORT_LLVM_MAKE_ENV= RUSTFLAGS="-Lnative=${LOCALBASE}/lib"
SOURCES_VARS= _COMPONENTS+=rust-src-${_PACKAGE_VERS} \
_RUST_TOOLS+=src