ENH: deps: fix the compiling issue caused by gmp downloading fail
download GMP from github directly for gmp blocking the access from github Change-Id: I344f14dded450c5a7549b2a94cafe46c25db9448
This commit is contained in:
parent
ca97500e6f
commit
e39fca1923
1 changed files with 2 additions and 2 deletions
4
deps/GMP/GMP.cmake
vendored
4
deps/GMP/GMP.cmake
vendored
|
@ -43,8 +43,8 @@ else ()
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
ExternalProject_Add(dep_GMP
|
ExternalProject_Add(dep_GMP
|
||||||
URL https://gmplib.org/download/gmp/gmp-6.2.1.tar.bz2
|
URL https://github.com/bambulab/gmp/archive/refs/tags/6.2.1.tar.gz
|
||||||
URL_HASH SHA256=eae9326beb4158c386e39a356818031bd28f3124cf915f8c5b1dc4c7a36b4d7c
|
URL_HASH SHA256=705ae57ee2014b2c6fc0f572c85ee43276b99b6b256ee16c1a9d3a8c4e3609d5
|
||||||
DOWNLOAD_DIR ${DEP_DOWNLOAD_DIR}/GMP
|
DOWNLOAD_DIR ${DEP_DOWNLOAD_DIR}/GMP
|
||||||
BUILD_IN_SOURCE ON
|
BUILD_IN_SOURCE ON
|
||||||
CONFIGURE_COMMAND env "CFLAGS=${_gmp_ccflags}" "CXXFLAGS=${_gmp_ccflags}" ./configure ${_cross_compile_arg} --enable-shared=no --enable-cxx=yes --enable-static=yes "--prefix=${DESTDIR}/usr/local" ${_gmp_build_tgt}
|
CONFIGURE_COMMAND env "CFLAGS=${_gmp_ccflags}" "CXXFLAGS=${_gmp_ccflags}" ./configure ${_cross_compile_arg} --enable-shared=no --enable-cxx=yes --enable-static=yes "--prefix=${DESTDIR}/usr/local" ${_gmp_build_tgt}
|
||||||
|
|
Loading…
Reference in a new issue