#
cb14a3fe |
|
25-Dec-2023 |
Dimitry Andric <dim@FreeBSD.org> |
Merge llvm-project main llvmorg-18-init-15692-g007ed0dccd6a This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvm-project main llvmorg-18-init-15692-g007ed0dccd6a. PR: 276104 MFC after: 1 month
|
#
73ff7384 |
|
11-Feb-2024 |
Dimitry Andric <dim@FreeBSD.org> |
Optionally create full debuginfo for llvm-related executables Commit de6feefdb7cfd limited the amount of debuginfo generated for clang and other llvm-related executables. This was done to save disk space and memory during building, but it makes debugging any of these executables much harder. Add a new src.conf(5) setting, WITH_LLVM_FULL_DEBUGINFO, to generate full debuginfo instead. This is off by default, but could for example be enabled for release builds or snapshots, so llvm executables are easier to debug. Reviewed by: emaste MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D43839 |
#
06c3fb27 |
|
02-Sep-2023 |
Dimitry Andric <dim@FreeBSD.org> |
Merge llvm-project main llvmorg-17-init-19304-gd0b54bb50e51 This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvm-project main llvmorg-17-init-19304-gd0b54bb50e51, the last commit before the upstream release/17.x branch was created. PR: 273753 MFC after: 1 month
|
#
d0b2dbfa |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line sh pattern Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/ |
#
bdd1243d |
|
14-Apr-2023 |
Dimitry Andric <dim@FreeBSD.org> |
Merge llvm-project main llvmorg-16-init-18548-gb0daacf58f41 This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-16-init-18548-gb0daacf58f41. PR: 271047 MFC after: 1 month
|
#
04eeddc0 |
|
27-Jan-2022 |
Dimitry Andric <dim@FreeBSD.org> |
Merge llvm-project main llvmorg-14-init-17616-g024a1fab5c35 This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-14-init-17616-g024a1fab5c35. PR: 261742 MFC after: 2 weeks
|
#
fe6060f1 |
|
22-Aug-2021 |
Dimitry Andric <dim@FreeBSD.org> |
Merge llvm-project main llvmorg-13-init-16847-g88e66fa60ae5 This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-13-init-16847-g88e66fa60ae5, the last commit before the upstream release/13.x branch was created. PR: 258209 MFC after: 2 weeks
|
#
e8d8bef9 |
|
13-Jun-2021 |
Dimitry Andric <dim@FreeBSD.org> |
Merge llvm-project main llvmorg-12-init-17869-g8e464dd76bef This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-12-init-17869-g8e464dd76bef, the last commit before the upstream release/12.x branch was created. PR: 255570 MFC after: 6 weeks
|
#
48397f6c |
|
27-Jan-2021 |
Jessica Clarke <jrtc27@FreeBSD.org> |
libllvmminimal: Add missing Support/ABIBreak.cpp When building natively on RISC-V, linking the bootstrap clang-tblgen fails with: ld: error: undefined symbol: llvm::EnableABIBreakingChecks >>> referenced by PrettyStackTrace.cpp >>> PrettyStackTrace.o:(.sdata+0x0) in archive /usr/obj/usr/src/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang/libllvmminimal/libllvmminimal.a >>> referenced by Signals.cpp >>> Signals.o:(.sdata+0x8) in archive /usr/obj/usr/src/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang/libllvmminimal/libllvmminimal.a >>> referenced by Timer.cpp >>> Timer.o:(.sdata+0x28) in archive /usr/obj/usr/src/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang/libllvmminimal/libllvmminimal.a This is likely due to Error.h's inclusion of abi-breaking.h. It's unclear why this only affects RISC-V, but perhaps relates to its more eager use of .sdata due to the ABI's support for linker relaxations. Regardless, this is theoretically an issue for all architectures. Reported by: Dennis Clarke <dclarke@blastwave.org> Reviewed by: dim Tested by: mhorne MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D28367 |
#
48aaf27b |
|
06-Aug-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Update Makefiles under lib/clang and usr.bin/clang for 11.0.0 builds, and also bump the version in the mtree files. |
#
0f1174c5 |
|
10-Mar-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Add one additional file to libllvmminimal, to help the ppc64 bootstrap. Reported by: bdragon PR: 244251 MFC after: 6 weeks X-MFC-With: 358851 |
#
13138422 |
|
15-Feb-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/vendor/llvm-project/release-10.x up to its last change (upstream commit llvmorg-10.0.0-rc2-0-g90c78073f73), bump versions, and update build glue.
|
#
38b6f456 |
|
25-Jan-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Adjust libllvmminimal and tblgen Makefiles so all the tblgen executables build. |
#
6f5bc35d |
|
07-Jan-2020 |
Brandon Bergren <bdragon@FreeBSD.org> |
[PowerPC] Fix libllvmminimal build when building from powerpc64 ELFv1. When bootstrapping on powerpc64 ELFv1, it is necessary to use binutils ld.bfd from ports for the bootstrap, as this is the only modern linker for ELFv1 host tools. As binutils ld.bfd is rather strict in its handling of undefined symbols, it is necessary to pull in Support/Atomic.cpp to avoid an undefined symbol. Reviewed by: dim, emaste Sponsored by: Tag1 Consulting, Inc. Differential Revision: https://reviews.freebsd.org/D23072 |
#
0b57cec5 |
|
20-Dec-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Move all sources from the llvm project into contrib/llvm-project. This uses the new layout of the upstream repository, which was recently migrated to GitHub, and converted into a "monorepo". That is, most of the earlier separate sub-projects with their own branches and tags were consolidated into one top-level directory, and are now branched and tagged together. Updating the vendor area to match this layout is next. |
#
a1aaa66b |
|
20-Nov-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Add explanatory comments for the different SRCS_xxx variables used in the Makefiles for libllvm and libclang. While here, cleanup a commented out SRCS entry in libllvmminimal's Makefile. MFC after: 3 days |
#
4014a71f |
|
23-Aug-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Update build glue for a minimal build of the clang executable. |
#
a8fe8db4 |
|
25-Feb-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r344178 through r344512.
|
#
40af08b3 |
|
18-Feb-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Add one additional file to libllvmminimal, since in some cases (e.g. upgrading from stable/10 to stable/11) symbols from it are needed to link llvm-tblgen and clang-tblgen. Reported by: kib MFC after: 3 days |
#
676320a0 |
|
20-Jan-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Update libllvmminimal and llvm-tblgen Makefiles, so llvm-tblgen and clang-tblgen can build. |
#
25194b54 |
|
31-Jul-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Make llvm-tblgen and clang-tblgen build. |
#
36cb3905 |
|
21-Dec-2017 |
Dimitry Andric <dim@FreeBSD.org> |
First step in updating llvm/clang build glue: make only the clang executable build. |
#
482a8244 |
|
21-Apr-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Update some more build glue. All llvm extras, lld and lldb should link now. |
#
5897d2f0 |
|
17-Apr-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Initial update of clang/llvm build glue, for building just a minimal clang executable. |
#
09bfd043 |
|
03-Jan-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Initial updates to llvm/clang build glue. |
#
c130a785 |
|
06-Dec-2016 |
Dimitry Andric <dim@FreeBSD.org> |
During the bootstrap phase, when building the minimal llvm library on PowerPC, add lib/Support/Atomic.cpp. This is needed because upstream llvm revision r271821 disabled the use of std::call_once, which causes some fallback functions from Atomic.cpp to be used instead. Reported by: Mark Millard PR: 214902 X-MFC-With: 309124 |
#
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. |
#
73ff7384 |
|
11-Feb-2024 |
Dimitry Andric <dim@FreeBSD.org> |
Optionally create full debuginfo for llvm-related executables Commit de6feefdb7cfd limited the amount of debuginfo generated for clang and other llvm-related executables. This was done to save disk space and memory during building, but it makes debugging any of these executables much harder. Add a new src.conf(5) setting, WITH_LLVM_FULL_DEBUGINFO, to generate full debuginfo instead. This is off by default, but could for example be enabled for release builds or snapshots, so llvm executables are easier to debug. Reviewed by: emaste MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D43839
|
#
06c3fb27 |
|
02-Sep-2023 |
Dimitry Andric <dim@FreeBSD.org> |
Merge llvm-project main llvmorg-17-init-19304-gd0b54bb50e51 This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvm-project main llvmorg-17-init-19304-gd0b54bb50e51, the last commit before the upstream release/17.x branch was created. PR: 273753 MFC after: 1 month
|
#
d0b2dbfa |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line sh pattern Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/ |
#
bdd1243d |
|
14-Apr-2023 |
Dimitry Andric <dim@FreeBSD.org> |
Merge llvm-project main llvmorg-16-init-18548-gb0daacf58f41 This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-16-init-18548-gb0daacf58f41. PR: 271047 MFC after: 1 month
|
#
04eeddc0 |
|
27-Jan-2022 |
Dimitry Andric <dim@FreeBSD.org> |
Merge llvm-project main llvmorg-14-init-17616-g024a1fab5c35 This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-14-init-17616-g024a1fab5c35. PR: 261742 MFC after: 2 weeks
|
#
fe6060f1 |
|
22-Aug-2021 |
Dimitry Andric <dim@FreeBSD.org> |
Merge llvm-project main llvmorg-13-init-16847-g88e66fa60ae5 This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-13-init-16847-g88e66fa60ae5, the last commit before the upstream release/13.x branch was created. PR: 258209 MFC after: 2 weeks
|
#
e8d8bef9 |
|
13-Jun-2021 |
Dimitry Andric <dim@FreeBSD.org> |
Merge llvm-project main llvmorg-12-init-17869-g8e464dd76bef This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-12-init-17869-g8e464dd76bef, the last commit before the upstream release/12.x branch was created. PR: 255570 MFC after: 6 weeks
|
#
48397f6c |
|
27-Jan-2021 |
Jessica Clarke <jrtc27@FreeBSD.org> |
libllvmminimal: Add missing Support/ABIBreak.cpp When building natively on RISC-V, linking the bootstrap clang-tblgen fails with: ld: error: undefined symbol: llvm::EnableABIBreakingChecks >>> referenced by PrettyStackTrace.cpp >>> PrettyStackTrace.o:(.sdata+0x0) in archive /usr/obj/usr/src/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang/libllvmminimal/libllvmminimal.a >>> referenced by Signals.cpp >>> Signals.o:(.sdata+0x8) in archive /usr/obj/usr/src/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang/libllvmminimal/libllvmminimal.a >>> referenced by Timer.cpp >>> Timer.o:(.sdata+0x28) in archive /usr/obj/usr/src/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang/libllvmminimal/libllvmminimal.a This is likely due to Error.h's inclusion of abi-breaking.h. It's unclear why this only affects RISC-V, but perhaps relates to its more eager use of .sdata due to the ABI's support for linker relaxations. Regardless, this is theoretically an issue for all architectures. Reported by: Dennis Clarke <dclarke@blastwave.org> Reviewed by: dim Tested by: mhorne MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D28367 |
#
48aaf27b |
|
06-Aug-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Update Makefiles under lib/clang and usr.bin/clang for 11.0.0 builds, and also bump the version in the mtree files. |
#
0f1174c5 |
|
10-Mar-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Add one additional file to libllvmminimal, to help the ppc64 bootstrap. Reported by: bdragon PR: 244251 MFC after: 6 weeks X-MFC-With: 358851 |
#
13138422 |
|
15-Feb-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/vendor/llvm-project/release-10.x up to its last change (upstream commit llvmorg-10.0.0-rc2-0-g90c78073f73), bump versions, and update build glue.
|
#
38b6f456 |
|
25-Jan-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Adjust libllvmminimal and tblgen Makefiles so all the tblgen executables build. |
#
6f5bc35d |
|
07-Jan-2020 |
Brandon Bergren <bdragon@FreeBSD.org> |
[PowerPC] Fix libllvmminimal build when building from powerpc64 ELFv1. When bootstrapping on powerpc64 ELFv1, it is necessary to use binutils ld.bfd from ports for the bootstrap, as this is the only modern linker for ELFv1 host tools. As binutils ld.bfd is rather strict in its handling of undefined symbols, it is necessary to pull in Support/Atomic.cpp to avoid an undefined symbol. Reviewed by: dim, emaste Sponsored by: Tag1 Consulting, Inc. Differential Revision: https://reviews.freebsd.org/D23072 |
#
0b57cec5 |
|
20-Dec-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Move all sources from the llvm project into contrib/llvm-project. This uses the new layout of the upstream repository, which was recently migrated to GitHub, and converted into a "monorepo". That is, most of the earlier separate sub-projects with their own branches and tags were consolidated into one top-level directory, and are now branched and tagged together. Updating the vendor area to match this layout is next. |
#
a1aaa66b |
|
20-Nov-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Add explanatory comments for the different SRCS_xxx variables used in the Makefiles for libllvm and libclang. While here, cleanup a commented out SRCS entry in libllvmminimal's Makefile. MFC after: 3 days |
#
4014a71f |
|
23-Aug-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Update build glue for a minimal build of the clang executable. |
#
a8fe8db4 |
|
25-Feb-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r344178 through r344512.
|
#
40af08b3 |
|
18-Feb-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Add one additional file to libllvmminimal, since in some cases (e.g. upgrading from stable/10 to stable/11) symbols from it are needed to link llvm-tblgen and clang-tblgen. Reported by: kib MFC after: 3 days |
#
676320a0 |
|
20-Jan-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Update libllvmminimal and llvm-tblgen Makefiles, so llvm-tblgen and clang-tblgen can build. |
#
25194b54 |
|
31-Jul-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Make llvm-tblgen and clang-tblgen build. |
#
36cb3905 |
|
21-Dec-2017 |
Dimitry Andric <dim@FreeBSD.org> |
First step in updating llvm/clang build glue: make only the clang executable build. |
#
482a8244 |
|
21-Apr-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Update some more build glue. All llvm extras, lld and lldb should link now. |
#
5897d2f0 |
|
17-Apr-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Initial update of clang/llvm build glue, for building just a minimal clang executable. |
#
09bfd043 |
|
03-Jan-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Initial updates to llvm/clang build glue. |
#
c130a785 |
|
06-Dec-2016 |
Dimitry Andric <dim@FreeBSD.org> |
During the bootstrap phase, when building the minimal llvm library on PowerPC, add lib/Support/Atomic.cpp. This is needed because upstream llvm revision r271821 disabled the use of std::call_once, which causes some fallback functions from Atomic.cpp to be used instead. Reported by: Mark Millard PR: 214902 X-MFC-With: 309124 |
#
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. |
#
d0b2dbfa |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line sh pattern Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
#
bdd1243d |
|
14-Apr-2023 |
Dimitry Andric <dim@FreeBSD.org> |
Merge llvm-project main llvmorg-16-init-18548-gb0daacf58f41 This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-16-init-18548-gb0daacf58f41. PR: 271047 MFC after: 1 month
|
#
04eeddc0 |
|
27-Jan-2022 |
Dimitry Andric <dim@FreeBSD.org> |
Merge llvm-project main llvmorg-14-init-17616-g024a1fab5c35 This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-14-init-17616-g024a1fab5c35. PR: 261742 MFC after: 2 weeks
|
#
fe6060f1 |
|
22-Aug-2021 |
Dimitry Andric <dim@FreeBSD.org> |
Merge llvm-project main llvmorg-13-init-16847-g88e66fa60ae5 This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-13-init-16847-g88e66fa60ae5, the last commit before the upstream release/13.x branch was created. PR: 258209 MFC after: 2 weeks
|
#
e8d8bef9 |
|
13-Jun-2021 |
Dimitry Andric <dim@FreeBSD.org> |
Merge llvm-project main llvmorg-12-init-17869-g8e464dd76bef This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-12-init-17869-g8e464dd76bef, the last commit before the upstream release/12.x branch was created. PR: 255570 MFC after: 6 weeks
|
#
48397f6c |
|
27-Jan-2021 |
Jessica Clarke <jrtc27@FreeBSD.org> |
libllvmminimal: Add missing Support/ABIBreak.cpp When building natively on RISC-V, linking the bootstrap clang-tblgen fails with: ld: error: undefined symbol: llvm::EnableABIBreakingChecks >>> referenced by PrettyStackTrace.cpp >>> PrettyStackTrace.o:(.sdata+0x0) in archive /usr/obj/usr/src/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang/libllvmminimal/libllvmminimal.a >>> referenced by Signals.cpp >>> Signals.o:(.sdata+0x8) in archive /usr/obj/usr/src/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang/libllvmminimal/libllvmminimal.a >>> referenced by Timer.cpp >>> Timer.o:(.sdata+0x28) in archive /usr/obj/usr/src/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang/libllvmminimal/libllvmminimal.a This is likely due to Error.h's inclusion of abi-breaking.h. It's unclear why this only affects RISC-V, but perhaps relates to its more eager use of .sdata due to the ABI's support for linker relaxations. Regardless, this is theoretically an issue for all architectures. Reported by: Dennis Clarke <dclarke@blastwave.org> Reviewed by: dim Tested by: mhorne MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D28367 |
#
48aaf27b |
|
06-Aug-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Update Makefiles under lib/clang and usr.bin/clang for 11.0.0 builds, and also bump the version in the mtree files. |
#
0f1174c5 |
|
10-Mar-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Add one additional file to libllvmminimal, to help the ppc64 bootstrap. Reported by: bdragon PR: 244251 MFC after: 6 weeks X-MFC-With: 358851 |
#
13138422 |
|
15-Feb-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/vendor/llvm-project/release-10.x up to its last change (upstream commit llvmorg-10.0.0-rc2-0-g90c78073f73), bump versions, and update build glue.
|
#
38b6f456 |
|
25-Jan-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Adjust libllvmminimal and tblgen Makefiles so all the tblgen executables build. |
#
6f5bc35d |
|
07-Jan-2020 |
Brandon Bergren <bdragon@FreeBSD.org> |
[PowerPC] Fix libllvmminimal build when building from powerpc64 ELFv1. When bootstrapping on powerpc64 ELFv1, it is necessary to use binutils ld.bfd from ports for the bootstrap, as this is the only modern linker for ELFv1 host tools. As binutils ld.bfd is rather strict in its handling of undefined symbols, it is necessary to pull in Support/Atomic.cpp to avoid an undefined symbol. Reviewed by: dim, emaste Sponsored by: Tag1 Consulting, Inc. Differential Revision: https://reviews.freebsd.org/D23072 |
#
0b57cec5 |
|
20-Dec-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Move all sources from the llvm project into contrib/llvm-project. This uses the new layout of the upstream repository, which was recently migrated to GitHub, and converted into a "monorepo". That is, most of the earlier separate sub-projects with their own branches and tags were consolidated into one top-level directory, and are now branched and tagged together. Updating the vendor area to match this layout is next. |
#
a1aaa66b |
|
20-Nov-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Add explanatory comments for the different SRCS_xxx variables used in the Makefiles for libllvm and libclang. While here, cleanup a commented out SRCS entry in libllvmminimal's Makefile. MFC after: 3 days |
#
4014a71f |
|
23-Aug-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Update build glue for a minimal build of the clang executable. |
#
a8fe8db4 |
|
25-Feb-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r344178 through r344512.
|
#
40af08b3 |
|
18-Feb-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Add one additional file to libllvmminimal, since in some cases (e.g. upgrading from stable/10 to stable/11) symbols from it are needed to link llvm-tblgen and clang-tblgen. Reported by: kib MFC after: 3 days |
#
676320a0 |
|
20-Jan-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Update libllvmminimal and llvm-tblgen Makefiles, so llvm-tblgen and clang-tblgen can build. |
#
25194b54 |
|
31-Jul-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Make llvm-tblgen and clang-tblgen build. |
#
36cb3905 |
|
21-Dec-2017 |
Dimitry Andric <dim@FreeBSD.org> |
First step in updating llvm/clang build glue: make only the clang executable build. |
#
482a8244 |
|
21-Apr-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Update some more build glue. All llvm extras, lld and lldb should link now. |
#
5897d2f0 |
|
17-Apr-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Initial update of clang/llvm build glue, for building just a minimal clang executable. |
#
09bfd043 |
|
03-Jan-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Initial updates to llvm/clang build glue. |
#
c130a785 |
|
06-Dec-2016 |
Dimitry Andric <dim@FreeBSD.org> |
During the bootstrap phase, when building the minimal llvm library on PowerPC, add lib/Support/Atomic.cpp. This is needed because upstream llvm revision r271821 disabled the use of std::call_once, which causes some fallback functions from Atomic.cpp to be used instead. Reported by: Mark Millard PR: 214902 X-MFC-With: 309124 |
#
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. |
#
04eeddc0 |
|
27-Jan-2022 |
Dimitry Andric <dim@FreeBSD.org> |
Merge llvm-project main llvmorg-14-init-17616-g024a1fab5c35 This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-14-init-17616-g024a1fab5c35. PR: 261742 MFC after: 2 weeks
|
#
fe6060f1 |
|
22-Aug-2021 |
Dimitry Andric <dim@FreeBSD.org> |
Merge llvm-project main llvmorg-13-init-16847-g88e66fa60ae5 This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-13-init-16847-g88e66fa60ae5, the last commit before the upstream release/13.x branch was created. PR: 258209 MFC after: 2 weeks
|
#
e8d8bef9 |
|
13-Jun-2021 |
Dimitry Andric <dim@FreeBSD.org> |
Merge llvm-project main llvmorg-12-init-17869-g8e464dd76bef This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-12-init-17869-g8e464dd76bef, the last commit before the upstream release/12.x branch was created. PR: 255570 MFC after: 6 weeks
|
#
48397f6c |
|
27-Jan-2021 |
Jessica Clarke <jrtc27@FreeBSD.org> |
libllvmminimal: Add missing Support/ABIBreak.cpp When building natively on RISC-V, linking the bootstrap clang-tblgen fails with: ld: error: undefined symbol: llvm::EnableABIBreakingChecks >>> referenced by PrettyStackTrace.cpp >>> PrettyStackTrace.o:(.sdata+0x0) in archive /usr/obj/usr/src/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang/libllvmminimal/libllvmminimal.a >>> referenced by Signals.cpp >>> Signals.o:(.sdata+0x8) in archive /usr/obj/usr/src/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang/libllvmminimal/libllvmminimal.a >>> referenced by Timer.cpp >>> Timer.o:(.sdata+0x28) in archive /usr/obj/usr/src/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang/libllvmminimal/libllvmminimal.a This is likely due to Error.h's inclusion of abi-breaking.h. It's unclear why this only affects RISC-V, but perhaps relates to its more eager use of .sdata due to the ABI's support for linker relaxations. Regardless, this is theoretically an issue for all architectures. Reported by: Dennis Clarke <dclarke@blastwave.org> Reviewed by: dim Tested by: mhorne MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D28367 |
#
48aaf27b |
|
06-Aug-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Update Makefiles under lib/clang and usr.bin/clang for 11.0.0 builds, and also bump the version in the mtree files. |
#
0f1174c5 |
|
10-Mar-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Add one additional file to libllvmminimal, to help the ppc64 bootstrap. Reported by: bdragon PR: 244251 MFC after: 6 weeks X-MFC-With: 358851 |
#
13138422 |
|
15-Feb-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/vendor/llvm-project/release-10.x up to its last change (upstream commit llvmorg-10.0.0-rc2-0-g90c78073f73), bump versions, and update build glue.
|
#
38b6f456 |
|
25-Jan-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Adjust libllvmminimal and tblgen Makefiles so all the tblgen executables build. |
#
6f5bc35d |
|
07-Jan-2020 |
Brandon Bergren <bdragon@FreeBSD.org> |
[PowerPC] Fix libllvmminimal build when building from powerpc64 ELFv1. When bootstrapping on powerpc64 ELFv1, it is necessary to use binutils ld.bfd from ports for the bootstrap, as this is the only modern linker for ELFv1 host tools. As binutils ld.bfd is rather strict in its handling of undefined symbols, it is necessary to pull in Support/Atomic.cpp to avoid an undefined symbol. Reviewed by: dim, emaste Sponsored by: Tag1 Consulting, Inc. Differential Revision: https://reviews.freebsd.org/D23072 |
#
0b57cec5 |
|
20-Dec-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Move all sources from the llvm project into contrib/llvm-project. This uses the new layout of the upstream repository, which was recently migrated to GitHub, and converted into a "monorepo". That is, most of the earlier separate sub-projects with their own branches and tags were consolidated into one top-level directory, and are now branched and tagged together. Updating the vendor area to match this layout is next. |
#
a1aaa66b |
|
20-Nov-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Add explanatory comments for the different SRCS_xxx variables used in the Makefiles for libllvm and libclang. While here, cleanup a commented out SRCS entry in libllvmminimal's Makefile. MFC after: 3 days |
#
4014a71f |
|
23-Aug-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Update build glue for a minimal build of the clang executable. |
#
a8fe8db4 |
|
25-Feb-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r344178 through r344512.
|
#
40af08b3 |
|
18-Feb-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Add one additional file to libllvmminimal, since in some cases (e.g. upgrading from stable/10 to stable/11) symbols from it are needed to link llvm-tblgen and clang-tblgen. Reported by: kib MFC after: 3 days |
#
676320a0 |
|
20-Jan-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Update libllvmminimal and llvm-tblgen Makefiles, so llvm-tblgen and clang-tblgen can build. |
#
25194b54 |
|
31-Jul-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Make llvm-tblgen and clang-tblgen build. |
#
36cb3905 |
|
21-Dec-2017 |
Dimitry Andric <dim@FreeBSD.org> |
First step in updating llvm/clang build glue: make only the clang executable build. |
#
482a8244 |
|
21-Apr-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Update some more build glue. All llvm extras, lld and lldb should link now. |
#
5897d2f0 |
|
17-Apr-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Initial update of clang/llvm build glue, for building just a minimal clang executable. |
#
09bfd043 |
|
03-Jan-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Initial updates to llvm/clang build glue. |
#
c130a785 |
|
06-Dec-2016 |
Dimitry Andric <dim@FreeBSD.org> |
During the bootstrap phase, when building the minimal llvm library on PowerPC, add lib/Support/Atomic.cpp. This is needed because upstream llvm revision r271821 disabled the use of std::call_once, which causes some fallback functions from Atomic.cpp to be used instead. Reported by: Mark Millard PR: 214902 X-MFC-With: 309124 |
#
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. |
#
fe6060f1 |
|
22-Aug-2021 |
Dimitry Andric <dim@FreeBSD.org> |
Merge llvm-project main llvmorg-13-init-16847-g88e66fa60ae5 This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-13-init-16847-g88e66fa60ae5, the last commit before the upstream release/13.x branch was created. PR: 258209 MFC after: 2 weeks
|
#
e8d8bef9 |
|
13-Jun-2021 |
Dimitry Andric <dim@FreeBSD.org> |
Merge llvm-project main llvmorg-12-init-17869-g8e464dd76bef This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-12-init-17869-g8e464dd76bef, the last commit before the upstream release/12.x branch was created. PR: 255570 MFC after: 6 weeks
|
#
48397f6c |
|
27-Jan-2021 |
Jessica Clarke <jrtc27@FreeBSD.org> |
libllvmminimal: Add missing Support/ABIBreak.cpp When building natively on RISC-V, linking the bootstrap clang-tblgen fails with: ld: error: undefined symbol: llvm::EnableABIBreakingChecks >>> referenced by PrettyStackTrace.cpp >>> PrettyStackTrace.o:(.sdata+0x0) in archive /usr/obj/usr/src/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang/libllvmminimal/libllvmminimal.a >>> referenced by Signals.cpp >>> Signals.o:(.sdata+0x8) in archive /usr/obj/usr/src/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang/libllvmminimal/libllvmminimal.a >>> referenced by Timer.cpp >>> Timer.o:(.sdata+0x28) in archive /usr/obj/usr/src/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang/libllvmminimal/libllvmminimal.a This is likely due to Error.h's inclusion of abi-breaking.h. It's unclear why this only affects RISC-V, but perhaps relates to its more eager use of .sdata due to the ABI's support for linker relaxations. Regardless, this is theoretically an issue for all architectures. Reported by: Dennis Clarke <dclarke@blastwave.org> Reviewed by: dim Tested by: mhorne MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D28367 |
#
48aaf27b |
|
06-Aug-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Update Makefiles under lib/clang and usr.bin/clang for 11.0.0 builds, and also bump the version in the mtree files. |
#
0f1174c5 |
|
10-Mar-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Add one additional file to libllvmminimal, to help the ppc64 bootstrap. Reported by: bdragon PR: 244251 MFC after: 6 weeks X-MFC-With: 358851 |
#
13138422 |
|
15-Feb-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/vendor/llvm-project/release-10.x up to its last change (upstream commit llvmorg-10.0.0-rc2-0-g90c78073f73), bump versions, and update build glue.
|
#
38b6f456 |
|
25-Jan-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Adjust libllvmminimal and tblgen Makefiles so all the tblgen executables build. |
#
6f5bc35d |
|
07-Jan-2020 |
Brandon Bergren <bdragon@FreeBSD.org> |
[PowerPC] Fix libllvmminimal build when building from powerpc64 ELFv1. When bootstrapping on powerpc64 ELFv1, it is necessary to use binutils ld.bfd from ports for the bootstrap, as this is the only modern linker for ELFv1 host tools. As binutils ld.bfd is rather strict in its handling of undefined symbols, it is necessary to pull in Support/Atomic.cpp to avoid an undefined symbol. Reviewed by: dim, emaste Sponsored by: Tag1 Consulting, Inc. Differential Revision: https://reviews.freebsd.org/D23072 |
#
0b57cec5 |
|
20-Dec-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Move all sources from the llvm project into contrib/llvm-project. This uses the new layout of the upstream repository, which was recently migrated to GitHub, and converted into a "monorepo". That is, most of the earlier separate sub-projects with their own branches and tags were consolidated into one top-level directory, and are now branched and tagged together. Updating the vendor area to match this layout is next. |
#
a1aaa66b |
|
20-Nov-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Add explanatory comments for the different SRCS_xxx variables used in the Makefiles for libllvm and libclang. While here, cleanup a commented out SRCS entry in libllvmminimal's Makefile. MFC after: 3 days |
#
4014a71f |
|
23-Aug-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Update build glue for a minimal build of the clang executable. |
#
a8fe8db4 |
|
25-Feb-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r344178 through r344512.
|
#
40af08b3 |
|
18-Feb-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Add one additional file to libllvmminimal, since in some cases (e.g. upgrading from stable/10 to stable/11) symbols from it are needed to link llvm-tblgen and clang-tblgen. Reported by: kib MFC after: 3 days |
#
676320a0 |
|
20-Jan-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Update libllvmminimal and llvm-tblgen Makefiles, so llvm-tblgen and clang-tblgen can build. |
#
25194b54 |
|
31-Jul-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Make llvm-tblgen and clang-tblgen build. |
#
36cb3905 |
|
21-Dec-2017 |
Dimitry Andric <dim@FreeBSD.org> |
First step in updating llvm/clang build glue: make only the clang executable build. |
#
482a8244 |
|
21-Apr-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Update some more build glue. All llvm extras, lld and lldb should link now. |
#
5897d2f0 |
|
17-Apr-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Initial update of clang/llvm build glue, for building just a minimal clang executable. |
#
09bfd043 |
|
03-Jan-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Initial updates to llvm/clang build glue. |
#
c130a785 |
|
06-Dec-2016 |
Dimitry Andric <dim@FreeBSD.org> |
During the bootstrap phase, when building the minimal llvm library on PowerPC, add lib/Support/Atomic.cpp. This is needed because upstream llvm revision r271821 disabled the use of std::call_once, which causes some fallback functions from Atomic.cpp to be used instead. Reported by: Mark Millard PR: 214902 X-MFC-With: 309124 |
#
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. |
#
48397f6c |
|
27-Jan-2021 |
Jessica Clarke <jrtc27@FreeBSD.org> |
libllvmminimal: Add missing Support/ABIBreak.cpp When building natively on RISC-V, linking the bootstrap clang-tblgen fails with: ld: error: undefined symbol: llvm::EnableABIBreakingChecks >>> referenced by PrettyStackTrace.cpp >>> PrettyStackTrace.o:(.sdata+0x0) in archive /usr/obj/usr/src/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang/libllvmminimal/libllvmminimal.a >>> referenced by Signals.cpp >>> Signals.o:(.sdata+0x8) in archive /usr/obj/usr/src/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang/libllvmminimal/libllvmminimal.a >>> referenced by Timer.cpp >>> Timer.o:(.sdata+0x28) in archive /usr/obj/usr/src/freebsd-src/riscv.riscv64/tmp/obj-tools/lib/clang/libllvmminimal/libllvmminimal.a This is likely due to Error.h's inclusion of abi-breaking.h. It's unclear why this only affects RISC-V, but perhaps relates to its more eager use of .sdata due to the ABI's support for linker relaxations. Regardless, this is theoretically an issue for all architectures. Reported by: Dennis Clarke <dclarke@blastwave.org> Reviewed by: dim Tested by: mhorne MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D28367
|
#
48aaf27b |
|
06-Aug-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Update Makefiles under lib/clang and usr.bin/clang for 11.0.0 builds, and also bump the version in the mtree files.
|
#
0f1174c5 |
|
10-Mar-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Add one additional file to libllvmminimal, to help the ppc64 bootstrap. Reported by: bdragon PR: 244251 MFC after: 6 weeks X-MFC-With: 358851
|
#
38b6f456 |
|
25-Jan-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Adjust libllvmminimal and tblgen Makefiles so all the tblgen executables build.
|
#
6f5bc35d |
|
07-Jan-2020 |
Brandon Bergren <bdragon@FreeBSD.org> |
[PowerPC] Fix libllvmminimal build when building from powerpc64 ELFv1. When bootstrapping on powerpc64 ELFv1, it is necessary to use binutils ld.bfd from ports for the bootstrap, as this is the only modern linker for ELFv1 host tools. As binutils ld.bfd is rather strict in its handling of undefined symbols, it is necessary to pull in Support/Atomic.cpp to avoid an undefined symbol. Reviewed by: dim, emaste Sponsored by: Tag1 Consulting, Inc. Differential Revision: https://reviews.freebsd.org/D23072
|
#
0b57cec5 |
|
20-Dec-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Move all sources from the llvm project into contrib/llvm-project. This uses the new layout of the upstream repository, which was recently migrated to GitHub, and converted into a "monorepo". That is, most of the earlier separate sub-projects with their own branches and tags were consolidated into one top-level directory, and are now branched and tagged together. Updating the vendor area to match this layout is next.
|
#
a1aaa66b |
|
20-Nov-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Add explanatory comments for the different SRCS_xxx variables used in the Makefiles for libllvm and libclang. While here, cleanup a commented out SRCS entry in libllvmminimal's Makefile. MFC after: 3 days
|
#
4014a71f |
|
23-Aug-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Update build glue for a minimal build of the clang executable.
|
#
40af08b3 |
|
18-Feb-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Add one additional file to libllvmminimal, since in some cases (e.g. upgrading from stable/10 to stable/11) symbols from it are needed to link llvm-tblgen and clang-tblgen. Reported by: kib MFC after: 3 days
|
#
676320a0 |
|
20-Jan-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Update libllvmminimal and llvm-tblgen Makefiles, so llvm-tblgen and clang-tblgen can build.
|
#
25194b54 |
|
31-Jul-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Make llvm-tblgen and clang-tblgen build.
|
#
36cb3905 |
|
21-Dec-2017 |
Dimitry Andric <dim@FreeBSD.org> |
First step in updating llvm/clang build glue: make only the clang executable build.
|
#
482a8244 |
|
21-Apr-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Update some more build glue. All llvm extras, lld and lldb should link now.
|
#
5897d2f0 |
|
17-Apr-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Initial update of clang/llvm build glue, for building just a minimal clang executable.
|
#
09bfd043 |
|
03-Jan-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Initial updates to llvm/clang build glue.
|
#
c130a785 |
|
06-Dec-2016 |
Dimitry Andric <dim@FreeBSD.org> |
During the bootstrap phase, when building the minimal llvm library on PowerPC, add lib/Support/Atomic.cpp. This is needed because upstream llvm revision r271821 disabled the use of std::call_once, which causes some fallback functions from Atomic.cpp to be used instead. Reported by: Mark Millard PR: 214902 X-MFC-With: 309124
|
#
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.
|