opnsense-src/lib/clang
Dimitry Andric 2e47f35be5 Convert libllvm, libclang and liblldb into private shared libraries
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 which will be added in a
follow-up commit, to ensure binaries are rebuilt against the shared
libraries in case of incremental builds.

MFC after:      2 weeks
Differential Revision: https://reviews.freebsd.org/D49967
2025-04-25 19:56:39 +02:00
..
headers Merge llvm-project main llvmorg-19-init-18630-gf2ccf80136a0 2024-10-23 20:26:01 +02:00
include Merge llvm-project release/19.x llvmorg-19.1.7-0-gcd708029e0b2 2025-01-16 21:06:51 +01:00
libclang Convert libllvm, libclang and liblldb into private shared libraries 2025-04-25 19:56:39 +02:00
libclangminimal Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
liblldb Convert libllvm, libclang and liblldb into private shared libraries 2025-04-25 19:56:39 +02:00
libllvm Convert libllvm, libclang and liblldb into private shared libraries 2025-04-25 19:56:39 +02:00
libllvmminimal Merge llvm-project main llvmorg-19-init-18630-gf2ccf80136a0 2024-10-23 20:26:01 +02:00
clang.build.mk Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
clang.pre.mk Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
freebsd_cc_version.h update main to 15 2023-08-24 19:10:35 -04:00
lldb.pre.mk Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
llvm.build.mk Partially revert 6527682ab7 for llvm-based projects 2025-04-24 16:36:40 +02:00
llvm.pre.mk Merge llvm-project main llvmorg-17-init-19304-gd0b54bb50e51 2023-12-08 18:34:50 +01:00
Makefile Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile.inc Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00