Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Dec 2022 02:20:50 -0800
From:      Mel Pilgrim <list_freebsd@bluerosetech.com>
To:        Xin LI <delphij@gmail.com>
Cc:        Pat Maddox <pat@patmaddox.com>, User Questions <freebsd-questions@freebsd.org>, freebsd-ports@freebsd.org
Subject:   Re: lang/rust is super slow to build
Message-ID:  <278753d9-6c6f-9684-e1bb-0a4f8e2160df@bluerosetech.com>
In-Reply-To: <CAGMYy3shq_Jdgd7-GppOJsGKup=RpUk-p%2B=OBbOs5107b1aWhw@mail.gmail.com>
References:  <EDE0639D-04CE-44C6-922D-159F45576296@patmaddox.com> <c2c55e9a-3af7-19b9-a9f4-060cd4e1f584@bluerosetech.com> <CAGMYy3shq_Jdgd7-GppOJsGKup=RpUk-p%2B=OBbOs5107b1aWhw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2022-12-13 14:18, Xin LI wrote:
> IMHO the ports collection should provide and use prebuilt packages of 
> compilers (LLVM, GCC, Rust, etc.) built from the FreeBSD packages 
> builder, and ports framework (possibly also the base system) should be 
> changed to use prebuilt packages by default, unless a) user requested to 
> build everything from source, or b) no binary package is available for 
> the platform combination, like a Tier-2 platform.  The source ports for 
> compilers should have all optimizations (like PGO, LTO, etc.) enabled by 
> default, and require reasonably modern (perhaps newer than Sandy Bridge) 
> processor features by default.

It has this ability.  If you set PACKAGE_FETCH_BLACKLIST, it will never 
download pkgs for the pkgname globs listed.  If you set 
PACKAGE_FETCH_WHITELIST, it will download pkgs for only those pkgname 
globs listed.  The suggested value in poudriere.conf is even "gcc* rust 
llvm*".



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?278753d9-6c6f-9684-e1bb-0a4f8e2160df>