| # 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:37694fe7cf9f5624b5c09502848605f6035790c907f0b274454c3574ec1d416d 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:478fd1790e2bcc788ca52a7e3d1e514de713e97847fc14e2d33abb05bc40a4f6 "/usr/src/android-ndk-${NDK_VERSION}" "/usr/src/android-ndk-${NDK_VERSION}" |
| ENV ANDROID_NDK "/usr/src/android-ndk-${NDK_VERSION}" |
| |