diff --git a/cmake/external/gflags.cmake b/cmake/external/gflags.cmake index 34f5d7e2befa911585892b44898be4f715cc8656..576598b4ac6e3bc085f75465456be580db159005 100644 --- a/cmake/external/gflags.cmake +++ b/cmake/external/gflags.cmake @@ -30,8 +30,6 @@ ENDIF(WIN32) INCLUDE_DIRECTORIES(${GFLAGS_INCLUDE_DIR}) -set(GFLAGS_NAMESPACE "paddle_gflags") - cache_third_party(extern_gflags REPOSITORY ${GFLAGS_REPOSITORY} TAG ${GFLAGS_TAG} @@ -59,7 +57,6 @@ ExternalProject_Add( -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DBUILD_TESTING=OFF -DCMAKE_BUILD_TYPE=${THIRD_PARTY_BUILD_TYPE} - -DGFLAGS_NAMESPACE=${GFLAGS_NAMESPACE} ${EXTERNAL_OPTIONAL_ARGS} CMAKE_CACHE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${GFLAGS_INSTALL_DIR} -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=ON diff --git a/paddle/fluid/inference/check_symbol.sh b/paddle/fluid/inference/check_symbol.sh index acf7f2bac52adff0a6ac121ee95382b9e3edcf27..1d9b566e6c4333ce48e417a9bdbd567326941302 100755 --- a/paddle/fluid/inference/check_symbol.sh +++ b/paddle/fluid/inference/check_symbol.sh @@ -18,7 +18,7 @@ lib=$1 if [ $# -ne 1 ]; then echo "No input library"; exit -1 ; fi num_paddle_syms=$(nm -D "${lib}" | grep -c paddle ) -num_google_syms=$(nm -D "${lib}" | grep google | grep -v paddle | grep -v brpc | grep -v fL | grep -c "T " ) +num_google_syms=$(nm -D "${lib}" | grep google | grep -v paddle | grep -v brpc | grep -c "T " ) if [ $num_paddle_syms -le 0 ]; then echo "Have no paddle symbols"; exit -1 ; fi if [ $num_google_syms -ge 1 ]; then echo "Have some google symbols"; exit -1 ; fi diff --git a/paddle/fluid/inference/paddle_fluid.map b/paddle/fluid/inference/paddle_fluid.map index c1554a00888299b8e4ff4924c19ba6a0371a8e65..5bb9b8d75620b25231b2b9237dd840a9909137d0 100644 --- a/paddle/fluid/inference/paddle_fluid.map +++ b/paddle/fluid/inference/paddle_fluid.map @@ -3,7 +3,6 @@ *paddle*; *Pass*; *profile*; - *fL*; local: *; };