mirror of https://github.com/facebook/rocksdb.git
Fix scan-build path (#12563)
Summary: As title Pull Request resolved: https://github.com/facebook/rocksdb/pull/12563 Test Plan: ``` make -j64 release ``` **Before the fix** ``` $DEBUG_LEVEL is 0, $LIB_MODE is static Makefile:306: Warning: /mnt/gvfs/third-party2/llvm-fb/1f6edd1ff15c99c861afc8f3cd69054cd974dd64/15/platform010/72a2ff8/../../src/llvm/clang/tools/scan-build/bin/scan-build does not exist ... ``` **After the fix** ``` $DEBUG_LEVEL is 0, $LIB_MODE is static ... ``` Reviewed By: ajkr Differential Revision: D56318047 Pulled By: jaykorean fbshipit-source-id: 4a11ad8353fc94aa96676e57c67063d051de5fbc
This commit is contained in:
parent
909ff2c208
commit
ca3814aef9
|
@ -113,7 +113,7 @@ CLANG_LIB="$CLANG_BASE/lib"
|
|||
CLANG_SRC="$CLANG_BASE/../../src"
|
||||
|
||||
CLANG_ANALYZER="$CLANG_BIN/clang++"
|
||||
CLANG_SCAN_BUILD="$CLANG_SRC/llvm/tools/clang/tools/scan-build/bin/scan-build"
|
||||
CLANG_SCAN_BUILD="$CLANG_BIN/scan-build
|
||||
|
||||
if [ -z "$USE_CLANG" ]; then
|
||||
# gcc
|
||||
|
|
|
@ -110,7 +110,7 @@ CLANG_LIB="$CLANG_BASE/lib"
|
|||
CLANG_SRC="$CLANG_BASE/../../src"
|
||||
|
||||
CLANG_ANALYZER="$CLANG_BIN/clang++"
|
||||
CLANG_SCAN_BUILD="$CLANG_SRC/llvm/clang/tools/scan-build/bin/scan-build"
|
||||
CLANG_SCAN_BUILD="$CLANG_BIN/scan-build"
|
||||
|
||||
if [ -z "$USE_CLANG" ]; then
|
||||
# gcc
|
||||
|
|
Loading…
Reference in New Issue