From owner-freebsd-ports@freebsd.org Thu Dec 12 17:31:20 2019 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D06BB1D6FB2 for ; Thu, 12 Dec 2019 17:31:20 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47Ygnh3QMpz3PgR for ; Thu, 12 Dec 2019 17:31:20 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by mailman.nyi.freebsd.org (Postfix) id 7520C1D6FB1; Thu, 12 Dec 2019 17:31:20 +0000 (UTC) Delivered-To: ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 73C871D6FB0 for ; Thu, 12 Dec 2019 17:31:20 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47Ygng4p8vz3PgP for ; Thu, 12 Dec 2019 17:31:19 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id 24E0D3C0199; Thu, 12 Dec 2019 17:31:13 +0000 (UTC) Date: Thu, 12 Dec 2019 17:31:13 +0000 From: Brooks Davis To: Lars Engels Cc: ports@freebsd.org Subject: Re: devel/llvm80 port on 12.1 Message-ID: <20191212173113.GA25842@spindle.one-eyed-alien.net> References: <20191212154207.GL5400@e.0x20.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="x+6KMIRAuhnl3hBn" Content-Disposition: inline In-Reply-To: <20191212154207.GL5400@e.0x20.net> User-Agent: Mutt/1.9.4 (2018-02-28) X-Rspamd-Queue-Id: 47Ygng4p8vz3PgP X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of brooks@spindle.one-eyed-alien.net has no SPF policy when checking 199.48.129.229) smtp.mailfrom=brooks@spindle.one-eyed-alien.net X-Spamd-Result: default: False [-6.52 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[freebsd.org]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; SIGNED_PGP(-2.00)[]; FORGED_SENDER(0.30)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net]; RCVD_COUNT_ZERO(0.00)[0]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:36236, ipnet:199.48.128.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net]; IP_SCORE(-3.62)[ip: (-9.47), ipnet: 199.48.128.0/22(-4.72), asn: 36236(-3.84), country: US(-0.05)] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Dec 2019 17:31:20 -0000 --x+6KMIRAuhnl3hBn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 12, 2019 at 04:42:07PM +0100, Lars Engels wrote: > I'm trying reduce the size of the NomadBSD image and the biggest > installed package is devel/llvm80 with 848 MiB. > llvm80 is a dependency of graphics/mesa-dri which is needed for > x11-servers/xorg-server. >=20 > Looking at the llvm version of 12.1-RELEASE in base I see that it is the > same version like the installed port: >=20 > $ /usr/bin/clang --version > FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLV= M 8.0.1) > Target: x86_64-unknown-freebsd12.1 > Thread model: posix > InstalledDir: /usr/bin >=20 > $ /usr/local/llvm80/bin/clang --version > clang version 8.0.1 (tags/RELEASE_801/final) > Target: x86_64-portbld-freebsd12.0 > Thread model: posix > InstalledDir: /usr/local/llvm80/bin >=20 > So it looks like on 12.1 the mesa-dri port can use the base llvm instead > of the one from ports and save all people running Xorg almost 1 GB of > disk space? Nope. Mesa uses LLVM library ABIs which provide NO stability guarantees so we can not publish them as part of the release without locking the branch to a single LLVM version for the 5-year life (we effectively tried that with 10.x, it was terrible with many ports requiring workarounds for the increasingly obsolete base compiler). If you want to save space here, help out on the subpackage work so you only need to depend on the libraries. https://reviews.freebsd.org/D16457 -- Brooks --x+6KMIRAuhnl3hBn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJd8nlgAAoJEKzQXbSebgfAypcH/AyR1KvPeedyPEFAMTO0e2BE kV9gm6k/LLT2T9Nrh/TtVPT0abfPOJmFaU2cHHQ3romi4aUXRYiZx9LoJpr3qmGT UzefoEVjwrzhnDm+XhoXNEqN3WkW/0JbQoazTq248nptZAW5ZMjDAwEGcuoYbhKc shF3lOicTkZ/Zyete37jlLmPJxs1EydQDwxX0PMiNjjepGyYM8daM0hvgjz9ieb4 bDZx1mYcqkhUFrOysCdjqGyPSrGeur4M8uo74R34QFvvYqDBnD6zBcr2SQvSu90Q x56v+DbuI34S8R4vOrCLaXuCfByI2nVl4if7FqvoCX2o6qPqPi3IFtK0LO+c76I= =qF8j -----END PGP SIGNATURE----- --x+6KMIRAuhnl3hBn--