History log of /freebsd-current/usr.bin/clang/lldb/Makefile.depend
Revision Date Author Comments
# d0307611 26-Nov-2023 Ka Ho Ng <khng@FreeBSD.org>

dirdeps: Update/fix Makefile.depend* for toolchain

This fixes make pseudo/toolchain.


# d0b2dbfa 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


# ea825d02 30-Oct-2017 Bryan Drewery <bdrewery@FreeBSD.org>

DIRDEPS_BUILD: Update dependencies.

Sponsored by: Dell EMC Isilon


# 03165add 01-Sep-2016 Bryan Drewery <bdrewery@FreeBSD.org>

DIRDEPS_BUILD: Connect the new clang build.

Sponsored by: EMC / Isilon Storage Division


# 986e05bc 26-Aug-2016 Dimitry Andric <dim@FreeBSD.org>

Completely revamp the way llvm, clang and lldb are built.

* Bootstrap llvm-tblgen and clang-tblgen with a minimal llvm static
library, that has no other dependencies.
* Roll up all separate llvm libraries into one big static libllvm.
* Similar for all separate clang and lldb static libraries.
* For all these libraries, generate their .inc files only once.
* Link all llvm tools (including extra) against the big libllvm.
* Link clang and clang-format against the big libllvm and libclang.
* Link lldb against the big libllvm, libclang and liblldb.

N.B.: This is work in progress, some details may still be missing.

It also heavily depends on bsd.*.mk's support for SRCS and DPSRCS with
relative pathnames, which apparently does not always work as expected.
For building llvm, clang and lldb though, it seems to work just fine.

The main idea behind this restructuring is maintainability and build
peformance. The previous large number of very small libraries, each
with their own generated files and dependencies was slow to traverse
and hard to understand.

Possible future improvements:
* Only build certain targets, e.g. for most regular users having just
one target will be fine. This will shave off some build time.
* Building the big llvm, clang and lldb libraries as shared (private)
libraries.
* Adding other components from the LLVM project, such as lld.


# f51eac06 08-Mar-2016 Bryan Drewery <bdrewery@FreeBSD.org>

DIRDEPS_BUILD: Update clang dependencies after r296417.

Sponsored by: EMC / Isilon Storage Division


# b2fe867a 07-Dec-2015 Bryan Drewery <bdrewery@FreeBSD.org>

DIRDEPS_BUILD: Update dependencies.

Sponsored by: EMC / Isilon Storage Division


# b1f92fa2 30-Nov-2015 Bryan Drewery <bdrewery@FreeBSD.org>

META MODE: Update dependencies with 'the-lot' and add missing directories.

This is not properly respecting WITHOUT or ARCH dependencies in target/.
Doing so requires a massive effort to rework targets/ to do so. A
better approach will be to either include the SUBDIR Makefiles directly
and map to DIRDEPS or just dynamically lookup the SUBDIR. These lose
the benefit of having a userland/lib, userland/libexec, etc, though and
results in a massive package. The current implementation of targets/ is
very unmaintainable.

Currently rescue/rescue and sys/modules are still not connected.

Sponsored by: EMC / Isilon Storage Division


# 2ef6d5a7 16-Jun-2015 Simon J. Gerraty <sjg@FreeBSD.org>

new depends