Skip to content

Commit 4fd7a1d

Browse files
authored
[docker] More code sharing and use development clang for Bazel builds (iree-org#11108)
There's a lot going on here. I'd normally try to break things up into separate PRs, but building and testing the Docker containers is labor intensive, so this is all in one. I tried to create a sensible series of commits for review, at least. If desired, I could do further cleanup to the commits (give them all names that make sense with less context) and merge this with a merge commit. The original goal here was to use the development version of `clang` in the Bazel build so that we can catch layering issues. Google uses a close-to-head `clang` internally so we get the new diagnostics and such and have to deal with them when pulling into the Google monorepo. In particular, llvm/llvm-project@a002063de3 fixed a bug in the layering detection for `clang` which caused it to catch a bunch more layering issues, fixed in iree-org#11166. Given that some of the main reasons to maintain the Bazel build are to ease integration into Google's monorepo and to catch layering violations, it seems better to use development `clang` for this build. Ensuring support for old clang + Bazel is not a particularly high priority, especially since few (no?) project developers actually develop using Bazel. While doing this, I did a bunch more cleanup though, partially as it became the easiest way to make some changes. - The restructuring in iree-org#11083 to open up the Docker context enabled increased usage of shared scripts, including those we use for non-Docker purposes. - Similarly, I was able to limit the number of places where we specify our minimum supported version. These have frequently not been kept in sync (e.g. iree-org#8811 didn't bump the SwiftShader version in our user install script). - I codified Python package versions with pip requirements files instead of having them scattered about Dockerfiles and documentation. - I made all the containers build with "safe" bash by default. - I bumped our *maximum* supported CMake version.
1 parent 952aeca commit 4fd7a1d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+435
-405
lines changed

.dockerignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,8 @@
1717
!build_tools/docker/context/**
1818
# Avoid duplicating dependency requirement information
1919
!runtime/bindings/python/iree/runtime/build_requirements.txt
20+
!integrations/tensorflow/test/requirements.txt
21+
# Share Swiftshader installation script with user instructions
22+
!build_tools/third_party/swiftshader/build_vk_swiftshader.sh
23+
# Keep the Bazel version in only one place
24+
!.bazelversion

.github/workflows/android_tflite_oneshot_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
build_android_with_docker:
1010
runs-on: ubuntu-20.04
1111
env:
12-
ANDROID_CONTAINER: "gcr.io/iree-oss/gradle-android@sha256:9d356d8ffdb2258782cea1685b94064b50081d843e23654b0966ba1e01585043"
12+
ANDROID_CONTAINER: "gcr.io/iree-oss/gradle-android@sha256:868038ec2c27b33a13ceee831fdb0cb0ac6e9035205305cc03c4e27b043228de"
1313
steps:
1414
- uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
1515
with:

.github/workflows/benchmarks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
--env "IREE_TF_BINARIES_DIR=${TF_BINARIES_DIR}" \
9898
--env "IREE_HOST_BINARY_ROOT=${BUILD_DIR}/install" \
9999
--env "BUILD_BENCHMARKS_DIR=${BENCHMARKS_OUTPUT_DIR}" \
100-
gcr.io/iree-oss/base@sha256:7c3027c48b94fc38e64488987fc7893c100526c57308d25cef0c6b76a2dfe117 \
100+
gcr.io/iree-oss/base@sha256:22c43975179265296e016d15eb6f65d18abd5f9d4d3a5fa5e478ca4862bb61c4 \
101101
build_tools/cmake/build_benchmarks.sh
102102
echo "::set-output name=benchmarks-dir::${BENCHMARKS_OUTPUT_DIR}"
103103
- name: "Creating archive of benchmarks"
@@ -135,7 +135,7 @@ jobs:
135135
target:
136136
- platform: "riscv"
137137
architecture: "rv64"
138-
docker_image: "gcr.io/iree-oss/riscv@sha256:cd2ee29950737f44b5ec54a32c37746e951fc74ef29a586e6d2559b113cdbb69"
138+
docker_image: "gcr.io/iree-oss/riscv@sha256:e11710158fd09a04ae7accc275a38c95cd59f83fd15a0630a083eb5623807451"
139139
outputs:
140140
benchmark-tools-gcs-artifacts: ${{ toJSON(steps.upload.outputs) }}
141141
env:

.github/workflows/build_package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
build-package: py-runtime-pkg
6363
experimental: true
6464
env:
65-
MANYLINUX_X86_64_IMAGE: gcr.io/iree-oss/manylinux2014_x86_64-release@sha256:cb77ecaedee1987bc38dc5393f6570566c4c4c89697255158ebce3b073e11ca0
65+
MANYLINUX_X86_64_IMAGE: gcr.io/iree-oss/manylinux2014_x86_64-release@sha256:b3b096e4b96746c3ae4cc52e880000d91038e79441334a7cfce9914cbbec1312
6666

6767
steps:
6868
- uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2

.github/workflows/ci.yml

Lines changed: 19 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ jobs:
117117
- name: "Building IREE"
118118
run: |
119119
./build_tools/github_actions/docker_run.sh \
120-
gcr.io/iree-oss/base@sha256:7c3027c48b94fc38e64488987fc7893c100526c57308d25cef0c6b76a2dfe117 \
120+
gcr.io/iree-oss/base@sha256:22c43975179265296e016d15eb6f65d18abd5f9d4d3a5fa5e478ca4862bb61c4 \
121121
./build_tools/cmake/build_all.sh \
122122
"${BUILD_DIR}"
123123
# The archive step below doesn't include these files. Remove them first to
@@ -200,14 +200,10 @@ jobs:
200200
- name: "Building with Bazel"
201201
env:
202202
IREE_BAZEL_WRITE_REMOTE_CACHE: ${{ needs.setup.outputs.write-caches }}
203-
# This doesn't really need everything in the frontends image, but we
204-
# want the cache to be shared with the integrations build (no point
205-
# building LLVM twice) and the cache key is the docker container it's
206-
# run in (to ensure correct cache hits).
207203
run: |
208204
./build_tools/github_actions/docker_run.sh \
209205
--env "IREE_BAZEL_WRITE_REMOTE_CACHE=${IREE_BAZEL_WRITE_REMOTE_CACHE}" \
210-
gcr.io/iree-oss/frontends-swiftshader@sha256:1e9adddc2823b4ba6492b07a271e76b6e2cf50f8aca1164bdbb9b8809ee6c338 \
206+
gcr.io/iree-oss/swiftshader-bleeding-edge@sha256:50301f9ccc0bf63c4d498c225444cc5585218612d15b83d06e4f4672ab2dfc03 \
211207
./build_tools/bazel/build_core.sh
212208
213209
test_all:
@@ -236,7 +232,7 @@ jobs:
236232
run: |
237233
./build_tools/github_actions/docker_run.sh \
238234
--env IREE_CUDA_DISABLE=1 \
239-
gcr.io/iree-oss/swiftshader@sha256:e36550924e269fedd68b638cce9bd389b6bda58afeaac68b3146dbb6e9a91d35 \
235+
gcr.io/iree-oss/swiftshader@sha256:484720d57fa816280d9a7455d16e1f9f3d90cc3efdb744646016503ea5ab2b30 \
240236
./build_tools/cmake/ctest_all.sh \
241237
"${BUILD_DIR}"
242238
@@ -274,7 +270,7 @@ jobs:
274270
--env CTEST_PARALLEL_LEVEL=2 \
275271
--gpus all \
276272
--env NVIDIA_DRIVER_CAPABILITIES=all \
277-
gcr.io/iree-oss/nvidia@sha256:c26464423e6878f52a6d7705d5cd9ef0ac878699ef380f109793172159d9749b \
273+
gcr.io/iree-oss/nvidia@sha256:74867181ab29bc890775bf3e2da717225431eaa022422e2dc865dc04d37289a4 \
278274
bash -euo pipefail -c \
279275
"./build_tools/scripts/check_cuda.sh
280276
./build_tools/scripts/check_vulkan.sh
@@ -297,14 +293,14 @@ jobs:
297293
- name: "Building runtime"
298294
run: |
299295
./build_tools/github_actions/docker_run.sh \
300-
gcr.io/iree-oss/base@sha256:7c3027c48b94fc38e64488987fc7893c100526c57308d25cef0c6b76a2dfe117 \
296+
gcr.io/iree-oss/base@sha256:22c43975179265296e016d15eb6f65d18abd5f9d4d3a5fa5e478ca4862bb61c4 \
301297
./build_tools/cmake/build_runtime.sh \
302298
"${BUILD_DIR}"
303299
- name: "Testing runtime"
304300
run: |
305301
./build_tools/github_actions/docker_run.sh \
306302
--env IREE_VULKAN_DISABLE=1 \
307-
gcr.io/iree-oss/base@sha256:7c3027c48b94fc38e64488987fc7893c100526c57308d25cef0c6b76a2dfe117 \
303+
gcr.io/iree-oss/base@sha256:22c43975179265296e016d15eb6f65d18abd5f9d4d3a5fa5e478ca4862bb61c4 \
308304
./build_tools/cmake/ctest_all.sh \
309305
"${BUILD_DIR}"
310306
@@ -360,7 +356,7 @@ jobs:
360356
./build_tools/github_actions/docker_run.sh \
361357
--env "IREE_BAZEL_WRITE_REMOTE_CACHE=${IREE_BAZEL_WRITE_REMOTE_CACHE}" \
362358
--env "IREE_TF_BINARIES_OUTPUT_DIR=${IREE_TF_BINARIES_OUTPUT_DIR}" \
363-
gcr.io/iree-oss/frontends-swiftshader@sha256:1e9adddc2823b4ba6492b07a271e76b6e2cf50f8aca1164bdbb9b8809ee6c338 \
359+
gcr.io/iree-oss/frontends-swiftshader@sha256:1de463291cfb337089ae4c3beead3c382ea64e53502f57e35457944b6ae152cd \
364360
build_tools/cmake/build_tf_binaries.sh
365361
echo "::set-output name=binaries-dir::${IREE_TF_BINARIES_OUTPUT_DIR}"
366362
- name: "Creating archive of binaries"
@@ -415,7 +411,7 @@ jobs:
415411
- name: "Running TF integrations tests"
416412
run: |
417413
./build_tools/github_actions/docker_run.sh \
418-
gcr.io/iree-oss/frontends-swiftshader@sha256:1e9adddc2823b4ba6492b07a271e76b6e2cf50f8aca1164bdbb9b8809ee6c338 \
414+
gcr.io/iree-oss/frontends-swiftshader@sha256:1de463291cfb337089ae4c3beead3c382ea64e53502f57e35457944b6ae152cd \
419415
build_tools/cmake/run_tf_tests.sh \
420416
"${BUILD_DIR}"
421417
@@ -457,7 +453,7 @@ jobs:
457453
--env IREE_LLVM_CPU_DISABLE=1 \
458454
--gpus all \
459455
--env NVIDIA_DRIVER_CAPABILITIES=all \
460-
gcr.io/iree-oss/frontends-nvidia@sha256:8c724d50a9f4ed2acfa2b137720acb6c83a95351c20b5c930ba3e56d603a1312 \
456+
gcr.io/iree-oss/frontends-nvidia@sha256:f9256c8f752179c72fe4fafaeac5d31c3b63ec30c8c35a5ab2c5ae4d0db1a631 \
461457
bash -euo pipefail -c \
462458
"./build_tools/scripts/check_cuda.sh
463459
./build_tools/scripts/check_vulkan.sh
@@ -544,7 +540,7 @@ jobs:
544540
# This gives us access to the latest features and validates that IREE
545541
# builds using the latest versions.
546542
./build_tools/github_actions/docker_run.sh \
547-
gcr.io/iree-oss/swiftshader-bleeding-edge@sha256:d335b0885871356ebe697a8f3eac7ce7cbc3d84a458652e7cd95291a0aecfead \
543+
gcr.io/iree-oss/swiftshader-bleeding-edge@sha256:50301f9ccc0bf63c4d498c225444cc5585218612d15b83d06e4f4672ab2dfc03 \
548544
./build_tools/cmake/build_and_test_asan.sh
549545
550546
tsan:
@@ -564,7 +560,7 @@ jobs:
564560
- name: "Building and testing with ThreadSanitizer"
565561
run: |
566562
./build_tools/github_actions/docker_run.sh \
567-
gcr.io/iree-oss/base@sha256:7c3027c48b94fc38e64488987fc7893c100526c57308d25cef0c6b76a2dfe117 \
563+
gcr.io/iree-oss/base@sha256:22c43975179265296e016d15eb6f65d18abd5f9d4d3a5fa5e478ca4862bb61c4 \
568564
./build_tools/cmake/build_and_test_tsan.sh
569565
570566
benchmarks:
@@ -604,22 +600,22 @@ jobs:
604600
- platform: android
605601
architecture: arm64-v8a
606602
abi: arm64-v8a
607-
docker_image: "gcr.io/iree-oss/android@sha256:99a14dfc482dded1f03460b0ff0a818ecc22688a018a2ccee24c5f21baf09e7b"
603+
docker_image: "gcr.io/iree-oss/android@sha256:740f87664b2f4d9288549c95d4d355d5b4a543d55257dcff0308b0c2920bd229"
608604
test_script: "echo 'bypass tests'"
609605
- platform: riscv
610606
architecture: rv64
611607
abi: lp64d
612-
docker_image: "gcr.io/iree-oss/riscv@sha256:cd2ee29950737f44b5ec54a32c37746e951fc74ef29a586e6d2559b113cdbb69"
608+
docker_image: "gcr.io/iree-oss/riscv@sha256:e11710158fd09a04ae7accc275a38c95cd59f83fd15a0630a083eb5623807451"
613609
test_script: "./build_tools/cmake/test_riscv.sh"
614610
- platform: riscv
615611
architecture: rv32-linux
616612
abi: ilp32d
617-
docker_image: "gcr.io/iree-oss/riscv@sha256:cd2ee29950737f44b5ec54a32c37746e951fc74ef29a586e6d2559b113cdbb69"
613+
docker_image: "gcr.io/iree-oss/riscv@sha256:e11710158fd09a04ae7accc275a38c95cd59f83fd15a0630a083eb5623807451"
618614
test_script: "./build_tools/cmake/test_riscv.sh"
619615
- platform: riscv
620616
architecture: rv32-baremetal
621617
abi: ilp32
622-
docker_image: "gcr.io/iree-oss/riscv@sha256:cd2ee29950737f44b5ec54a32c37746e951fc74ef29a586e6d2559b113cdbb69"
618+
docker_image: "gcr.io/iree-oss/riscv@sha256:e11710158fd09a04ae7accc275a38c95cd59f83fd15a0630a083eb5623807451"
623619
test_script: "./tests/riscv32/smoke.sh"
624620
env:
625621
PLATFORM: ${{ matrix.target.platform }}
@@ -685,7 +681,7 @@ jobs:
685681
run: |
686682
build_tools/github_actions/docker_run.sh \
687683
--env "IREE_HOST_BINARY_ROOT=${BUILD_DIR}/install" \
688-
gcr.io/iree-oss/emscripten@sha256:b576c4c695143a089066fe753259e9ec3c003658a85b40bf1a09236abc653ed6 \
684+
gcr.io/iree-oss/emscripten@sha256:6e75298c786a5a7d0a076578a210527bcc753d0a228c635ad3b75efd5421632a \
689685
build_tools/cmake/build_runtime_emscripten.sh
690686
691687
# TODO(#10391): Update the benchmark dependency with the new benchmark
@@ -705,15 +701,15 @@ jobs:
705701
target:
706702
- platform: riscv
707703
architecture: rv64
708-
docker_image: "gcr.io/iree-oss/riscv@sha256:cd2ee29950737f44b5ec54a32c37746e951fc74ef29a586e6d2559b113cdbb69"
704+
docker_image: "gcr.io/iree-oss/riscv@sha256:e11710158fd09a04ae7accc275a38c95cd59f83fd15a0630a083eb5623807451"
709705
run_scripts: "./build_tools/cmake/build_riscv.sh && ./build_tools/cmake/test_riscv.sh"
710706
- platform: riscv
711707
architecture: rv32-linux
712-
docker_image: "gcr.io/iree-oss/riscv@sha256:cd2ee29950737f44b5ec54a32c37746e951fc74ef29a586e6d2559b113cdbb69"
708+
docker_image: "gcr.io/iree-oss/riscv@sha256:e11710158fd09a04ae7accc275a38c95cd59f83fd15a0630a083eb5623807451"
713709
run_scripts: "./build_tools/cmake/build_riscv.sh && ./build_tools/cmake/test_riscv.sh"
714710
- platform: host
715711
architecture: x86_64
716-
docker_image: "gcr.io/iree-oss/base@sha256:7c3027c48b94fc38e64488987fc7893c100526c57308d25cef0c6b76a2dfe117"
712+
docker_image: "gcr.io/iree-oss/base@sha256:22c43975179265296e016d15eb6f65d18abd5f9d4d3a5fa5e478ca4862bb61c4"
717713
run_scripts: "./build_tools/cmake/test_benchmark_suites_host.sh"
718714
env:
719715
PLATFORM: ${{ matrix.target.platform }}

.github/workflows/run_shark_tank.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
# Only Tensorflow is working at the moment so limit benchmarking to TF models.
7575
run: |
7676
./build_tools/github_actions/docker_run.sh \
77-
gcr.io/iree-oss/shark@sha256:b21f1fdaaaa47801af4015ba49a62516d3181632e25606e70629eb046aeb1c01 \
77+
gcr.io/iree-oss/shark@sha256:c72ef54dcb6ec485e8a96b0dfc43307875f4c4c7619f7fdc60bf5220a5672259 \
7878
./build_tools/benchmarks/shark/run_shark.sh "${SHARK_SHA}" "cpu" "cpu" "${SHARK_OUTPUT_DIR}"
7979
- name: "Uploading artifacts"
8080
run: |
@@ -103,7 +103,7 @@ jobs:
103103
run: |
104104
./build_tools/github_actions/docker_run.sh \
105105
--gpus all \
106-
gcr.io/iree-oss/shark@sha256:b21f1fdaaaa47801af4015ba49a62516d3181632e25606e70629eb046aeb1c01 \
106+
gcr.io/iree-oss/shark@sha256:c72ef54dcb6ec485e8a96b0dfc43307875f4c4c7619f7fdc60bf5220a5672259 \
107107
./build_tools/benchmarks/shark/run_shark.sh "${SHARK_SHA}" "cuda" "cuda" "${SHARK_OUTPUT_DIR}"
108108
- name: "Uploading artifacts"
109109
run: |
@@ -138,7 +138,7 @@ jobs:
138138
- name: "Generating report"
139139
run: |
140140
./build_tools/github_actions/docker_run.sh \
141-
gcr.io/iree-oss/shark@sha256:b21f1fdaaaa47801af4015ba49a62516d3181632e25606e70629eb046aeb1c01 \
141+
gcr.io/iree-oss/shark@sha256:c72ef54dcb6ec485e8a96b0dfc43307875f4c4c7619f7fdc60bf5220a5672259 \
142142
./build_tools/benchmarks/shark/run_report.sh "${BENCHMARK_RESULTS_DIR}" \
143143
"${BENCHMARK_RESULTS_DIR}/cpu_baseline.csv" \
144144
"${BENCHMARK_RESULTS_DIR}/cuda_baseline.csv" \

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# See https://llvm.org/LICENSE.txt for license information.
55
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66

7-
cmake_minimum_required(VERSION 3.21...3.23)
7+
cmake_minimum_required(VERSION 3.21...3.24)
88

99
# LLVM requires CMP0116 for tblgen: https://reviews.llvm.org/D101083
1010
# CMP0116: Ninja generators transform `DEPFILE`s from `add_custom_command()`

build_tools/bazel/iree.bazelrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,9 @@ build:remote_cache_bazel_ci --config=_remote_cache_base
271271
# specific docker container the CI Bazel builds are run in. The image URL is
272272
# included for clarity and so that this reference is automatically updated by
273273
# manage_images.py
274-
build:remote_cache_bazel_ci --host_platform_remote_properties_override='properties:{name:"cache-silo-key" value:"gcr.io/iree-oss/frontends-swiftshader@sha256:1e9adddc2823b4ba6492b07a271e76b6e2cf50f8aca1164bdbb9b8809ee6c338"}'
274+
build:remote_cache_bazel_ci --host_platform_remote_properties_override='properties:{name:"cache-silo-key" value:"gcr.io/iree-oss/swiftshader-bleeding-edge@sha256:50301f9ccc0bf63c4d498c225444cc5585218612d15b83d06e4f4672ab2dfc03"}'
275+
build:remote_cache_bazel_tf_ci --host_platform_remote_properties_override='properties:{name:"cache-silo-key" value:"gcr.io/iree-oss/frontends-swiftshader@sha256:1de463291cfb337089ae4c3beead3c382ea64e53502f57e35457944b6ae152cd"}'
276+
275277

276278
###############################################################################
277279
# Configuration for uploading build results to Result Store UI

build_tools/buildkite/cmake/android/arm64-v8a/benchmark2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
steps:
1010
- label: "Build"
1111
commands:
12-
- "docker run --user=$(id -u):$(id -g) --volume=\\${HOME?}:\\${HOME?} --volume=/etc/passwd:/etc/passwd:ro --volume=/etc/group:/etc/group:ro --volume=\\$PWD:\\$IREE_DOCKER_WORKDIR --workdir=\\$IREE_DOCKER_WORKDIR --rm gcr.io/iree-oss/frontends@sha256:d39e98aecffaeeda7ebe9114ce6076b5e9ca7a84dc6608eaf82557d03dd38d90 build_tools/cmake/build_android_benchmark.sh"
12+
- "docker run --user=$(id -u):$(id -g) --volume=\\${HOME?}:\\${HOME?} --volume=/etc/passwd:/etc/passwd:ro --volume=/etc/group:/etc/group:ro --volume=\\$PWD:\\$IREE_DOCKER_WORKDIR --workdir=\\$IREE_DOCKER_WORKDIR --rm gcr.io/iree-oss/frontends@sha256:4b8f97bccf8443f0314d25c2737a46c979d9acffd28ad52f7d0ce5b879449da5 build_tools/cmake/build_android_benchmark.sh"
1313
- "tar --exclude='*.tar.gz' --exclude='*.tgz' --exclude='*.mlir' --exclude='*.tflite' --exclude='*tf-model' -czvf benchmark-suites-${BUILDKITE_BUILD_NUMBER}.tgz build-host/benchmark_suites"
1414
- "find build-host/benchmark_suites -name '*.mlir' | tar -czvf source-mlir-models-${BUILDKITE_BUILD_NUMBER}.tgz -T -"
1515
- "tar -czvf iree-android-tools-${BUILDKITE_BUILD_NUMBER}.tgz build-android/tools/iree-benchmark-module build-android-trace/tools/iree-benchmark-module build-android/tools/build_config.txt"

build_tools/buildkite/cmake/android/arm64-v8a/pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ steps:
88
- label: "build"
99
commands:
1010
- "git submodule sync && git submodule update --init --jobs 8 --depth 1"
11-
- "docker run --user=$(id -u):$(id -g) --volume=\\$PWD:\\$IREE_DOCKER_WORKDIR --workdir=\\$IREE_DOCKER_WORKDIR --rm gcr.io/iree-oss/android@sha256:99a14dfc482dded1f03460b0ff0a818ecc22688a018a2ccee24c5f21baf09e7b build_tools/cmake/build_host_and_android.sh arm64-v8a"
11+
- "docker run --user=$(id -u):$(id -g) --volume=\\$PWD:\\$IREE_DOCKER_WORKDIR --workdir=\\$IREE_DOCKER_WORKDIR --rm gcr.io/iree-oss/android@sha256:740f87664b2f4d9288549c95d4d355d5b4a543d55257dcff0308b0c2920bd229 build_tools/cmake/build_host_and_android.sh arm64-v8a"
1212
- "tar --exclude='*.o' --exclude='*.a' -czvf build-artifacts.tgz build-android"
1313
agents:
1414
- "queue=build"

0 commit comments

Comments
 (0)