Skip to content
This repository was archived by the owner on Feb 28, 2023. It is now read-only.

Commit e4e9621

Browse files
committed
common-versions: disable tests for gmp on arm
1 parent e5b4b16 commit e4e9621

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

scripts/common-versions-source.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,15 @@ function build_versions()
227227
build_zlib "1.2.8"
228228

229229
# The classical GCC libraries.
230-
build_gmp "6.1.2"
230+
(
231+
if [ "${TARGET_PLATFORM}" == "linux" -a
232+
\( "${TARGET_ARCH}" == "arm" -o "${TARGET_ARCH}" == "arm64" \) ]
233+
then
234+
WITH_TESTS="n"
235+
fi
236+
237+
build_gmp "6.1.2"
238+
)
231239
build_mpfr "3.1.6"
232240
build_mpc "1.0.3"
233241
build_isl "0.18"

0 commit comments

Comments
 (0)