Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Oct 26, 2024
1 parent 539fb93 commit bfc0939
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,23 +66,12 @@ jobs:
retry sudo apt-get -o Acquire::Retries=10 -o Dpkg::Use-Pty=0 install -y --no-install-recommends \
gcc-aarch64-linux-gnu \
gcc-arm-linux-gnueabi \
gcc-i686-linux-gnu \
gcc-m68k-linux-gnu \
gcc-mips-linux-gnu \
gcc-mips64-linux-gnuabi64 \
gcc-mips64el-linux-gnuabi64 \
gcc-mipsel-linux-gnu \
gcc-mipsisa32r6-linux-gnu \
gcc-mipsisa32r6el-linux-gnu \
gcc-mipsisa64r6-linux-gnuabi64 \
gcc-mipsisa64r6el-linux-gnuabi64 \
gcc-powerpc-linux-gnu \
gcc-powerpc64-linux-gnu \
gcc-powerpc64le-linux-gnu \
gcc-riscv64-linux-gnu \
gcc-s390x-linux-gnu \
gcc-sparc64-linux-gnu \
gcc-x86-64-linux-gnux32 \
gettext
mkdir -p -- tmp
retry docker create --name gcc-csky-linux-gnuabiv2 "ghcr.io/taiki-e/rust-cross-toolchain:csky-unknown-linux-gnuabiv2-dev-amd64"
Expand Down
3 changes: 3 additions & 0 deletions tools/codegen/src/ffi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1233,6 +1233,9 @@ fn download_headers(target: &TargetSpec, download_dir: &Utf8Path) -> Utf8PathBuf
mips64r6 => cflags += " -mips64r6",
_ => unreachable!(),
}
if target.target_endian == big {
cflags += " -meb";
}
}
powerpc | powerpc64 if target.target_endian == big => {
cc = "powerpc64le-linux-gnu-gcc".to_owned();
Expand Down

0 comments on commit bfc0939

Please sign in to comment.