You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by mp...@apache.org on 2017/11/02 23:11:11 UTC

[2/2] mesos git commit: Added building the `stout-tests` target to `mesos-tidy`.

Added building the `stout-tests` target to `mesos-tidy`.

This patch adds `stout-tests` as a build target for `mesos-tidy`
in order to force the generation of `protobuf-tests.pb.h`.

Review: https://reviews.apache.org/r/63520


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

Branch: refs/heads/master
Commit: 057290d5513cfb5d39a2cc407617b9d477c35a06
Parents: a559112
Author: Michael Park <mp...@apache.org>
Authored: Thu Nov 2 05:04:42 2017 -0700
Committer: Michael Park <mp...@apache.org>
Committed: Thu Nov 2 15:58:52 2017 -0700

----------------------------------------------------------------------
 support/mesos-tidy/entrypoint.sh | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/057290d5/support/mesos-tidy/entrypoint.sh
----------------------------------------------------------------------
diff --git a/support/mesos-tidy/entrypoint.sh b/support/mesos-tidy/entrypoint.sh
index adb554f..bdaa453 100755
--- a/support/mesos-tidy/entrypoint.sh
+++ b/support/mesos-tidy/entrypoint.sh
@@ -30,6 +30,11 @@ cmake -DCMAKE_BUILD_TYPE=Release \
       ${CMAKE_ARGS} \
       "${SRCDIR}"
 
+# We build `stout-tests` here as a build target in order to force
+# the generation of `protobuf-tests.pb.h`. This is pretty hacky
+# for what we want to do, but it's okay for now.
+cmake --build 3rdparty/stout/tests --target stout-tests -- -j $(nproc)
+
 # Build the external dependencies.
 # TODO(mpark): Use an external dependencies target once MESOS-6924 is resolved.
 cmake --build 3rdparty --target boost-1.53.0 -- -j $(nproc)