Skip to content

Commit

Permalink
compile.sh: use DependencyMirror repo for downloading gmp
Browse files Browse the repository at this point in the history
gmplib.org has banned access from all Microsoft IPs, meaning it's not possible to download needed packages in automatic builds, so we have to put them here instead.
  • Loading branch information
dktapps committed Jul 7, 2023
1 parent 2a21c57 commit 8c01cea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ function build_gmp {
if cant_use_cache "$gmp_dir"; then
rm -rf "$gmp_dir"
write_download
download_file "https://gmplib.org/download/gmp/gmp-$GMP_VERSION.tar.bz2" "gmp" | tar -jx >> "$DIR/install.log" 2>&1
download_file "https://github.com/pmmp/DependencyMirror/releases/download/mirror/gmp-$GMP_VERSION.tar.xz" "gmp" | tar -Jx >> "$DIR/install.log" 2>&1
echo -n " checking..."
cd "$gmp_dir"
RANLIB=$RANLIB ./configure --prefix="$INSTALL_DIR" \
Expand Down

0 comments on commit 8c01cea

Please sign in to comment.