Skip to content

Commit 116bdac

Browse files
authored
Rollup merge of #39647 - japaric:sparc, r=alexcrichton
build std for sparc64-unknown-linux-gnu r? @alexcrichton panicking / unwinding is broken (#39646) but with std available at least people will be able to debug that issue on real hardware
2 parents 8f65d75 + 4997178 commit 116bdac

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/ci/docker/cross/Dockerfile

+5-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1414
zlib1g-dev \
1515
g++-arm-linux-gnueabi \
1616
g++-arm-linux-gnueabihf \
17+
gcc-sparc64-linux-gnu \
18+
libc6-dev-sparc64-cross \
1719
bzip2 \
1820
patch
1921

@@ -60,9 +62,11 @@ ENV TARGETS=$TARGETS,mipsel-unknown-linux-musl
6062
ENV TARGETS=$TARGETS,arm-unknown-linux-musleabi
6163
ENV TARGETS=$TARGETS,arm-unknown-linux-musleabihf
6264
ENV TARGETS=$TARGETS,armv7-unknown-linux-musleabihf
65+
ENV TARGETS=$TARGETS,sparc64-unknown-linux-gnu
6366

6467
ENV CC_mipsel_unknown_linux_musl=mipsel-openwrt-linux-gcc \
65-
CC_mips_unknown_linux_musl=mips-openwrt-linux-gcc
68+
CC_mips_unknown_linux_musl=mips-openwrt-linux-gcc \
69+
CC_sparc64_unknown_linux_gnu=sparc64-linux-gnu-gcc
6670

6771
# Suppress some warnings in the openwrt toolchains we downloaded
6872
ENV STAGING_DIR=/tmp

src/tools/build-manifest/src/main.rs

+1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ static TARGETS: &'static [&'static str] = &[
7878
"powerpc64-unknown-linux-gnu",
7979
"powerpc64le-unknown-linux-gnu",
8080
"s390x-unknown-linux-gnu",
81+
"sparc64-unknown-linux-gnu",
8182
"wasm32-unknown-emscripten",
8283
"x86_64-apple-darwin",
8384
"x86_64-apple-ios",

0 commit comments

Comments
 (0)