You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/06/14 07:20:35 UTC

[GitHub] [tvm] apeskov commented on a change in pull request #8242: Fix compilation of tvm runtime for iOS

apeskov commented on a change in pull request #8242:
URL: https://github.com/apache/tvm/pull/8242#discussion_r649895299



##########
File path: CMakeLists.txt
##########
@@ -172,7 +172,7 @@ else(MSVC)
   # ld option to warn if symbols are undefined (e.g. libtvm_runtime.so
   # using symbols only present in libtvm.so).  Not needed for MSVC,
   # since this is already the default there.
-  if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
+  if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin" OR ${CMAKE_SYSTEM_NAME} MATCHES "iOS")

Review comment:
       you can use regexp "Darwin|iOS" here




-- 
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:
users@infra.apache.org