Repository: mesos
Updated Branches:
  refs/heads/master 08bd59286 -> 674db6159


Added 'Ninja' byproducts for jemalloc.

When building with 'Ninja', byproducts are used to resolve dependencies.
These have to be added for third-party dependencies.

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


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

Branch: refs/heads/master
Commit: 674db615971d2288ffdd1b64f2be93367e03a63d
Parents: 08bd592
Author: Jan Schlicht <[email protected]>
Authored: Wed May 2 12:54:45 2018 +0200
Committer: Benjamin Bannier <[email protected]>
Committed: Wed May 2 12:54:45 2018 +0200

----------------------------------------------------------------------
 3rdparty/CMakeLists.txt | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/674db615/3rdparty/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/3rdparty/CMakeLists.txt b/3rdparty/CMakeLists.txt
index b7362d2..0075c13 100644
--- a/3rdparty/CMakeLists.txt
+++ b/3rdparty/CMakeLists.txt
@@ -1142,9 +1142,12 @@ if (ENABLE_JEMALLOC_ALLOCATOR)
     JEMALLOC_CONFIGURE_COMMAND
     ${JEMALLOC_ROOT}/configure --enable-stats --enable-prof 
--with-malloc-conf=prof:true,prof_active:false)
 
+  GET_BYPRODUCTS(jemalloc)
+
   ExternalProject_Add(
     ${JEMALLOC_TARGET}
     PREFIX            ${JEMALLOC_CMAKE_ROOT}
+    BUILD_BYPRODUCTS  ${JEMALLOC_BYPRODUCTS}
     CONFIGURE_COMMAND ${JEMALLOC_CONFIGURE_COMMAND}
     INSTALL_COMMAND   ${CMAKE_NOOP}
     URL               ${JEMALLOC_URL}

Reply via email to