summaryrefslogtreecommitdiffstats
path: root/vendor/libm/ci
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-19 09:26:03 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-19 09:26:03 +0000
commit9918693037dce8aa4bb6f08741b6812923486c18 (patch)
tree21d2b40bec7e6a7ea664acee056eb3d08e15a1cf /vendor/libm/ci
parentReleasing progress-linux version 1.75.0+dfsg1-5~progress7.99u1. (diff)
downloadrustc-9918693037dce8aa4bb6f08741b6812923486c18.tar.xz
rustc-9918693037dce8aa4bb6f08741b6812923486c18.zip
Merging upstream version 1.76.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/libm/ci')
-rw-r--r--vendor/libm/ci/docker/aarch64-unknown-linux-gnu/Dockerfile10
-rw-r--r--vendor/libm/ci/docker/arm-unknown-linux-gnueabi/Dockerfile9
-rw-r--r--vendor/libm/ci/docker/arm-unknown-linux-gnueabihf/Dockerfile9
-rw-r--r--vendor/libm/ci/docker/armv7-unknown-linux-gnueabihf/Dockerfile9
-rw-r--r--vendor/libm/ci/docker/i686-unknown-linux-gnu/Dockerfile4
-rw-r--r--vendor/libm/ci/docker/mips-unknown-linux-gnu/Dockerfile12
-rw-r--r--vendor/libm/ci/docker/mips64-unknown-linux-gnuabi64/Dockerfile15
-rw-r--r--vendor/libm/ci/docker/mips64el-unknown-linux-gnuabi64/Dockerfile14
-rw-r--r--vendor/libm/ci/docker/mipsel-unknown-linux-gnu/Dockerfile12
-rw-r--r--vendor/libm/ci/docker/powerpc-unknown-linux-gnu/Dockerfile12
-rw-r--r--vendor/libm/ci/docker/powerpc64-unknown-linux-gnu/Dockerfile13
-rw-r--r--vendor/libm/ci/docker/powerpc64le-unknown-linux-gnu/Dockerfile13
-rw-r--r--vendor/libm/ci/docker/x86_64-unknown-linux-gnu/Dockerfile4
-rwxr-xr-xvendor/libm/ci/run-docker.sh37
-rwxr-xr-xvendor/libm/ci/run.sh21
15 files changed, 0 insertions, 194 deletions
diff --git a/vendor/libm/ci/docker/aarch64-unknown-linux-gnu/Dockerfile b/vendor/libm/ci/docker/aarch64-unknown-linux-gnu/Dockerfile
deleted file mode 100644
index 9e2559f4a..000000000
--- a/vendor/libm/ci/docker/aarch64-unknown-linux-gnu/Dockerfile
+++ /dev/null
@@ -1,10 +0,0 @@
-FROM ubuntu:18.04
-RUN apt-get update && \
- apt-get install -y --no-install-recommends \
- gcc libc6-dev ca-certificates \
- gcc-aarch64-linux-gnu libc6-dev-arm64-cross \
- qemu-user-static
-ENV CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc \
- CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_RUNNER=qemu-aarch64-static \
- QEMU_LD_PREFIX=/usr/aarch64-linux-gnu \
- RUST_TEST_THREADS=1
diff --git a/vendor/libm/ci/docker/arm-unknown-linux-gnueabi/Dockerfile b/vendor/libm/ci/docker/arm-unknown-linux-gnueabi/Dockerfile
deleted file mode 100644
index afab874bc..000000000
--- a/vendor/libm/ci/docker/arm-unknown-linux-gnueabi/Dockerfile
+++ /dev/null
@@ -1,9 +0,0 @@
-FROM ubuntu:18.04
-RUN apt-get update && \
- apt-get install -y --no-install-recommends \
- gcc libc6-dev ca-certificates \
- gcc-arm-linux-gnueabi libc6-dev-armel-cross qemu-user-static
-ENV CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABI_LINKER=arm-linux-gnueabi-gcc \
- CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABI_RUNNER=qemu-arm-static \
- QEMU_LD_PREFIX=/usr/arm-linux-gnueabi \
- RUST_TEST_THREADS=1
diff --git a/vendor/libm/ci/docker/arm-unknown-linux-gnueabihf/Dockerfile b/vendor/libm/ci/docker/arm-unknown-linux-gnueabihf/Dockerfile
deleted file mode 100644
index 3ed3602b0..000000000
--- a/vendor/libm/ci/docker/arm-unknown-linux-gnueabihf/Dockerfile
+++ /dev/null
@@ -1,9 +0,0 @@
-FROM ubuntu:18.04
-RUN apt-get update && \
- apt-get install -y --no-install-recommends \
- gcc libc6-dev ca-certificates \
- gcc-arm-linux-gnueabihf libc6-dev-armhf-cross qemu-user-static
-ENV CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABIHF_LINKER=arm-linux-gnueabihf-gcc \
- CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABIHF_RUNNER=qemu-arm-static \
- QEMU_LD_PREFIX=/usr/arm-linux-gnueabihf \
- RUST_TEST_THREADS=1
diff --git a/vendor/libm/ci/docker/armv7-unknown-linux-gnueabihf/Dockerfile b/vendor/libm/ci/docker/armv7-unknown-linux-gnueabihf/Dockerfile
deleted file mode 100644
index 6617af155..000000000
--- a/vendor/libm/ci/docker/armv7-unknown-linux-gnueabihf/Dockerfile
+++ /dev/null
@@ -1,9 +0,0 @@
-FROM ubuntu:18.04
-RUN apt-get update && \
- apt-get install -y --no-install-recommends \
- gcc libc6-dev ca-certificates \
- gcc-arm-linux-gnueabihf libc6-dev-armhf-cross qemu-user-static
-ENV CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_LINKER=arm-linux-gnueabihf-gcc \
- CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_RUNNER=qemu-arm-static \
- QEMU_LD_PREFIX=/usr/arm-linux-gnueabihf \
- RUST_TEST_THREADS=1
diff --git a/vendor/libm/ci/docker/i686-unknown-linux-gnu/Dockerfile b/vendor/libm/ci/docker/i686-unknown-linux-gnu/Dockerfile
deleted file mode 100644
index 5783e28e1..000000000
--- a/vendor/libm/ci/docker/i686-unknown-linux-gnu/Dockerfile
+++ /dev/null
@@ -1,4 +0,0 @@
-FROM ubuntu:18.04
-RUN apt-get update && \
- apt-get install -y --no-install-recommends \
- gcc-multilib libc6-dev ca-certificates
diff --git a/vendor/libm/ci/docker/mips-unknown-linux-gnu/Dockerfile b/vendor/libm/ci/docker/mips-unknown-linux-gnu/Dockerfile
deleted file mode 100644
index f47e8f522..000000000
--- a/vendor/libm/ci/docker/mips-unknown-linux-gnu/Dockerfile
+++ /dev/null
@@ -1,12 +0,0 @@
-FROM ubuntu:18.04
-
-RUN apt-get update && \
- apt-get install -y --no-install-recommends \
- gcc libc6-dev ca-certificates \
- gcc-mips-linux-gnu libc6-dev-mips-cross \
- binfmt-support qemu-user-static qemu-system-mips
-
-ENV CARGO_TARGET_MIPS_UNKNOWN_LINUX_GNU_LINKER=mips-linux-gnu-gcc \
- CARGO_TARGET_MIPS_UNKNOWN_LINUX_GNU_RUNNER=qemu-mips-static \
- QEMU_LD_PREFIX=/usr/mips-linux-gnu \
- RUST_TEST_THREADS=1
diff --git a/vendor/libm/ci/docker/mips64-unknown-linux-gnuabi64/Dockerfile b/vendor/libm/ci/docker/mips64-unknown-linux-gnuabi64/Dockerfile
deleted file mode 100644
index 8fa77c7bd..000000000
--- a/vendor/libm/ci/docker/mips64-unknown-linux-gnuabi64/Dockerfile
+++ /dev/null
@@ -1,15 +0,0 @@
-FROM ubuntu:18.04
-RUN apt-get update && \
- apt-get install -y --no-install-recommends \
- ca-certificates \
- gcc \
- gcc-mips64-linux-gnuabi64 \
- libc6-dev \
- libc6-dev-mips64-cross \
- qemu-user-static \
- qemu-system-mips
-ENV CARGO_TARGET_MIPS64_UNKNOWN_LINUX_GNUABI64_LINKER=mips64-linux-gnuabi64-gcc \
- CARGO_TARGET_MIPS64_UNKNOWN_LINUX_GNUABI64_RUNNER=qemu-mips64-static \
- CC_mips64_unknown_linux_gnuabi64=mips64-linux-gnuabi64-gcc \
- QEMU_LD_PREFIX=/usr/mips64-linux-gnuabi64 \
- RUST_TEST_THREADS=1
diff --git a/vendor/libm/ci/docker/mips64el-unknown-linux-gnuabi64/Dockerfile b/vendor/libm/ci/docker/mips64el-unknown-linux-gnuabi64/Dockerfile
deleted file mode 100644
index c6611d9ac..000000000
--- a/vendor/libm/ci/docker/mips64el-unknown-linux-gnuabi64/Dockerfile
+++ /dev/null
@@ -1,14 +0,0 @@
-FROM ubuntu:18.04
-RUN apt-get update && \
- apt-get install -y --no-install-recommends \
- ca-certificates \
- gcc \
- gcc-mips64el-linux-gnuabi64 \
- libc6-dev \
- libc6-dev-mips64el-cross \
- qemu-user-static
-ENV CARGO_TARGET_MIPS64EL_UNKNOWN_LINUX_GNUABI64_LINKER=mips64el-linux-gnuabi64-gcc \
- CARGO_TARGET_MIPS64EL_UNKNOWN_LINUX_GNUABI64_RUNNER=qemu-mips64el-static \
- CC_mips64el_unknown_linux_gnuabi64=mips64el-linux-gnuabi64-gcc \
- QEMU_LD_PREFIX=/usr/mips64el-linux-gnuabi64 \
- RUST_TEST_THREADS=1
diff --git a/vendor/libm/ci/docker/mipsel-unknown-linux-gnu/Dockerfile b/vendor/libm/ci/docker/mipsel-unknown-linux-gnu/Dockerfile
deleted file mode 100644
index 0bc695624..000000000
--- a/vendor/libm/ci/docker/mipsel-unknown-linux-gnu/Dockerfile
+++ /dev/null
@@ -1,12 +0,0 @@
-FROM ubuntu:18.04
-
-RUN apt-get update && \
- apt-get install -y --no-install-recommends \
- gcc libc6-dev ca-certificates \
- gcc-mipsel-linux-gnu libc6-dev-mipsel-cross \
- binfmt-support qemu-user-static
-
-ENV CARGO_TARGET_MIPSEL_UNKNOWN_LINUX_GNU_LINKER=mipsel-linux-gnu-gcc \
- CARGO_TARGET_MIPSEL_UNKNOWN_LINUX_GNU_RUNNER=qemu-mipsel-static \
- QEMU_LD_PREFIX=/usr/mipsel-linux-gnu \
- RUST_TEST_THREADS=1
diff --git a/vendor/libm/ci/docker/powerpc-unknown-linux-gnu/Dockerfile b/vendor/libm/ci/docker/powerpc-unknown-linux-gnu/Dockerfile
deleted file mode 100644
index 2d39fef61..000000000
--- a/vendor/libm/ci/docker/powerpc-unknown-linux-gnu/Dockerfile
+++ /dev/null
@@ -1,12 +0,0 @@
-FROM ubuntu:18.04
-
-RUN apt-get update && \
- apt-get install -y --no-install-recommends \
- gcc libc6-dev qemu-user-static ca-certificates \
- gcc-powerpc-linux-gnu libc6-dev-powerpc-cross \
- qemu-system-ppc
-
-ENV CARGO_TARGET_POWERPC_UNKNOWN_LINUX_GNU_LINKER=powerpc-linux-gnu-gcc \
- CARGO_TARGET_POWERPC_UNKNOWN_LINUX_GNU_RUNNER=qemu-ppc-static \
- QEMU_LD_PREFIX=/usr/powerpc-linux-gnu \
- RUST_TEST_THREADS=1
diff --git a/vendor/libm/ci/docker/powerpc64-unknown-linux-gnu/Dockerfile b/vendor/libm/ci/docker/powerpc64-unknown-linux-gnu/Dockerfile
deleted file mode 100644
index 653cd3511..000000000
--- a/vendor/libm/ci/docker/powerpc64-unknown-linux-gnu/Dockerfile
+++ /dev/null
@@ -1,13 +0,0 @@
-FROM ubuntu:18.04
-
-RUN apt-get update && \
- apt-get install -y --no-install-recommends \
- gcc libc6-dev ca-certificates \
- gcc-powerpc64-linux-gnu libc6-dev-ppc64-cross \
- binfmt-support qemu-user-static qemu-system-ppc
-
-ENV CARGO_TARGET_POWERPC64_UNKNOWN_LINUX_GNU_LINKER=powerpc64-linux-gnu-gcc \
- CARGO_TARGET_POWERPC64_UNKNOWN_LINUX_GNU_RUNNER=qemu-ppc64-static \
- CC_powerpc64_unknown_linux_gnu=powerpc64-linux-gnu-gcc \
- QEMU_LD_PREFIX=/usr/powerpc64-linux-gnu \
- RUST_TEST_THREADS=1
diff --git a/vendor/libm/ci/docker/powerpc64le-unknown-linux-gnu/Dockerfile b/vendor/libm/ci/docker/powerpc64le-unknown-linux-gnu/Dockerfile
deleted file mode 100644
index 63ea9af9d..000000000
--- a/vendor/libm/ci/docker/powerpc64le-unknown-linux-gnu/Dockerfile
+++ /dev/null
@@ -1,13 +0,0 @@
-FROM ubuntu:18.04
-
-RUN apt-get update && \
- apt-get install -y --no-install-recommends \
- gcc libc6-dev qemu-user-static ca-certificates \
- gcc-powerpc64le-linux-gnu libc6-dev-ppc64el-cross \
- qemu-system-ppc
-
-ENV CARGO_TARGET_POWERPC64LE_UNKNOWN_LINUX_GNU_LINKER=powerpc64le-linux-gnu-gcc \
- CARGO_TARGET_POWERPC64LE_UNKNOWN_LINUX_GNU_RUNNER=qemu-ppc64le-static \
- QEMU_CPU=POWER8 \
- QEMU_LD_PREFIX=/usr/powerpc64le-linux-gnu \
- RUST_TEST_THREADS=1
diff --git a/vendor/libm/ci/docker/x86_64-unknown-linux-gnu/Dockerfile b/vendor/libm/ci/docker/x86_64-unknown-linux-gnu/Dockerfile
deleted file mode 100644
index 98000f4eb..000000000
--- a/vendor/libm/ci/docker/x86_64-unknown-linux-gnu/Dockerfile
+++ /dev/null
@@ -1,4 +0,0 @@
-FROM ubuntu:18.04
-RUN apt-get update && \
- apt-get install -y --no-install-recommends \
- gcc libc6-dev ca-certificates
diff --git a/vendor/libm/ci/run-docker.sh b/vendor/libm/ci/run-docker.sh
deleted file mode 100755
index c7ad60fd4..000000000
--- a/vendor/libm/ci/run-docker.sh
+++ /dev/null
@@ -1,37 +0,0 @@
-# Small script to run tests for a target (or all targets) inside all the
-# respective docker images.
-
-set -ex
-
-run() {
- local target=$1
-
- echo $target
-
- # This directory needs to exist before calling docker, otherwise docker will create it but it
- # will be owned by root
- mkdir -p target
-
- docker build -t $target ci/docker/$target
- docker run \
- --rm \
- --user $(id -u):$(id -g) \
- -e CARGO_HOME=/cargo \
- -e CARGO_TARGET_DIR=/target \
- -v "${HOME}/.cargo":/cargo \
- -v `pwd`/target:/target \
- -v `pwd`:/checkout:ro \
- -v `rustc --print sysroot`:/rust:ro \
- --init \
- -w /checkout \
- $target \
- sh -c "HOME=/tmp PATH=\$PATH:/rust/bin exec ci/run.sh $target"
-}
-
-if [ -z "$1" ]; then
- for d in `ls ci/docker/`; do
- run $d
- done
-else
- run $1
-fi
diff --git a/vendor/libm/ci/run.sh b/vendor/libm/ci/run.sh
deleted file mode 100755
index d0cd42a8d..000000000
--- a/vendor/libm/ci/run.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/usr/bin/env sh
-
-set -ex
-TARGET=$1
-
-CMD="cargo test --all --target $TARGET"
-
-# Needed for no-panic to correct detect a lack of panics
-export RUSTFLAGS="$RUSTFLAGS -Ccodegen-units=1"
-
-# stable by default
-$CMD
-$CMD --release
-
-# unstable with a feature
-$CMD --features 'unstable'
-$CMD --release --features 'unstable'
-
-# also run the reference tests
-$CMD --features 'unstable musl-reference-tests'
-$CMD --release --features 'unstable musl-reference-tests'