Page MenuHomeFreeBSD

Don't default MK_LLVM_TARGET_ALL to yes unless MK_CLANG is requested
ClosedPublic

Authored by arichardson on Jul 5 2021, 5:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 3, 1:31 AM
Unknown Object (File)
Sun, Sep 27, 3:23 AM
Unknown Object (File)
Fri, Sep 25, 4:33 AM
Unknown Object (File)
Thu, Sep 24, 9:39 AM
Unknown Object (File)
Fri, Sep 18, 10:33 AM
Unknown Object (File)
Thu, Sep 17, 8:38 AM
Unknown Object (File)
Tue, Sep 15, 6:39 AM
Unknown Object (File)
Thu, Sep 10, 2:43 PM
Subscribers

Details

Summary

When building -DWITH_LLVM_BINUTILS -DWITHOUT_CLANG, this avoids
building a few hundred C++ source files that should not be needed
by default.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

LGTM, but give @dim a day or so to weigh in.

This revision is now accepted and ready to land.Jul 16 2021, 2:39 AM

LGTM, but give @dim a day or so to weigh in.

I guess we could also condition this on MK_CLANG|| MK_LLD but I'm not sure src.opts.mk is flexible enough.