Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
Pyston
Commits
c79439cf
Commit
c79439cf
authored
Nov 07, 2015
by
Kevin Modzelewski
1
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1003 from kmod/jemalloc
Support CMake 3.3+
parents
37927451
181f8ab8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
CMakeLists.txt
CMakeLists.txt
+3
-2
No files found.
CMakeLists.txt
View file @
c79439cf
...
...
@@ -112,6 +112,7 @@ add_custom_target(gitsubmodules DEPENDS ${CMAKE_BINARY_DIR}/gitmodules)
# jemalloc
ExternalProject_Add
(
libjemalloc
BUILD_BYPRODUCTS
${
CMAKE_BINARY_DIR
}
/jemalloc/lib/libjemalloc.a
PREFIX jemalloc-build
SOURCE_DIR
${
CMAKE_SOURCE_DIR
}
/build_deps/jemalloc
DEPENDS gitsubmodules
...
...
@@ -124,8 +125,8 @@ ExternalProject_Add(libjemalloc
LOG_INSTALL ON
)
#
# CMake (<3.3)
has no way of knowing that an ExternalProject creates specific output files. This is a problem for ninja,
# which will not know how to build the generated file.
# CMake (<3.3)
does not support BUILD_BYPRODUCTS.
#
This is a problem for ninja,
which will not know how to build the generated file.
# Here are a couple hacks to get around it:
#
# Add a copy step. This just hides the dependency but it seems to work.
...
...
Boxiang Sun
@Daetalus
mentioned in commit
ddb51c9b
·
Sep 08, 2016
mentioned in commit
ddb51c9b
mentioned in commit ddb51c9babd34a04f195b88b49e0770e1637f224
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment