mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Finish #1358
Summary: Closes https://github.com/caffe2/caffe2/pull/1362 Differential Revision: D6115853 Pulled By: Yangqing fbshipit-source-id: 581713e328f778fe916114f4f52d7089bc25bc3c
This commit is contained in:
committed by
Facebook Github Bot
parent
39729aa55c
commit
ba1dba45f7
@ -128,9 +128,8 @@ if(BUILD_TEST)
|
||||
|
||||
# We will not need to test benchmark lib itself.
|
||||
set(BENCHMARK_ENABLE_TESTING OFF)
|
||||
# We will not need to install benchmark. This is pending
|
||||
# https://github.com/google/benchmark/pull/463
|
||||
set(INSTALL_BENCHMARK OFF)
|
||||
# We will not need to install benchmark since we link it statically.
|
||||
set(BENCHMARK_ENABLE_INSTALL OFF)
|
||||
add_subdirectory(${PROJECT_SOURCE_DIR}/third_party/benchmark)
|
||||
caffe2_include_directories(${PROJECT_SOURCE_DIR}/third_party/benchmark/include)
|
||||
|
||||
|
Reference in New Issue
Block a user