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
F170744747: D31059.id94712.diff
Sun, Sep 6, 9:16 AM
F170744303: D31059.id.diff
Sun, Sep 6, 9:12 AM
Unknown Object (File)
Sat, Sep 5, 2:35 PM
Unknown Object (File)
Sat, Sep 5, 2:25 PM
Unknown Object (File)
Thu, Sep 3, 11:54 AM
Unknown Object (File)
Thu, Sep 3, 7:38 AM
Unknown Object (File)
Wed, Sep 2, 6:02 PM
Unknown Object (File)
Wed, Sep 2, 6:16 AM
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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 40314
Build 37203: arc lint + arc unit

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.