File tree 4 files changed +19
-3
lines changed
aarch64-unknown-linux-gnu
4 files changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ FROM ubuntu:24.04
3
3
RUN apt-get update && \
4
4
apt-get install -y --no-install-recommends \
5
5
gcc libc6-dev ca-certificates \
6
- gcc-aarch64-linux-gnu libc6-dev-arm64-cross \
6
+ gcc-aarch64-linux-gnu m4 make libc6-dev-arm64-cross \
7
7
qemu-user-static
8
8
9
9
ENV TOOLCHAIN_PREFIX=aarch64-linux-gnu-
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ FROM ubuntu:24.04
2
2
3
3
RUN apt-get update && \
4
4
apt-get install -y --no-install-recommends \
5
- gcc-multilib libc6-dev ca-certificates
5
+ gcc-multilib m4 make libc6-dev ca-certificates
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ FROM ubuntu:24.04
2
2
3
3
RUN apt-get update && \
4
4
apt-get install -y --no-install-recommends \
5
- gcc libc6-dev ca-certificates
5
+ gcc m4 make libc6-dev ca-certificates
Original file line number Diff line number Diff line change @@ -35,6 +35,22 @@ case "$target" in
35
35
* ) extra_flags=" $extra_flags --features libm-test/build-musl" ;;
36
36
esac
37
37
38
+ # Configure which targets test against MPFR
39
+ case " $target " in
40
+ # MSVC cannot link MPFR
41
+ * windows-msvc* ) ;;
42
+ # FIXME: MinGW should be able to build MPFR, but setup in CI is nontrivial.
43
+ * windows-gnu* ) ;;
44
+ # Targets that aren't cross compiled work fine
45
+ # FIXME(ci): we should be able to enable aarch64 Linux here once GHA
46
+ # support rolls out.
47
+ x86_64* ) extra_flags=" $extra_flags --features libm-test/test-multiprecision" ;;
48
+ # i686 works fine, i586 does not
49
+ i686* ) extra_flags=" $extra_flags --features libm-test/test-multiprecision" ;;
50
+ # Apple aarch64 is native
51
+ aarch64* apple* ) extra_flags=" $extra_flags --features libm-test/test-multiprecision" ;;
52
+ esac
53
+
38
54
# FIXME: `STATUS_DLL_NOT_FOUND` testing macros on CI.
39
55
# <https://github.com/rust-lang/rust/issues/128944>
40
56
case " $target " in
You can’t perform that action at this time.
0 commit comments