Building and Iterating
Sean Bruno
sbruno at freebsd.org
Wed Jun 27 21:15:42 UTC 2018
On 06/27/18 11:08, Bryan Drewery wrote:
> On 6/20/2018 2:00 PM, Bryan Drewery wrote:
>> On 6/1/2018 10:20 AM, Sean Bruno wrote:
>>> Before I dive into the mk files of a buildworld, I'd like to describe
>>> "what I want" so as to start a discussion of my goal.
>>>
>>> 1. If I select no toolchain (WITHOUT_TOOLCHAIN), but clang needs to be
>>> built, only build a toolchain that targets the ARCH being requested.
>>>
>>> 2. If I select no toolchain (WITHOUT_TOOLCHAIN), but clang needs to be
>>> built, give me a knob to turn that aborts the build with a meaningful
>>> message that lets me know I need to update the toolchain on my buildbox.
>>>
>>
>> https://reviews.freebsd.org/D11077 has this but I suspect it's wildly
>> stale already.
>>
>> Also having a knob like this would ultimately lead to someone making
>> their /usr/bin/cc less useful for optimizations like WITH_SYSTEM_COMPILER.
>>
>>> 3. If the boostrap toolchain needs to be built in the normal case, only
>>> target the ARCH being requested. I understand that we "want" a CC
>>> installed that targets all architectures and this is something I agree with.
>>>
>>
>> Hm yes there is no real reason to have multi-arch support in the
>> WORLDTMP compiler. Though I do have a pending patch to build clang
>> *once* for universe that relies on this full-arch-support behavior but
>> I'm sure it's trivial to continue using it for that piece.
>>
>>
>
> For the archives, a lot of this is effectively done now. See
> https://lists.freebsd.org/pipermail/freebsd-current/2018-June/069994.html
>
>
Good lord Bryan. Thank you.
sean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20180627/04ce567b/attachment.sig>
More information about the freebsd-arch
mailing list