Page MenuHomeFreeBSD

lang/rust: Speed up build a tiny bit
AbandonedPublic

Authored by tobik on Sat, Aug 1, 10:33 AM.

Details

Reviewers
None
Group Reviewers
rust
Summary

Apply upstream fix to make LLVM ignore value of DESTDIR in the
environment and remove the artificial split between build and
install. This should avoid building some sources twice caused by
essentially running build and install in slightly different
environments.

Test Plan

12.1 amd64: ok

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 32694
Build 30142: arc lint + arc unit

Event Timeline

tobik created this revision.Sat, Aug 1, 10:33 AM
tobik requested review of this revision.Sat, Aug 1, 10:33 AM
tobik abandoned this revision.Sat, Aug 1, 3:49 PM

Nevermind.

It does not have the effect as advertised in the summary. I'll leave do-build alone and apply the DESTDIR fix alongside with Rust 1.45.2 instead on Monday.