-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[CI] [GHA] Introduce Android x64 workflow #26086
[CI] [GHA] Introduce Android x64 workflow #26086
Conversation
.github/workflows/android_x64.yml
Outdated
ANDROID_NDK_HOME: '/deps/android_tools/ndk-bundle' | ||
ANDROID_SDK_VERSION: 29 | ||
ANDROID_ABI_CONFIG: x86_64 | ||
VCPKG_TARGET_TRIPLET: x86-android |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
VCPKG_TARGET_TRIPLET: x86-android | |
VCPKG_TARGET_TRIPLET: x64-android |
.github/workflows/android_x64.yml
Outdated
git submodule update --init -- ${OPENVINO_REPO}/thirdparty/gtest | ||
git submodule update --init -- ${OPENVINO_REPO}/thirdparty/gflags | ||
git submodule update --init -- ${OPENVINO_REPO}/thirdparty/xbyak | ||
git submodule update --init -- ${OPENVINO_REPO}/thirdparty/protobuf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hope that list of extra fetched submodules should be the same as for arm64 Android.
.github/workflows/android_x64.yml
Outdated
-DVCPKG_HOST_TRIPLET=x64-linux-release \ | ||
-DCMAKE_TOOLCHAIN_FILE=${VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake \ | ||
-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=${ANDROID_NDK_HOME}/build/cmake/android.toolchain.cmake \ | ||
-DCMAKE_COMPILE_WARNING_AS_ERROR=ON \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can temporary disable this flag
.github/workflows/android_x64.yml
Outdated
-DENABLE_SYSTEM_PUGIXML=ON \ | ||
-DENABLE_SYSTEM_SNAPPY=ON \ | ||
-DENABLE_SYSTEM_TBB=ON \ | ||
-DENABLE_INTEL_NPU=OFF \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's add a condition to cmake to enable NPU only Linux and Windows
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, please take a look.
@ilya-lavrenov, do we need to align the workflow with that of Jenkins or do we proceed with what is in the arm workflow? As I can see, there are quite a few differences: e.g., cmake options, compilers, NDK version, usage of VCPKG, ninja, etc. |
cmake/features.cmake
Outdated
@@ -49,7 +49,7 @@ else() | |||
set(ENABLE_INTEL_NPU_DEFAULT OFF) | |||
endif() | |||
|
|||
ov_dependent_option (ENABLE_INTEL_NPU "NPU plugin for OpenVINO runtime" ${ENABLE_INTEL_NPU_DEFAULT} "X86 OR X86_64;NOT APPLE" OFF) | |||
ov_dependent_option (ENABLE_INTEL_NPU "NPU plugin for OpenVINO runtime" ${ENABLE_INTEL_NPU_DEFAULT} "(X86 OR X86_64) AND (WIN32 OR LINUX);NOT APPLE" OFF) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ov_dependent_option (ENABLE_INTEL_NPU "NPU plugin for OpenVINO runtime" ${ENABLE_INTEL_NPU_DEFAULT} "(X86 OR X86_64) AND (WIN32 OR LINUX);NOT APPLE" OFF) | |
ov_dependent_option (ENABLE_INTEL_NPU "NPU plugin for OpenVINO runtime" ON "X86_64;WIN32 OR LINUX" OFF) |
could you please also drop ENABLE_INTEL_NPU_DEFAULT
definition?
Pull Request is not mergeable
…envino into ci/gha/introduce-android-x64
Tickets: