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)
Tue, Apr 21, 12:33 AM
Unknown Object (File)
Thu, Apr 16, 1:06 PM
Unknown Object (File)
Sat, Apr 11, 12:47 PM
Unknown Object (File)
Sat, Apr 11, 11:52 AM
Unknown Object (File)
Thu, Apr 9, 9:54 PM
Unknown Object (File)
Sun, Apr 5, 5:51 AM
Unknown Object (File)
Mon, Mar 30, 6:02 PM
Unknown Object (File)
Mar 25 2026, 7:59 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
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.