You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@quickstep.apache.org by zu...@apache.org on 2016/05/27 03:23:17 UTC
[26/50] [abbrv] incubator-quickstep git commit: Explicitly specify
where tcmalloc comes from
Explicitly specify where tcmalloc comes from
This change adds a declaration that `libtcmalloc_minimal.a` is generated
by the external project. This is needed by the Ninja generator to
properly build.
To reproduce:
run `cmake -GNinja path/to/quickstep`
then `cmake --build path/to/build/dir` and see it fails.
Project: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/commit/931136a7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/tree/931136a7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/diff/931136a7
Branch: refs/heads/explicit_byproduct_for_gperftools
Commit: 931136a7353b2db299720b0604b6b899ab203418
Parents: 83dc9ad
Author: Jesse Zhang <sb...@gmail.com>
Authored: Sun May 22 17:01:56 2016 -0700
Committer: Jesse Zhang <sb...@gmail.com>
Committed: Sun May 22 17:01:56 2016 -0700
----------------------------------------------------------------------
CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/931136a7/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 87a8f7c..2ab0f57 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -490,6 +490,7 @@ if(USE_TCMALLOC)
CXXFLAGS=${THIRD_PARTY_CXX_FLAGS}
BUILD_COMMAND make
BUILD_IN_SOURCE 0
+ BUILD_BYPRODUCTS <INSTALL_DIR>/lib/libtcmalloc_minimal.a
)
# Static libtcmalloc_minimal.a
add_library(libtcmalloc_minimal STATIC IMPORTED)