mirror of
https://github.com/wassname/ray.git
synced 2026-08-05 13:21:03 +08:00
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:
committed by
Philipp Moritz
parent
75555ee25c
commit
b6872182bf
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Vendored
+4
@@ -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
|
||||
|
||||
Vendored
+1
@@ -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
|
||||
|
||||
+1
Submodule thirdparty/hiredis added at 5f98e1d35d
Reference in New Issue
Block a user