HomePhabricator

[gn] Support for building compiler-rt builtins

Description

[gn] Support for building compiler-rt builtins

This is support for building compiler-rt builtins, The library build
should be complete for a subset of supported platforms, but not all
CMake options have been replicated in GN.

We always use the just built compiler to build all the runtimes, which
is equivalent to the CMake runtimes build. This simplifies the build
configuration because we don't need to support arbitrary host compiler
and can always assume the latest Clang. With GN's toolchain support,
this is significantly more efficient than the CMake runtimes build.

Differential Revision: https://reviews.llvm.org/D60331

Details

Committed
phosekApr 5 2019, 2:30 PM
Differential Revision
D60331: [gn] Support for building compiler-rt builtins
Parents
rL357820: [globalisel] Allow combiners to query legality
Branches
Unknown
Tags
Unknown