Skip to content

Commit 4ff027d

Browse files
committed
Compiling with all pytorch shared libs DOES NOT work for mac.
1 parent f00e90a commit 4ff027d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ foreach(lib_path IN LISTS PYTORCH_LIBS)
6161
endforeach()
6262

6363
# cmake_print_variables(PYTORCH_LIBS)
64-
cmake_print_variables(PYTORCH_LIBS_LINKER_ARGS)
64+
# cmake_print_variables(PYTORCH_LIBS_LINKER_ARGS)
6565

6666
add_executable(TorchBridge ${BRIDGE_DIR}/lib/Bridge.chpl)
6767
add_dependencies(TorchBridge bridge)
@@ -73,7 +73,7 @@ target_link_options(TorchBridge
7373
"-ltorch"
7474
"-ltorch_cpu"
7575
"-lc10"
76-
${PYTORCH_LIBS_LINKER_ARGS}
76+
# ${PYTORCH_LIBS_LINKER_ARGS}
7777
--ldflags "-Wl,-rpath,${LIBTORCH_DIR}/lib"
7878
)
7979
# install(TARGETS TorchBridge DESTINATION ".")

0 commit comments

Comments
 (0)