File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -43,14 +43,21 @@ if [ -z "$WASM_LIBRARY_DIR" ]; then
4343 exit 1
4444fi
4545
46+ # Sets versions of GMP, MPFR and FLINT:
47+
4648source bin/build_variables.sh
4749
50+ # Download mirrored copy of source distributions for GMP and MPFR
4851
49- # ---------------------------Build GMP ----------------------------------#
52+ git clone https://github.com/oscarbenjamin/gmp_mirror.git
53+ cp gmp_mirror/gmp-$GMPVER .tar.xz .
54+ cp gmp_mirror/mpfr-$MPFRVER .tar.gz .
55+ tar -xf gmp-$GMPVER .tar.xz
56+ tar -xf mpfr-$MPFRVER .tar.gz
5057
5158
52- curl -L https://ftp.gnu.org/gnu/gmp/gmp- $GMPVER .tar.xz -o gmp- $GMPVER .tar.xz
53- tar -xf gmp- $GMPVER .tar.xz
59+ # ---------------------------Build GMP ----------------------------------#
60+
5461
5562cd gmp-$GMPVER
5663
7178# ---------------------------Build MPFR ----------------------------------#
7279
7380
74- curl -L https://ftp.gnu.org/gnu/mpfr/mpfr-$MPFRVER .tar.xz -o mpfr-$MPFRVER .tar.xz
75- tar -xf mpfr-$MPFRVER .tar.xz
76-
7781cd mpfr-$MPFRVER
7882
7983 emconfigure ./configure \
You can’t perform that action at this time.
0 commit comments