pfk-beta opened a new issue #8743:
URL: https://github.com/apache/tvm/issues/8743


   During building Anroid RPC App, I'm getting stacktrace:
   ```
   make: Entering directory '/workspace/apps/android_rpc/app/src/main/jni'
   Android NDK: WARNING: APP_PLATFORM android-30 is higher than 
android:minSdkVersion 1 in 
/workspace/apps/android_rpc/app/src/main/AndroidManifest.xml. NDK binaries will 
*not* be compatible with devices older than android-30. See 
https://android.googlesource.com/platform/ndk/+/master/docs/user/common_problems.md
 for more information.    
   Android NDK: 
WARNING:/workspace/apps/android_rpc/app/src/main/jni/Android.mk:tvm4j_runtime_packed:
 non-system libraries in linker flags: -latomic 
/workspace/pull-from-android-device/libOpenCL.so    
   Android NDK:     This is likely to result in incorrect builds. Try using 
LOCAL_STATIC_LIBRARIES    
   Android NDK:     or LOCAL_SHARED_LIBRARIES instead to list the library 
dependencies of the    
   Android NDK:     current module    
   make: Leaving directory '/workspace/apps/android_rpc/app/src/main/jni'
   make: Entering directory '/workspace/apps/android_rpc/app/src/main/jni'
   [arm64-v8a] Compile++      : tvm4j_runtime_packed <= 
org_apache_tvm_native_c_api.cc
   In file included from 
/workspace/apps/android_rpc/app/src/main/jni/org_apache_tvm_native_c_api.cc:25:
   /workspace/apps/android_rpc/app/src/main/jni/tvm_runtime.h:71:10: fatal 
error: '../src/runtime/vulkan/vulkan.cc' file not found
   #include "../src/runtime/vulkan/vulkan.cc"
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   1 error generated.
   make: *** 
[/opt/android-sdk-linux/ndk/21.3.6528147/build/core/build-binary.mk:478: 
/workspace/apps/android_rpc/app/src/main/obj/local/arm64-v8a/objs/tvm4j_runtime_packed/org_apache_tvm_native_c_api.o]
 Error 1
   make: Leaving directory '/workspace/apps/android_rpc/app/src/main/jni'
   
   ```
   
   `tvm_runtime.h` requires `vulkan.cc` which is not present in desired folder, 
nor in 0.7v and 0.8v


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