alanmacd commented on issue #13709:
URL: https://github.com/apache/tvm/issues/13709#issuecomment-1372971838

   @mikeseven here's a workaround for the moment, will post PR shortly:
   ```
   diff --git a/cmake/modules/StandaloneCrt.cmake 
b/cmake/modules/StandaloneCrt.cmake
   index 306e4af13..2ca37f53d 100644
   --- a/cmake/modules/StandaloneCrt.cmake
   +++ b/cmake/modules/StandaloneCrt.cmake
   @@ -196,7 +196,7 @@ else()
      if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
      list(APPEND TVM_RUNTIME_LINKER_LIBS -Wl,--whole-archive 
${TVM_CRT_LINKER_LIB} -Wl,--no-whole-archive)
      elseif("${CMAKE_CXX_COMPILER_ID}" MATCHES ".*Clang")
   -  list(APPEND TVM_RUNTIME_LINKER_LIBS -Wl,-force_load 
$<TARGET_PROPERTY:${TVM_CRT_LINKER_LIB},IMPORTED_LOCATION>)
   +  list(APPEND TVM_RUNTIME_LINKER_LIBS -Wl,-force_load ${TVM_CRT_LINKER_LIB})
      else()
      list(APPEND TVM_RUNTIME_LINKER_LIBS ${TVM_CRT_LINKER_LIB})
      endif()
      ```


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to