We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 085fd9b commit 6a8fffaCopy full SHA for 6a8fffa
1 file changed
CMakeLists.txt
@@ -100,4 +100,15 @@ target_link_options(TorchBridge
100
${LIBTORCH_LIBS_LINKER_ARGS}
101
--ldflags "-Wl,-rpath,${LIBTORCH_DIR}/lib"
102
)
103
-# install(TARGETS TorchBridge DESTINATION ".")
+
104
+add_executable(TinyLayerTest ${PROJECT_ROOT_DIR}/test/tiny/layer_test.chpl)
105
+add_dependencies(TinyLayerTest bridge)
106
+target_link_options(TinyLayerTest
107
+ PRIVATE
108
+ -M ${PROJECT_ROOT_DIR}/lib
109
+ ${BRIDGE_DIR}/include/bridge.h
110
+ ${BRIDGE_OBJECT_FILES}
111
+ -L ${LIBTORCH_DIR}/lib
112
+ ${LIBTORCH_LIBS_LINKER_ARGS}
113
+ --ldflags "-Wl,-rpath,${LIBTORCH_DIR}/lib"
114
+)
0 commit comments