Skip to content

Commit 085fd9b

Browse files
committed
Add linker args for more torch libs
.
1 parent 7b5b696 commit 085fd9b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: CMakeLists.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ set(DISALLOWED_LIBS
7070
"libtorch_python"
7171
)
7272

73-
7473
set(LIBTORCH_LIBS_LINKER_ARGS "") # Will hold the list of "-l..." flags.
7574
foreach(lib_name IN LISTS LIBTORCH_ALL_LIBS)
7675
if(lib_name IN_LIST DISALLOWED_LIBS)
@@ -85,7 +84,7 @@ foreach(lib_name IN LISTS LIBTORCH_ALL_LIBS)
8584
list(APPEND LIBTORCH_LIBS_LINKER_ARGS "-l${lib_name_short}")
8685
endforeach()
8786

88-
cmake_print_variables(LIBTORCH_LIBS_LINKER_ARGS)
87+
# cmake_print_variables(LIBTORCH_LIBS_LINKER_ARGS)
8988

9089
add_executable(TorchBridge ${BRIDGE_DIR}/lib/Bridge.chpl)
9190
add_dependencies(TorchBridge bridge)

0 commit comments

Comments
 (0)