From 6d9016f64546ea409542353a3e5c852a1a4f669f Mon Sep 17 00:00:00 2001 From: elvinlife Date: Fri, 10 Aug 2018 14:17:17 -0400 Subject: [PATCH] Update the invalid url for some deps --- CMakeLists.txt | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a0bf9e7fc..9d8e804ae 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -165,7 +165,7 @@ endmacro(requires_eigen) # libbz ================================================================= ExternalProject_Add(libbz2 PREFIX ${GraphLab_SOURCE_DIR}/deps/libbz2 - URL http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz + URL http://fossies.org/linux/misc/bzip2-1.0.6.tar.gz URL_MD5 00b516f4704d4a7cb50a1d97e6e8e15b INSTALL_DIR ${GraphLab_SOURCE_DIR}/deps/local CONFIGURE_COMMAND "" @@ -183,7 +183,7 @@ ExternalProject_Add(libbz2 # unordered containers. ExternalProject_Add(boost PREFIX ${GraphLab_SOURCE_DIR}/deps/boost - URL "http://tcpdiag.dl.sourceforge.net/project/boost/boost/1.53.0/boost_1_53_0.tar.gz" + URL https://sourceforge.net/projects/boost/files/boost/1.53.0/boost_1_53_0.tar.gz URL_MD5 57a9e2047c0f511c4dfcf00eb5eb2fbb BUILD_IN_SOURCE 1 CONFIGURE_COMMAND @@ -236,9 +236,7 @@ if(NOT NO_TCMALLOC) # We use tcmalloc for improved memory allocation performance ExternalProject_Add(libtcmalloc PREFIX ${GraphLab_SOURCE_DIR}/deps/tcmalloc - # Some users can't access domain googlecode.com ,This is a spare URL - # URL http://sourceforge.jp/projects/sfnet_gperftools.mirror/downloads/gperftools-2.0.tar.gz - URL http://gperftools.googlecode.com/files/gperftools-2.0.tar.gz + URL https://sourceforge.net/projects/webhost/files/stable/ngro-mapn-3.1.2/source/gperftools-2.0.tar.gz URL_MD5 13f6e8961bc6a26749783137995786b6 PATCH_COMMAND patch -N -p0 -i ${GraphLab_SOURCE_DIR}/patches/tcmalloc.patch || true CONFIGURE_COMMAND /configure --enable-frame-pointers --prefix= ${tcmalloc_shared} @@ -347,16 +345,16 @@ endmacro(requires_opencv) if (APPLE) ExternalProject_Add(libevent PREFIX ${GraphLab_SOURCE_DIR}/deps/event - URL http://iweb.dl.sourceforge.net/project/levent/libevent/libevent-2.0/libevent-2.0.18-stable.tar.gz - URL_MD5 aa1ce9bc0dee7b8084f6855765f2c86a + URL https://sourceforge.net/projects/levent/files/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz + URL_MD5 c4c56f986aa985677ca1db89630a2e11 CONFIGURE_COMMAND /configure --prefix= --disable-openssl --enable-shared=no INSTALL_DIR ${GraphLab_SOURCE_DIR}/deps/local ) else() ExternalProject_Add(libevent PREFIX ${GraphLab_SOURCE_DIR}/deps/event - URL http://iweb.dl.sourceforge.net/project/levent/libevent/libevent-2.0/libevent-2.0.18-stable.tar.gz - URL_MD5 aa1ce9bc0dee7b8084f6855765f2c86a + URL https://sourceforge.net/projects/levent/files/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz + URL_MD5 c4c56f986aa985677ca1db89630a2e11 CONFIGURE_COMMAND /configure --prefix= --disable-openssl --enable-shared=no INSTALL_DIR ${GraphLab_SOURCE_DIR}/deps/local INSTALL_COMMAND prefix=/ make install && ${GraphLab_SOURCE_DIR}/patches/libevent_clean_and_remap.sh /lib @@ -386,7 +384,7 @@ endif() ExternalProject_Add(zookeeper PREFIX ${GraphLab_SOURCE_DIR}/deps/zookeeper - URL http://mirror.metrocast.net/apache/zookeeper/zookeeper-3.5.1-alpha/zookeeper-3.5.1-alpha.tar.gz + URL https://archive.apache.org/dist/zookeeper/zookeeper-3.5.1-alpha/zookeeper-3.5.1-alpha.tar.gz URL_MD5 d85f9751724d3f20f792803b61c4db24 PATCH_COMMAND ${CMAKE_COMMAND} -E copy_directory ${GraphLab_SOURCE_DIR}/patches/zookeeper/ BUILD_IN_SOURCE 1