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
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
Unknown Object (File)
Oct 1 2024, 4:15 PM
Unknown Object (File)
Sep 30 2024, 8:14 PM
Unknown Object (File)
Sep 12 2024, 1:00 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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
372 ↗(On Diff #75549)

s/boostrap/bootstrap/