Enable JIT tests on Windows (#27029)

Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/27029

Reviewed By: eellison

Differential Revision: D20458664

Pulled By: jamesr66a

fbshipit-source-id: 22be918543703869f471e89b3478423198351bf3
This commit is contained in:
peter
2020-03-16 11:18:16 -07:00
committed by Facebook GitHub Bot
parent 1af6002321
commit 24c9e61e79
6 changed files with 20 additions and 13 deletions

View File

@ -788,7 +788,7 @@ ENDIF()
DESTINATION ${TORCH_INSTALL_INCLUDE_DIR}/torch)
if (BUILD_TEST AND NOT MSVC AND NOT USE_ROCM)
if (BUILD_TEST AND NOT USE_ROCM)
add_subdirectory(${TORCH_ROOT}/test/cpp/jit ${CMAKE_BINARY_DIR}/test_jit)
add_subdirectory(${TORCH_ROOT}/test/cpp/tensorexpr ${CMAKE_BINARY_DIR}/test_tensorexpr)
if (USE_DISTRIBUTED)