You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by jo...@apache.org on 2016/08/01 22:13:14 UTC

mesos git commit: CMake: Fix test helper build order.

Repository: mesos
Updated Branches:
  refs/heads/master 16ac8f939 -> 7830d5f94


CMake: Fix test helper build order.

Follow up for review: https://reviews.apache.org/r/50064/

The `active-user-test-helper` binary needs glog headers, which are
built before Stout.  If you build with enough cores, this ordering
is not guaranteed.


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/7830d5f9
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/7830d5f9
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/7830d5f9

Branch: refs/heads/master
Commit: 7830d5f94e2aaa72ba6ea2d89917a3b88bba7eed
Parents: 16ac8f9
Author: Joseph Wu <jo...@apache.org>
Authored: Mon Aug 1 15:04:19 2016 -0700
Committer: Joseph Wu <jo...@apache.org>
Committed: Mon Aug 1 15:04:19 2016 -0700

----------------------------------------------------------------------
 src/tests/CMakeLists.txt | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/7830d5f9/src/tests/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt
index 26defa0..1ea8b21 100644
--- a/src/tests/CMakeLists.txt
+++ b/src/tests/CMakeLists.txt
@@ -29,3 +29,7 @@ add_subdirectory(containerizer/)
 # THE TEST AND HELPER EXECUTABLEs (generates, e.g., stout_tests, etc., on Linux).
 #################################$###############################################
 add_executable(${ACTIVE_USER_TEST_HELPER_TARGET} ${ACTIVE_USER_TEST_HELPER_SRC})
+
+# ADD BINARY DEPENDENCIES (tells CMake what to compile/build first).
+####################################################################
+add_dependencies(${ACTIVE_USER_TEST_HELPER_TARGET} ${STOUT_DEPENDENCIES})