Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the invalid url for some deps #203

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 8 additions & 10 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""
Expand All @@ -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
Expand Down Expand Up @@ -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 <SOURCE_DIR>/configure --enable-frame-pointers --prefix=<INSTALL_DIR> ${tcmalloc_shared}
Expand Down Expand Up @@ -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 <SOURCE_DIR>/configure --prefix=<INSTALL_DIR> --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 <SOURCE_DIR>/configure --prefix=<INSTALL_DIR> --disable-openssl --enable-shared=no
INSTALL_DIR ${GraphLab_SOURCE_DIR}/deps/local
INSTALL_COMMAND prefix=<INSTALL_DIR>/ make install && ${GraphLab_SOURCE_DIR}/patches/libevent_clean_and_remap.sh <INSTALL_DIR>/lib
Expand Down Expand Up @@ -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/ <SOURCE_DIR>
BUILD_IN_SOURCE 1
Expand Down