mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 05:34:18 +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.
|
# We will not need to test benchmark lib itself.
|
||||||
set(BENCHMARK_ENABLE_TESTING OFF)
|
set(BENCHMARK_ENABLE_TESTING OFF)
|
||||||
# We will not need to install benchmark. This is pending
|
# We will not need to install benchmark since we link it statically.
|
||||||
# https://github.com/google/benchmark/pull/463
|
set(BENCHMARK_ENABLE_INSTALL OFF)
|
||||||
set(INSTALL_BENCHMARK OFF)
|
|
||||||
add_subdirectory(${PROJECT_SOURCE_DIR}/third_party/benchmark)
|
add_subdirectory(${PROJECT_SOURCE_DIR}/third_party/benchmark)
|
||||||
caffe2_include_directories(${PROJECT_SOURCE_DIR}/third_party/benchmark/include)
|
caffe2_include_directories(${PROJECT_SOURCE_DIR}/third_party/benchmark/include)
|
||||||
|
|
||||||
|
2
third_party/benchmark
vendored
2
third_party/benchmark
vendored
Submodule third_party/benchmark updated: 25acf220a4...491360b833
Reference in New Issue
Block a user