Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions source/api_c/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ if(ENABLE_TENSORFLOW)
endif()
if(ENABLE_PYTORCH)
target_compile_definitions(runUnitTests_c PRIVATE BUILD_PYTORCH)
# Link torch so __has_include(<torch/csrc/inductor/...>) succeeds and
# BUILD_PT_EXPT is set for the test binary; otherwise pt_expt tests all
# GTEST_SKIP() with "PyTorch support is not enabled".
target_link_libraries(runUnitTests_c PRIVATE "${TORCH_LIBRARIES}")
endif()
if(ENABLE_JAX)
target_compile_definitions(runUnitTests_c PRIVATE BUILD_JAX)
Expand Down
355 changes: 0 additions & 355 deletions source/api_c/tests/test_deeppot_a.cc

This file was deleted.

Loading
Loading