Add hiredis to build (#395)

* Add hiredis to build

* make hiredis build if ray has been cloned before this commit
This commit is contained in:
Stephanie Wang
2016-09-01 20:15:00 -07:00
committed by Philipp Moritz
parent 75555ee25c
commit b6872182bf
5 changed files with 10 additions and 0 deletions
+3
View File
@@ -12,3 +12,6 @@
path = thirdparty/python
url = https://github.com/austinsc/python.git
ignore = dirty
[submodule "thirdparty/hiredis"]
path = thirdparty/hiredis
url = https://github.com/redis/hiredis.git
+1
View File
@@ -117,6 +117,7 @@ link_libraries(${CMAKE_SOURCE_DIR}/thirdparty/grpc/libs/opt/libgrpc++_unsecure.a
${CMAKE_SOURCE_DIR}/thirdparty/grpc/libs/opt/libgrpc++.a
${CMAKE_SOURCE_DIR}/thirdparty/grpc/libs/opt/libgrpc.a
${CMAKE_SOURCE_DIR}/thirdparty/grpc/libs/opt/protobuf/libprotobuf.a
${CMAKE_SOURCE_DIR}/thirdparty/hiredis/libhiredis.a
pthread)
if(UNIX AND NOT APPLE)
+4
View File
@@ -36,3 +36,7 @@ make VERBOSE=1 -j$PARALLEL
echo "building GRPC"
cd $TP_DIR/grpc
make static HAS_SYSTEM_PROTOBUF=false HAS_SYSTEM_ZLIB=false HAS_SYSTEM_OPENSSL_ALPN=false HAS_SYSTEM_OPENSSL_NPN=false -j$PARALLEL
echo "building hiredis"
cd $TP_DIR/hiredis
make
+1
View File
@@ -7,6 +7,7 @@ TP_DIR=$(cd "$(dirname "${BASH_SOURCE:-$0}")"; pwd)
git submodule update --init --recursive -- "$TP_DIR/arrow"
git submodule update --init --recursive -- "$TP_DIR/numbuf"
git submodule update --init --recursive -- "$TP_DIR/hiredis"
# this seems to be neeccessary for building on Mac OS X
cd grpc
Vendored Submodule
+1
Submodule thirdparty/hiredis added at 5f98e1d35d