Page MenuHomeFreeBSD

Convert libllvm, libclang and liblldb into private shared libraries
Needs ReviewPublic

Authored by dim on Tue, Apr 22, 6:49 PM.
Tags
None
Referenced Files
F115368271: D49967.id154116.diff
Wed, Apr 23, 1:58 AM
F115364800: D49967.diff
Wed, Apr 23, 1:09 AM
F115364258: D49967.diff
Wed, Apr 23, 1:03 AM
F115355842: D49967.id154116.diff
Tue, Apr 22, 11:06 PM
F115353390: D49967.diff
Tue, Apr 22, 10:34 PM
Subscribers

Details

Summary

This allows clang, lld, lldb, and other llvm tools to be linked against
these shared libraries, which makes them smaller and avoids duplication.

Since these are not quite the same as the shared libraries shipped by
the upstream llvm build system, and we do not want to expose the ABI to
external programs such as ports, make them private libraries.

Note that during the cross-tools stage they are still built as static
libraries, so the cross compiler and linker are static binaries, as they
have always been.

This also requires a depend-cleanup.sh kludge, to ensure binaries are
rebuilt against the shared libraries in case of incremental builds.

NOTE: Requires D49966 to be committed first.

MFC after: 2 weeks

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 63645
Build 60529: arc lint + arc unit