summaryrefslogtreecommitdiffstats
path: root/compiler-rt/unittests
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2016-02-17 16:38:54 +0000
committerChris Bieneman <beanz@apple.com>2016-02-17 16:38:54 +0000
commita58d0651cb490cbecf0f57cd7ca72d729a1e6eda (patch)
treef9b3d2bf5598220ea0a602d326f3dd6ab2fb3199 /compiler-rt/unittests
parent3f42095776dee960b6034c7a9ee92fe173dbc51a (diff)
downloadbcm5719-llvm-a58d0651cb490cbecf0f57cd7ca72d729a1e6eda.tar.gz
bcm5719-llvm-a58d0651cb490cbecf0f57cd7ca72d729a1e6eda.zip
[CMake] Push the dependency on AddLLVM into the test and unites layers
Compiler-rt only relies on LLVM for lit support. Pushing this dependency down into the test and unitest layers will allow builtin libraries to be built without LLVM. llvm-svn: 261105
Diffstat (limited to 'compiler-rt/unittests')
-rw-r--r--compiler-rt/unittests/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler-rt/unittests/CMakeLists.txt b/compiler-rt/unittests/CMakeLists.txt
index fe2c39781a9..e5059bd914e 100644
--- a/compiler-rt/unittests/CMakeLists.txt
+++ b/compiler-rt/unittests/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Needed for lit support
+include(AddLLVM)
+
configure_lit_site_cfg(
${CMAKE_CURRENT_SOURCE_DIR}/lit.common.unit.configured.in
${CMAKE_CURRENT_BINARY_DIR}/lit.common.unit.configured)
OpenPOWER on IntegriCloud