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

fix the dependences #209

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
20 changes: 10 additions & 10 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ install(CODE "execute_process(COMMAND ./scripts/install_deps.sh
# https://bitbucket.org/eigen/eigen/
ExternalProject_Add(eigen
PREFIX ${GraphLab_SOURCE_DIR}/deps/eigen
URL http://bitbucket.org/eigen/eigen/get/3.1.2.tar.bz2
URL_MD5 e9c081360dde5e7dcb8eba3c8430fde2
URL https://gitlab.com/libeigen/eigen/-/archive/3.3.9/eigen-3.3.9.tar.bz2
URL_MD5 2d5a8dac126c4937fd94d5d10fcd7dd1
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
BUILD_IN_SOURCE 1
Expand All @@ -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 https://sourceware.org/pub/bzip2/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 @@ -238,7 +238,7 @@ if(NOT NO_TCMALLOC)
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 +347,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 +386,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