xref: /aosp_15_r20/external/pytorch/test/inductor/CMakeLists.txt (revision da0073e96a02ea20f0ac840b70461e3646d07c45)
1# Build separate libraries the define custom classes/operators used from our Python tests.
2# These are intended to be used with torch.ops.load_library() in our Python test suite.
3add_library(aoti_custom_ops SHARED custom_ops.cpp)
4target_link_libraries(aoti_custom_ops torch)
5
6if(INSTALL_TEST)
7  install(TARGETS aoti_custom_ops DESTINATION lib)
8endif()
9