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)
Thu, May 14, 7:42 AM
Unknown Object (File)
Thu, May 14, 3:42 AM
Unknown Object (File)
Thu, May 14, 3:04 AM
Unknown Object (File)
Mon, May 11, 1:46 PM
Unknown Object (File)
Fri, May 8, 8:59 AM
Unknown Object (File)
Tue, Apr 21, 12:33 AM
Unknown Object (File)
Apr 16 2026, 1:06 PM
Unknown Object (File)
Apr 11 2026, 12:47 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.