serenity/Toolchain
Andrew Kaster b5c98ede08 Meta: Switch to a SuperBuild that splits host and target builds
Replace the old logic where we would start with a host build, and swap
all the CMake compiler and target variables underneath it to trick
CMake into building for Serenity after we configured and built the Lagom
code generators.

The SuperBuild creates two ExternalProjects, one for Lagom and one for
Serenity. The Serenity project depends on the install stage for the
Lagom build. The SuperBuild also generates a CMakeToolchain file for the
Serenity build to use that replaces the old toolchain file that was only
used for Ports.

To ensure that code generators are rebuilt when core libraries such as
AK and LibCore are modified, developers will need to direct their manual
`ninja` invocations to the SuperBuild's binary directory instead of the
Serenity binary directory.

This commit includes warning coalescing and option style cleanup for the
affected CMakeLists in the Kernel, top level, and runtime support
libraries. A large part of the cleanup is replacing USE_CLANG_TOOLCHAIN
with the proper CMAKE_CXX_COMPILER_ID variable, which will no longer be
confused by a host clang compiler.
2021-09-15 19:04:52 +04:30
..
CMake Meta: Switch to a SuperBuild that splits host and target builds 2021-09-15 19:04:52 +04:30
Patches Meta: Make serenity.sh rebuild-toolchain aarch64 clang work 2021-09-07 20:29:22 +01:00
.dockerignore Build: Add Dockerfile 2020-05-22 01:19:15 +02:00
.gitignore Travis: Cache toolchain 2020-03-08 14:09:08 +01:00
BuildClang.sh Meta: Make BuildClang.sh produce less output when running in a TTY 2021-09-07 20:29:22 +01:00
BuildFuseExt2.sh Toolchain: Make BuildFuseExt2.sh shellcheck compliant 2021-05-05 21:26:37 +02:00
BuildIt.sh Toolchain: Build aarch64-gdb for cross-debugging on x86 2021-09-07 12:58:46 +02:00
BuildPython.sh Ports: Change Python's auth_type to sha256 2021-08-03 21:01:07 +01:00
BuildQemu.sh Toolchain: Also build aarch64-softmmu in BuildQemu.sh 2021-08-28 21:51:30 +01:00
Dockerfile Toolchain: Allow containerized work with Serenity via Docker 2021-06-29 15:56:02 +02:00
README.md Toolchain: Update README to point to the current build instructions 2020-08-15 00:15:20 +02:00

Serenity Toolchain

This directory contains all toolchain related files. E.g. build scripts for the cross compilation toolchain and build toolchain for ports.

This document previously contained outdated build instructions. Click here for the latest build instructions.