cbalint13 commented on a change in pull request #6416:
URL: https://github.com/apache/incubator-tvm/pull/6416#discussion_r484563687
##########
File path: CMakeLists.txt
##########
@@ -393,7 +393,7 @@ if(USE_THREADS AND NOT BUILD_FOR_HEXAGON)
target_link_libraries(tvm_runtime Threads::Threads)
endif()
-target_link_libraries(tvm ${TVM_LINKER_LIBS} ${TVM_RUNTIME_LINKER_LIBS})
+target_link_libraries(tvm -static-libgcc ${TVM_LINKER_LIBS}
${TVM_RUNTIME_LINKER_LIBS})
Review comment:
Can append() the linker flag to TVM_LINKER_LIBS variable using condition
on cmake's CMAKE_SYSTEM_PROCESSOR is arm64 ?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]