about summary refs log tree commit diff
path: root/library/stdarch/ci
diff options
context:
space:
mode:
authorSayantan Chakraborty <142906350+sayantn@users.noreply.github.com>2025-03-15 22:36:18 +0530
committerAmanieu d'Antras <amanieu@gmail.com>2025-03-16 13:13:19 +0000
commitec55ab663f06ed2fbf95de3e61e2873a972b964a (patch)
treee30a5ea74664bea2fc1d82cec5d0c9c02f4492ce /library/stdarch/ci
parent9405357868110d99cdd46ebe089a33fe63ffaa0c (diff)
downloadrust-ec55ab663f06ed2fbf95de3e61e2873a972b964a.tar.gz
rust-ec55ab663f06ed2fbf95de3e61e2873a972b964a.zip
Update SDE mirror to ci-mirrors.rust-lang.org
This is to combat the spurious CI failures in emulated run. Also helps with updatability and compatibility - it will work even if Intel changes the link
Diffstat (limited to 'library/stdarch/ci')
-rw-r--r--library/stdarch/ci/docker/x86_64-unknown-linux-gnu-emulated/Dockerfile7
1 files changed, 4 insertions, 3 deletions
diff --git a/library/stdarch/ci/docker/x86_64-unknown-linux-gnu-emulated/Dockerfile b/library/stdarch/ci/docker/x86_64-unknown-linux-gnu-emulated/Dockerfile
index 70ec5feecd9..fe5fe474cad 100644
--- a/library/stdarch/ci/docker/x86_64-unknown-linux-gnu-emulated/Dockerfile
+++ b/library/stdarch/ci/docker/x86_64-unknown-linux-gnu-emulated/Dockerfile
@@ -8,8 +8,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
   wget \
   xz-utils
 
-RUN wget https://downloadmirror.intel.com/843185/sde-external-9.48.0-2024-11-25-lin.tar.xz
-RUN tar -xJf sde-external-9.48.0-2024-11-25-lin.tar.xz
-ENV CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER="/sde-external-9.48.0-2024-11-25-lin/sde64 \
+RUN wget http://ci-mirrors.rust-lang.org/stdarch/sde-external-9.48.0-2024-11-25-lin.tar.xz -O sde.tar.xz
+RUN mkdir intel-sde
+RUN tar -xJf sde.tar.xz --strip-components=1 -C intel-sde
+ENV CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER="/intel-sde/sde64 \
             -cpuid-in /checkout/ci/docker/x86_64-unknown-linux-gnu-emulated/cpuid.def \
             -rtm-mode full -tsx --"