Date: Wed, 20 Jun 2018 17:07:31 -0700 From: Bryan Drewery <bdrewery@FreeBSD.org> To: FreeBSD Current <freebsd-current@freebsd.org> Cc: FreeBSD Toolchain <freebsd-toolchain@freebsd.org> Subject: Re: [CFT] tinderbox/universe building clang once Message-ID: <77cab326-1cd9-4f25-4e8f-22f1038161b7@FreeBSD.org> In-Reply-To: <7dc2e7de-410e-bf24-2b3c-a91e4a97e4f2@FreeBSD.org> References: <7dc2e7de-410e-bf24-2b3c-a91e4a97e4f2@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --3vGfZViDBlyLXtOnkKeNrd68sZh0JTgNH Content-Type: multipart/mixed; boundary="0XBdC9G0rSJTDcaCDGKClfiiUKtAo4gOY"; protected-headers="v1" From: Bryan Drewery <bdrewery@FreeBSD.org> To: FreeBSD Current <freebsd-current@freebsd.org> Cc: FreeBSD Toolchain <freebsd-toolchain@freebsd.org> Message-ID: <77cab326-1cd9-4f25-4e8f-22f1038161b7@FreeBSD.org> Subject: Re: [CFT] tinderbox/universe building clang once References: <7dc2e7de-410e-bf24-2b3c-a91e4a97e4f2@FreeBSD.org> In-Reply-To: <7dc2e7de-410e-bf24-2b3c-a91e4a97e4f2@FreeBSD.org> --0XBdC9G0rSJTDcaCDGKClfiiUKtAo4gOY Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 6/20/2018 2:08 PM, Bryan Drewery wrote: > https://people.freebsd.org/~bdrewery/patches/universe-one-clang.diff >=20 > This will build clang once if any of the targets specified (or > defaulted) require bootstrapping clang. >=20 The longterm plan does include making 'TARGET=3Darch1 make buildworld' an= d 'TARGET=3Darch2 make buildworld' both use the same compiler and various other build tools. For now this patch only addresses tinderbox/universe so we can have some progress. I had another implementation that covered the buildworld case but it was getting too complex and causing conflicts with other people's work. I'll improve this over time. > It probably has some issues with LLD_BOOTSTRAP in some cases. It could > be improved more in the future for reusing more of the tools built but = I > think this is good enough for now as it saves the majority of the time > in the bootstrap phases on clang. >=20 > This won't work for GCC unless it learns convenient -target support. > Its needed --sysroot support was also broken until some recent work fro= m > John Baldwin but I'm not sure if that has been committed yet. >=20 > Also FYI WITH_SYSTEM_LINKER support is now in to avoid building libclan= g > for lld on archs that have LLD_BOOTSTRAP set. >=20 > I'm putting this out for testing since tinderbox/universe take so long > and I can't possibly test all workflows with it myself. >=20 --=20 Regards, Bryan Drewery --0XBdC9G0rSJTDcaCDGKClfiiUKtAo4gOY-- --3vGfZViDBlyLXtOnkKeNrd68sZh0JTgNH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJbKuxDAAoJEDXXcbtuRpfPtDIIANgXKTqreWu6Fsfb0wDNvVoL ox3AOlHi3U3KO4p+PqbLJXm0rbftg4KClmsy86n8+bbz4G9wxGrHssNN/2Czko+d 2m1VmRqN6dp+A8jlU/N/5FMMSMh7XQt4aEmGV6l+25ZjPHbG9sUGnXqH+s8dhtNW cXAYNfn5nbwILjXRu4lrbCyWRncHgF1vGGsALHCE0Vcs8CUvNzpTDlXgR4s0TkyL UChJCKA7HpdrFc7n+NUWjTLIf250ZYbac98vFVLqlRqWxRgnsoKi+LkkRQOvTJYR 1vlkJAXj4jtJeJMQaez/eTgg5oWra6jvHWo2irXtjwrdhqFSp1v6ubPZadGsyJU= =Z8vq -----END PGP SIGNATURE----- --3vGfZViDBlyLXtOnkKeNrd68sZh0JTgNH--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?77cab326-1cd9-4f25-4e8f-22f1038161b7>