Page MenuHomeFreeBSD

Add CLANG/LLD/LLD to BROKEN_OPTIONS when building on non-FreeBSD
ClosedPublic

Authored by arichardson on Feb 7 2018, 4:49 PM.
Tags
None
Referenced Files
F102991840: D14245.diff
Tue, Nov 19, 1:59 PM
F102943360: D14245.diff
Tue, Nov 19, 1:24 AM
Unknown Object (File)
Sun, Nov 17, 8:07 PM
Unknown Object (File)
Oct 14 2024, 6:35 PM
Unknown Object (File)
Oct 3 2024, 6:11 PM
Unknown Object (File)
Oct 2 2024, 4:24 PM
Unknown Object (File)
Oct 2 2024, 4:20 PM
Unknown Object (File)
Oct 2 2024, 4:20 PM
Subscribers
None

Details

Summary

These tools require a bootstrap llvm-tblgen/clang-tblgen and that cannot
be built with the current make infrastructure: the config header is not
correct for Linux/macOS and we don't include the CMakeLists.txt in contrib
so we can't generate one that would be correct.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 14848
Build 14962: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Feb 27 2019, 2:48 AM

No longer accurate, I have changes to allow bootstrapping localedef and CDDL code.

Now only clang+lld+lldb are broken

arichardson retitled this revision from crossbuild: disable MK_* options that won't work on non-FreeBSD systems to Add CLANG/LLD/LLD to BROKEN_OPTIONS when building on non-FreeBSD.Aug 7 2020, 11:00 AM
arichardson edited the summary of this revision. (Show Details)
arichardson added a reviewer: dim.
arichardson edited the summary of this revision. (Show Details)

fix typo in comment

No comment on the list of options, but the method being used is proper.

This revision is now accepted and ready to land.Aug 7 2020, 8:11 PM

Unfortunately generating the config headers requires CMake, so getting that bootstrapped is rather tricky. In that case people would be better off using the upstream sources directly, and installing all prerequisites in some other way.

That said, better to error out on this earlier than later. :)

share/mk/src.opts.mk
328

s/boostrap/bootstrap/