Add gmplib.org as a Fallback Download for GMP

Same two-source pattern as MPFR: the GNU mirror first, the project's own
server second, one hash for both.
This commit is contained in:
Hanif Koh authored and HanifKoh committed 2026-10-20 17:59:39 +08:00
1 parent 13b8395d21
commit 41a7d72b1c
1 file changed
+1
+1
View File
@@ -64,6 +64,7 @@ else ()
# silicon whenever CGAL falls back to exact arithmetic.
ExternalProject_Add(dep_GMP
URL https://ftp.gnu.org/gnu/gmp/gmp-6.3.0.tar.bz2
https://gmplib.org/download/gmp/gmp-6.3.0.tar.bz2
URL_HASH SHA256=ac28211a7cfb609bae2e2c8d6058d66c8fe96434f740cf6fe2e47b000d1c20cb
DOWNLOAD_DIR ${DEP_DOWNLOAD_DIR}/GMP
PATCH_COMMAND git apply ${GMP_DIRECTORY_FLAG} --verbose ${CMAKE_CURRENT_LIST_DIR}/0001-GMP_GCC15.patch