summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Bieneman <chris.bieneman@me.com>2019-06-11 00:25:57 +0000
committerChris Bieneman <chris.bieneman@me.com>2019-06-11 00:25:57 +0000
commitdc2c72eefa451cb94b940e23f61817b8e585e227 (patch)
tree3c655a3fcbda4555f1fe360a1e4b4935469e1976
parentd40807c6bb7a051bcc15d0a7b66b17ff9c50af80 (diff)
downloadbcm5719-llvm-dc2c72eefa451cb94b940e23f61817b8e585e227.tar.gz
bcm5719-llvm-dc2c72eefa451cb94b940e23f61817b8e585e227.zip
Setup testing target dependencies for default runtimes
Summary: The default runtimes targets aren't getting their dependencies configured correctly which results in check-runtimes failing when built from a clean build. Reviewers: phosek, compnerd Reviewed By: phosek Subscribers: mgorny, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D63107 llvm-svn: 363015
-rw-r--r--llvm/runtimes/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/runtimes/CMakeLists.txt b/llvm/runtimes/CMakeLists.txt
index 218c5a82833..552ab7b2a88 100644
--- a/llvm/runtimes/CMakeLists.txt
+++ b/llvm/runtimes/CMakeLists.txt
@@ -352,6 +352,7 @@ else() # if this is included from LLVM's CMake
cmake_parse_arguments(ARG "" "" "DEPENDS;PREFIXES" ${ARGN})
include(${LLVM_BINARY_DIR}/runtimes/Components.cmake OPTIONAL)
+ set(SUB_CHECK_TARGETS ${SUB_CHECK_TARGETS} PARENT_SCOPE)
set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS ${LLVM_BINARY_DIR}/runtimes/Components.cmake)
foreach(runtime_name ${runtime_names})
@@ -497,6 +498,7 @@ else() # if this is included from LLVM's CMake
runtime_default_target(
DEPENDS ${deps}
PREFIXES ${prefixes})
+ set(test_targets check-runtimes)
else()
if("default" IN_LIST LLVM_RUNTIME_TARGETS)
runtime_default_target(
OpenPOWER on IntegriCloud