Skip to content

Commit 853a0f4

Browse files
authored
Try #68: amd64 --target powerpc64-unknown-linux-musl
2 parents d50d404 + e4dad85 commit 853a0f4

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.github/workflows/Build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,10 @@ jobs:
222222
TARGET: mipsel-unknown-linux-musl
223223
RUST_MUSL_MAKE_CONFIG: config.mak
224224
TOOLCHAIN: stable
225+
- IMAGE_TAG: powerpc64-musl
226+
TARGET: powerpc64-unknown-linux-musl
227+
RUST_MUSL_MAKE_CONFIG: config.mak
228+
TOOLCHAIN: nightly
225229
- IMAGE_TAG: powerpc64le-musl
226230
TARGET: powerpc64le-unknown-linux-musl
227231
RUST_MUSL_MAKE_CONFIG: config.mak

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Currently we have the following [prebuilt Docker images on Docker Hub](https://h
2828
| stable | mipsel-unknown-linux-musl | mipsel-musl |
2929
| stable | mips64-unknown-linux-muslabi64 | mips64-muslabi64 |
3030
| stable | mips64el-unknown-linux-muslabi64 | mips64el-muslabi64 |
31+
| nightly | powerpc64-unknown-linux-musl | powerpc64-musl |
3132
| nightly | powerpc64le-unknown-linux-musl | powerpc64le-musl |
3233
| stable | x86\_64-unknown-linux-musl | x86\_64-musl |
3334

build-std.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
set -e
3-
if [[ "$TARGET" = "powerpc64le-unknown-linux-musl" || "$TARGET" = "s390x-unknown-linux-musl" ]]
3+
if [[ "$TARGET" = powerpc64* || "$TARGET" = "s390x-unknown-linux-musl" ]]
44
then
55
export CARGO_NET_GIT_FETCH_WITH_CLI=true
66
export CARGO_UNSTABLE_SPARSE_REGISTRY=true
@@ -28,7 +28,7 @@ then
2828
rm -rf /root/.xargo /root/.cargo/registry /root/.cargo/git custom-std
2929

3030
# compile libunwind
31-
if [[ "$TARGET" = "powerpc64le-unknown-linux-musl" ]]
31+
if [[ "$TARGET" = powerpc64* ]]
3232
then
3333
cargo run --manifest-path /tmp/compile-libunwind/Cargo.toml -- --target "$TARGET" "/root/.rustup/toolchains/$TOOLCHAIN-$HOST/lib/rustlib/src/rust/src/llvm-project/libunwind" out
3434
cp out/libunwind*.a "/root/.rustup/toolchains/$TOOLCHAIN-$HOST/lib/rustlib/$TARGET/lib/"

0 commit comments

Comments
 (0)