From 6f1fefb50e755d727f471aeb75ebe4e28f876b4b Mon Sep 17 00:00:00 2001 From: Tobias Kortkamp Date: Tue, 7 Sep 2021 10:14:14 +0200 Subject: lang/rust: Update to 1.55.0 - Set codegen-units=1 [1] - Add hack to skip cargo update on git sources as a step towards solving [2] - Fix 'capacity overflow' panics on armv* [3] Changes: https://blog.rust-lang.org/2021-09-09/Rust-1.55.0.html PR: 258337 PR: 256099 [1] PR: 256581 [2] PR: 257419 [3] Reviewed by: mikael, pkubaj Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D31872 With hat: rust --- lang/rust-bootstrap/Makefile | 8 ++------ lang/rust-bootstrap/distinfo | 6 +++--- 2 files changed, 5 insertions(+), 9 deletions(-) (limited to 'lang/rust-bootstrap') diff --git a/lang/rust-bootstrap/Makefile b/lang/rust-bootstrap/Makefile index cd8a411b165b..76c7b3050f36 100644 --- a/lang/rust-bootstrap/Makefile +++ b/lang/rust-bootstrap/Makefile @@ -2,7 +2,7 @@ # to upload them to ~/public_distfiles on freefall in preparation # for the next lang/rust update. PORTNAME= rust -PORTVERSION= 1.54.0 +PORTVERSION= 1.55.0 CATEGORIES= lang MASTER_SITES= https://static.rust-lang.org/dist/:rust \ LOCAL/tobik/rust:${FLAVOR} \ @@ -34,7 +34,6 @@ FLAVORS= aarch64 amd64 armv6 armv7 i386 powerpc64_elfv1 powerpc64_elfv2 \ FLAVOR?= ${FLAVORS:[1]} aarch64_PKGNAMEPREFIX= aarch64- -aarch64_BUILD_DEPENDS= llvm90>0:devel/llvm90 amd64_PKGNAMEPREFIX= amd64- armv6_PKGNAMEPREFIX= armv6- armv7_PKGNAMEPREFIX= armv7- @@ -52,10 +51,6 @@ USE_GCC= 9:build .endif # for openssl-src crate USE_PERL5= build -.if ${FLAVOR} == aarch64 -CC= clang90 -CXX= clang++90 -.endif PATCHDIR= ${.CURDIR}/../rust/files # rustc stashes intermediary files in TMPDIR (default /tmp) which # might cause issues for users that for some reason space limit @@ -112,6 +107,7 @@ _RUST_LLVM_TARGET_powerpc64_elfv2= PowerPC _RUST_LLVM_TARGET_powerpc64le= PowerPC _RUST_LLVM_TARGET_powerpc= PowerPC _RUST_LLVM_TRIPLE= ${_RUST_LLVM_TRIPLE_${FLAVOR}:U${_RUST_TARGET}} +_RUST_LLVM_TRIPLE_aarch64= aarch64-unknown-freebsd12.0 _RUST_LLVM_TRIPLE_armv6= armv6-gnueabihf-freebsd _RUST_LLVM_TRIPLE_armv7= armv7-gnueabihf-freebsd _RUST_LLVM_TRIPLE_powerpc= powerpc-unknown-freebsd13.0 # secure-plt diff --git a/lang/rust-bootstrap/distinfo b/lang/rust-bootstrap/distinfo index 1e7b681bd809..1e004183dca8 100644 --- a/lang/rust-bootstrap/distinfo +++ b/lang/rust-bootstrap/distinfo @@ -1,6 +1,6 @@ -TIMESTAMP = 1629292342 -SHA256 (rust/rustc-1.54.0-src.tar.xz) = a2934f85f76a35a3796c0fefd31e91f5b6dd8377cd8c3769c1c10e7ce7a495f4 -SIZE (rust/rustc-1.54.0-src.tar.xz) = 116286856 +TIMESTAMP = 1631002417 +SHA256 (rust/rustc-1.55.0-src.tar.xz) = aec85a7c1f40b7a40818a58ae13632f8a12cfaa4d3e2a10957d0e9d16dfdd556 +SIZE (rust/rustc-1.55.0-src.tar.xz) = 117197580 SHA256 (rust/bootstrap/FreeBSD-12.2-RELEASE-arm64.tar.xz) = 3f82224fbcc6b2a2e1a1358cec5f32c0a08b5c5e6796e1a998369eb624a11cf3 SIZE (rust/bootstrap/FreeBSD-12.2-RELEASE-arm64.tar.xz) = 158493712 SHA256 (rust/bootstrap/FreeBSD-11.4-RELEASE-amd64.tar.xz) = 3bac8257bdd5e5b071f7b80cc591ebecd01b9314ca7839a2903096cbf82169f9 -- cgit v1.3