| # Copyright 2021 The IREE Authors |
| # |
| # Licensed under the Apache License v2.0 with LLVM Exceptions. |
| # See https://llvm.org/LICENSE.txt for license information. |
| # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| |
| FROM gcr.io/iree-oss/cmake-bazel-frontends@sha256:8974ee20d855ecfc8b9e511f4fb4a25d67888952738d2c457d9fd91116b6b67f AS final |
| |
| # Note that NDK_VERSION should be kept in sync with the one in cmake-android. |
| # That actually means this isn't really an ARG because we cannot build this |
| # image with a different NDK version. |
| ARG NDK_VERSION=r21d |
| COPY --from=gcr.io/iree-oss/cmake-android@sha256:a152f0d006e237105f8ed9a7e041a6a235c1a69dc1e209383c81087c574b39bf "/usr/src/android-ndk-${NDK_VERSION}" "/usr/src/android-ndk-${NDK_VERSION}" |
| ENV ANDROID_NDK "/usr/src/android-ndk-${NDK_VERSION}" |
| |