pytorch/modules
Michael Suo aff92ef3d6 Make a separate cmake option for caffe2 tests (#37721)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/37721

Even though we disabled caffe2 test configs in Python, the BUILD_TEST
option was still building caffe2 test cpp binaries and various CI
configurations were running them (since they just run every binary in
`torch/test`).

This PR adds a caffe2-specific BUILD_TEST option (BUILD_CAFFE2_TEST),
which defaults to OFF, and gates the compilation of caffe2 test cpp
binaries under it.

Test Plan: Imported from OSS

Differential Revision: D21369541

Pulled By: suo

fbshipit-source-id: 669cff70c5b53f016e8e016bcb3a99bf3617e1f9
2020-05-04 23:26:27 -07:00
..
detectron [cmake] add HAVE_SOVERSION option (default=OFF). (#37502) 2020-04-30 06:52:33 -07:00
module_test Make a separate cmake option for caffe2 tests (#37721) 2020-05-04 23:26:27 -07:00
observers [cmake] add HAVE_SOVERSION option (default=OFF). (#37502) 2020-04-30 06:52:33 -07:00
rocksdb Fix/relax CMake linter rules (#35574) 2020-03-27 16:52:33 -07:00
CMakeLists.txt Enable detectron on AMD GPU 2019-03-12 16:29:42 -07:00