diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-07 05:48:48 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-07 05:48:48 +0000 |
commit | ef24de24a82fe681581cc130f342363c47c0969a (patch) | |
tree | 0d494f7e1a38b95c92426f58fe6eaa877303a86c /vendor/packed_simd_2/ci/run-docker.sh | |
parent | Releasing progress-linux version 1.74.1+dfsg1-1~progress7.99u1. (diff) | |
download | rustc-ef24de24a82fe681581cc130f342363c47c0969a.tar.xz rustc-ef24de24a82fe681581cc130f342363c47c0969a.zip |
Merging upstream version 1.75.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/packed_simd_2/ci/run-docker.sh')
-rwxr-xr-x | vendor/packed_simd_2/ci/run-docker.sh | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/vendor/packed_simd_2/ci/run-docker.sh b/vendor/packed_simd_2/ci/run-docker.sh deleted file mode 100755 index abdd6852f..000000000 --- a/vendor/packed_simd_2/ci/run-docker.sh +++ /dev/null @@ -1,38 +0,0 @@ -# Small script to run tests for a target (or all targets) inside all the -# respective docker images. - -set -ex - -run() { - echo "Building docker container for TARGET=${TARGET} RUSTFLAGS=${RUSTFLAGS}" - docker build -t packed_simd -f ci/docker/${TARGET}/Dockerfile ci/ - mkdir -p target - target=$(echo "${TARGET}" | sed 's/-emulated//') - echo "Running docker" - docker run \ - --user `id -u`:`id -g` \ - --rm \ - --init \ - --volume $HOME/.cargo:/cargo \ - --env CARGO_HOME=/cargo \ - --volume `rustc --print sysroot`:/rust:ro \ - --env TARGET=$target \ - --env NORUN \ - --env NOVERIFY \ - --env RUSTFLAGS \ - --volume `pwd`:/checkout:ro \ - --volume `pwd`/target:/checkout/target \ - --workdir /checkout \ - --privileged \ - packed_simd \ - bash \ - -c 'PATH=$PATH:/rust/bin exec ci/run.sh' -} - -if [ -z "${TARGET}" ]; then - for d in `ls ci/docker/`; do - run $d - done -else - run ${TARGET} -fi |