Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Static compilation problem "armeabi-v7a with NEON" #17985

Closed
dapengchen1234 opened this issue Jun 10, 2023 · 1 comment · Fixed by #17970
Closed

Static compilation problem "armeabi-v7a with NEON" #17985

dapengchen1234 opened this issue Jun 10, 2023 · 1 comment · Fixed by #17970
Assignees
Labels
platform: android OpenVINO on Android platform: arm OpenVINO on ARM / ARM64
Milestone

Comments

@dapengchen1234
Copy link

The cmake configuration is:
'''
cmake .. -DCMAKE_TOOLCHAIN_FILE=../../downloads/android-ndk-r21e/build/cmake/android.toolchain.cmake -DANDROID_ABI="armeabi-v7a with NEON" -DANDROID_PLATFORM=21 -DANDROID_STL=c++_shared -DENABLE_OPENCV=OFF -DENABLE_SAMPLES=OFF -DBUILD_SHARED_LIBS=OFF
'''
For dynamic compilation, it works well. But for static compilation, it reported the following error:

CMake Error at cmake/developer_package/IEDevScriptsConfig.cmake:256 (install):
install TARGETS given target "arm_compute_core" which does not exist.
Call Stack (most recent call first):
src/plugins/intel_cpu/thirdparty/CMakeLists.txt:146 (ov_install_static_lib)
src/plugins/intel_cpu/thirdparty/CMakeLists.txt:151 (ie_add_onednn)

@ilya-lavrenov
Copy link
Contributor

ilya-lavrenov commented Jun 10, 2023

Hi @dapengchen1234

I suppose you use 2023.0.0 tag / branch.
But in current master we have several improvements for static compilation and the issue is fixed. Please, try using master.

Specifically for Android, we have one fix #17970 which is not merged yet.

@ilya-lavrenov ilya-lavrenov added this to the 2023.1 milestone Jun 10, 2023
@ilya-lavrenov ilya-lavrenov added platform: android OpenVINO on Android platform: arm OpenVINO on ARM / ARM64 labels Jun 10, 2023
@ilya-lavrenov ilya-lavrenov self-assigned this Jun 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: android OpenVINO on Android platform: arm OpenVINO on ARM / ARM64
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants