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 2022/11/07 14:11:52 UTC

[GitHub] [tvm] elvin-n commented on a diff in pull request #13305: [CPP_RPC][ANDROID] Fix cpp_rpc build failure

elvin-n commented on code in PR #13305:
URL: https://github.com/apache/tvm/pull/13305#discussion_r1015469952


##########
apps/cpp_rpc/CMakeLists.txt:
##########
@@ -32,6 +32,14 @@ if (OS)
    endif()
 endif()
 
+if(USE_OPENCL)

Review Comment:
   tried to build this using follow command line `cmake  -DCMAKE_TOOLCHAIN_FILE=Android/Sdk/ndk/22.1.7171670/build/cmake/android.toolchain.cmake -DANDROID_ABI=arm64-v8a -DANDROID_NATIVE_API_LEVEL=android-23 -DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=ON -DANDROID_STL=c++_static ..` and got follow error:
   ```
   CMake Error at apps/cpp_rpc/CMakeLists.txt:37 (if):
     if given arguments:
   
       "VERSION_LESS" "23"
   
     Unknown arguments specified
   ```
   cmake version: 3.18.4 on ubuntu 21.10



-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org