Skip to content

Commit

Permalink
Fixed CI for Android
Browse files Browse the repository at this point in the history
  • Loading branch information
EduMenges committed Sep 26, 2024
1 parent 03c3f0e commit 4ea5a74
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ jobs:
build:
env:
GRPC_BUILD_ENABLE_CCACHE: "ON"
CMAKE_NO_VERBOSE: "ON"
runs-on: ${{matrix.host}}
strategy:
fail-fast: false
Expand Down
2 changes: 1 addition & 1 deletion build/Android/Boost-for-Android
6 changes: 5 additions & 1 deletion build/CommonTargets.CMake
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,10 @@ if(NOT ANDROID AND NOT IOS)
${_CMAKE_COMMON_CACHE_ARGS}
DEPENDS Vulkan-Headers
)

set(ENV{VULKAN_SDK} "${CMAKE_CURRENT_BINARY_DIR}/Vulkan-Loader")
set(vulkanTarget Vulkan-Loader)
message("VULKAN_SDK: ${$ENV{VULKAN_SDK}}")
endif()

# MNN
Expand All @@ -387,7 +391,7 @@ ExternalProject_Add(MNN
-DMNN_WIN_RUNTIME_MT:BOOL=ON
${_CMAKE_COMMON_CACHE_ARGS}
${_MNN_EXTRA_PARAM}
DEPENDS ${_MNN_DEPENDS}
DEPENDS ${_MNN_DEPENDS} ${vulkanTarget}
)

set(_FINDPACKAGE_MNN_CONFIG_DIR "${CMAKE_CURRENT_BINARY_DIR}/MNN/lib/cmake/mnn")
Expand Down

0 comments on commit 4ea5a74

Please sign in to comment.