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)
Nov 11 2025, 5:01 AM
Unknown Object (File)
Nov 3 2025, 6:07 AM
Unknown Object (File)
Oct 31 2025, 10:56 PM
Unknown Object (File)
Oct 16 2025, 9:09 PM
Unknown Object (File)
Oct 16 2025, 9:09 PM
Unknown Object (File)
Oct 16 2025, 9:09 PM
Unknown Object (File)
Oct 16 2025, 12:04 PM
Unknown Object (File)
Oct 14 2025, 1:35 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.