zhaiyi000 commented on issue #9268:
URL: https://github.com/apache/tvm/issues/9268#issuecomment-943351479


   I tried the following code but it didn’t work
   
   ```
   cmd += ["-target", "arm64-apple-ios14.7.1"]  # any iOS version <15
   ```
   ```
   cmake ..\
     -DCMAKE_BUILD_TYPE=Debug\
     -DCMAKE_SYSTEM_NAME=iOS\
     -DCMAKE_SYSTEM_VERSION=14.7.1\
     -DCMAKE_OSX_SYSROOT=iphoneos\
     -DCMAKE_OSX_ARCHITECTURES=arm64\
     -DCMAKE_OSX_DEPLOYMENT_TARGET=14.7.1\
     -DCMAKE_BUILD_WITH_INSTALL_NAME_DIR=ON\
     -DUSE_IOS_RPC=ON\
     -DUSE_METAL=ON
   ```
   


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