mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-01 03:45:06 +00:00
Update NDK to 26.0.10792818 (#17852)
### Description Update NDK to 26.0.10792818 which is included in every macOS build machine so that we do not need to download a different version every time in every build. ### Motivation and Context Downloading NDK on-the-fly is a main contributor of Android related build failures.
This commit is contained in:
parent
163218d6d7
commit
3f3ece4a39
3 changed files with 3 additions and 3 deletions
|
|
@ -186,7 +186,7 @@ void LoopDataFile(int test_data_pb_fd, bool is_input, const TestModelInfo& model
|
|||
f.SetCloseOnDelete(true);
|
||||
google::protobuf::io::CodedInputStream coded_input(&f);
|
||||
bool clean_eof = false;
|
||||
int item_id = 1;
|
||||
[[maybe_unused]] int item_id = 1;
|
||||
for (proto::TraditionalMLData data;
|
||||
ParseDelimitedFromCodedStream(&data, &coded_input, &clean_eof);
|
||||
++item_id, data.Clear()) {
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ WORKDIR /workspace
|
|||
|
||||
# install Android SDK and tools
|
||||
ENV ANDROID_HOME=~/android-sdk
|
||||
ENV NDK_VERSION=25.0.8775105
|
||||
ENV NDK_VERSION=26.0.10792818
|
||||
ENV ANDROID_NDK_HOME=${ANDROID_HOME}/ndk/${NDK_VERSION}
|
||||
|
||||
RUN aria2c -q -d /tmp -o cmdline-tools.zip \
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
parameters:
|
||||
- name: AndroidNdkVersion
|
||||
type: string
|
||||
default: "25.0.8775105" # LTS version
|
||||
default: "26.0.10792818" # LTS version
|
||||
|
||||
steps:
|
||||
- bash: |
|
||||
|
|
|
|||
Loading…
Reference in a new issue