Move profiler under core/thirdparty (#12949)

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
pull/12964/head
Cai Yudong 2021-12-08 13:01:04 +08:00 committed by GitHub
parent df875c5985
commit 45bac3e4ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 4 additions and 7 deletions

View File

@ -189,8 +189,3 @@ if (KNOWHERE_WITH_FAISS AND NOT TARGET faiss_ep)
include_directories(SYSTEM "${FAISS_INCLUDE_DIR}")
link_directories(SYSTEM ${FAISS_PREFIX}/lib/)
endif ()
if ( BUILD_UNIT_TEST STREQUAL "ON" )
add_subdirectory(profilers)
endif ()

View File

@ -42,6 +42,7 @@ find_package( Threads REQUIRED )
if ( MILVUS_BUILD_TESTS )
add_subdirectory( gtest )
add_subdirectory( google_benchmark )
add_subdirectory( profilers )
endif()

View File

@ -10,8 +10,6 @@
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
# or implied. See the License for the specific language governing permissions and limitations under the License.
#-------------------------------------------------------------------------------
set( LIBUNWIND_VERSION 1.6.2 )
set( GPERFTOOLS_VERSION 2.9.1 )
if ( DEFINED ENV{KNOWHERE_LIBUNWIND_URL} )
set( LIBUNWIND_SOURCE_URL "$ENV{KNOWHERE_LIBUNWIND_URL}" )

View File

@ -2,3 +2,5 @@ GTEST_VERSION=1.8.1
YAMLCPP_VERSION=0.6.3
OPENTRACING_VERSION=v1.5.1
PROTOBUF_VERSION=3.9.0
LIBUNWIND_VERSION=1.6.2
GPERFTOOLS_VERSION=2.9.1

View File

@ -60,6 +60,7 @@ target_link_libraries(index_builder_test
milvus_indexbuilder
log
pthread
gperftools
)
target_link_libraries(all_tests