forked from facebook/rocksdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: siying this is a resubmission of facebook#2081 with the 4th commit fixed. From that commit message: > Note that the previous use of quotes in PLATFORM_{CC,CXX}FLAGS was incorrect and caused GCC to produce the incorrect define: > > #define ROCKSDB_JEMALLOC -DJEMALLOC_NO_DEMANGLE 1 > > This was the cause of the Linux build failure on the previous version of this change. I've tested this locally, and the Linux build succeeds now. Closes facebook#2097 Differential Revision: D4839964 Pulled By: siying fbshipit-source-id: cc51322
- Loading branch information
1 parent
d2dce56
commit 107c5f6
Showing
6 changed files
with
23 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,21 @@ | ||
# - Find JeMalloc library | ||
# Find the native JeMalloc includes and library | ||
# This module defines | ||
# JEMALLOC_INCLUDE_DIRS, where to find jemalloc.h, Set when | ||
# JEMALLOC_INCLUDE_DIR is found. | ||
# JEMALLOC_LIBRARIES, libraries to link against to use JeMalloc. | ||
# JEMALLOC_FOUND, If false, do not try to use JeMalloc. | ||
# | ||
# JEMALLOC_INCLUDE_DIR - where to find jemalloc.h, etc. | ||
# JEMALLOC_LIBRARIES - List of libraries when using jemalloc. | ||
# JEMALLOC_FOUND - True if jemalloc found. | ||
|
||
find_path(JEMALLOC_INCLUDE_DIR | ||
jemalloc/jemalloc.h) | ||
NAMES jemalloc/jemalloc.h | ||
HINTS ${JEMALLOC_ROOT_DIR}/include) | ||
|
||
find_library(JEMALLOC_LIBRARIES | ||
jemalloc) | ||
NAMES jemalloc | ||
HINTS ${JEMALLOC_ROOT_DIR}/lib) | ||
|
||
include(FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args(JeMalloc DEFAULT_MSG | ||
JEMALLOC_LIBRARIES JEMALLOC_INCLUDE_DIR) | ||
find_package_handle_standard_args(jemalloc DEFAULT_MSG JEMALLOC_LIBRARIES JEMALLOC_INCLUDE_DIR) | ||
|
||
MARK_AS_ADVANCED( | ||
JEMALLOC_INCLUDE_DIR | ||
mark_as_advanced( | ||
JEMALLOC_LIBRARIES | ||
) | ||
JEMALLOC_INCLUDE_DIR) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters