serenity/Meta/CMake
Daniel Bertalan 06fc64be13 Toolchain+Meta: Update LLVM version to 13.0.0
This commit updates the Clang toolchain's version to 13.0.0, which comes
with better C++20 support and improved handling of new features by
clang-format. Due to the newly enabled `-Bsymbolic-functions` flag, our
Clang binaries will only be 2-4% slower than if we dynamically linked
them, but we save hundreds of megabytes of disk space.

The `BuildClang.sh` script has been reworked to build the entire
toolchain in just three steps: one for the compiler, one for GNU
binutils, and one for the runtime libraries. This reduces the complexity
of the build script, and will allow us to modify the CI configuration to
only rebuild the libraries when our libc headers change.

Most of the compile flags have been moved out to a separate CMake cache
file, similarly to how the Android and Fuchsia toolchains are
implemented within the LLVM repo. This provides a nicer interface than
the heaps of command-line arguments.

We no longer build separate toolchains for each architecture, as the
same Clang binary can compile code for multiple targets.

The horrible mess that `SERENITY_CLANG_ARCH` was, has been removed in
this commit. Clang happily accepts an `i686-pc-serenity` target triple,
which matches what our GCC toolchain accepts.
2021-10-17 17:09:58 +01:00
..
Superbuild LibUnicode: Use consistent variable naming in unicode_data.cmake 2021-09-30 17:37:57 +01:00
all_the_debug_macros.cmake RequestServer: Don't hide the SIGINFO state dump behind a debug macro 2021-10-01 20:17:15 +02:00
code_generators.cmake Meta: Use Lagom:: namespaced names for code generators 2021-09-15 19:04:52 +04:30
common_options.cmake Meta: Move all options to targetname_options.cmake files 2021-09-15 19:04:52 +04:30
commonmark_spec.cmake Tests: Test LibMarkdown against commonmark test suite 2021-08-31 16:53:51 +02:00
lagom-install-config.cmake Lagom: Add proper install rules 2021-07-29 21:46:25 +01:00
lagom_options.cmake Meta: Move all options to targetname_options.cmake files 2021-09-15 19:04:52 +04:30
serenity_components.cmake Meta: Fix typos 2021-10-01 01:06:40 +01:00
serenity_options.cmake Meta: Move all options to targetname_options.cmake files 2021-09-15 19:04:52 +04:30
unicode_data.cmake LibUnicode: Upgrade to Unicode version 14.0.0 2021-09-30 17:37:57 +01:00
utils.cmake Toolchain+Meta: Update LLVM version to 13.0.0 2021-10-17 17:09:58 +01:00
wasm_spec_tests.cmake Meta: Move all options to targetname_options.cmake files 2021-09-15 19:04:52 +04:30