Remove google perftools dependency
This commit is contained in:
parent
b06d2c80de
commit
cfef576a9f
3 changed files with 4 additions and 22 deletions
|
|
@ -12,5 +12,7 @@ addons:
|
|||
|
||||
install:
|
||||
- export CXX="g++-5"
|
||||
- script/configure -D USE_LIBPROFILER=false
|
||||
script: script/ci
|
||||
- script/configure
|
||||
|
||||
script:
|
||||
- script/ci
|
||||
|
|
|
|||
12
script/configure
vendored
12
script/configure
vendored
|
|
@ -5,15 +5,3 @@ set -e
|
|||
git submodule update --init --recursive
|
||||
externals/gyp/gyp project.gyp --depth . --format=make $@
|
||||
externals/gyp/gyp tests.gyp --depth . --format=make $@
|
||||
|
||||
if [ "$1" == "-h" ]; then
|
||||
cat <<-HELP
|
||||
|
||||
Variables:
|
||||
|
||||
-D USE_LIBPROFILER=false
|
||||
Don't link libprofiler into the test binaries. This flag is needed on systems
|
||||
where libprofiler (from the google-perftools package) is not installed.
|
||||
|
||||
HELP
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -42,14 +42,6 @@
|
|||
'ldflags': [
|
||||
'-g',
|
||||
],
|
||||
'variables': {
|
||||
'USE_LIBPROFILER%': 'true',
|
||||
},
|
||||
'conditions': [
|
||||
['USE_LIBPROFILER != "false"', {
|
||||
'libraries': ['-lprofiler'],
|
||||
}]
|
||||
],
|
||||
'xcode_settings': {
|
||||
'CLANG_CXX_LANGUAGE_STANDARD': 'c++11',
|
||||
'OTHER_LDFLAGS': ['-g'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue