1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00
llvm-mirror/runtimes
Chris Bieneman 5749bb66ad [CMake] [Runtimes] Set *_STANDALONE_BUILD
Summary:
The runtimes use `*_STANDALONE_BUILD=OFF` to signify that clang is an in-tree target. This is not the case with the runtime builds, so we really need this set to `ON`.

In order to resolve the issues phosek was having with checks, we should use checks that don't link. We can use compiler-rt's `try_compile_only` as a basis for that.

This patch is *required* to be able to run the runtime libraries check-* targets.

Reviewers: smeenai, phosek, compnerd

Reviewed By: phosek

Subscribers: mgorny, llvm-commits

Tags: #llvm

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

llvm-svn: 362007
2019-05-29 18:37:49 +00:00
..
CMakeLists.txt [CMake] [Runtimes] Set *_STANDALONE_BUILD 2019-05-29 18:37:49 +00:00
Components.cmake.in [CMake] Support multi-target runtimes build 2017-07-11 23:41:15 +00:00
llvm-strip-link.in [runtime] Use --strip-all rather than --strip-sections 2019-03-10 04:26:54 +00:00