mirror of
https://github.com/wassname/ray.git
synced 2026-06-29 01:59:23 +08:00
Fix pip install hanging by moving C tests out of build.sh. (#52)
* Remove C tests from build.sh. * Run C tests in Travis.
This commit is contained in:
committed by
Philipp Moritz
parent
f267da6aa8
commit
9ed56c23db
+9
-1
@@ -52,7 +52,15 @@ matrix:
|
||||
install:
|
||||
- ./install-dependencies.sh
|
||||
- ./build.sh
|
||||
|
||||
|
||||
- cd src/common
|
||||
- make test
|
||||
- cd ../..
|
||||
|
||||
- cd src/plasma
|
||||
- make test
|
||||
- cd ../..
|
||||
|
||||
- cd numbuf
|
||||
- sudo python setup.py install
|
||||
- cd ..
|
||||
|
||||
@@ -30,14 +30,12 @@ PYTHON_GLOBAL_SCHEDULER_DIR="$PYTHON_DIR/global_scheduler"
|
||||
pushd "$COMMON_DIR"
|
||||
make clean
|
||||
make
|
||||
make test
|
||||
popd
|
||||
cp "$COMMON_DIR/thirdparty/redis-3.2.3/src/redis-server" "$PYTHON_COMMON_DIR/thirdparty/redis-3.2.3/src/"
|
||||
|
||||
pushd "$PLASMA_DIR"
|
||||
make clean
|
||||
make
|
||||
make test
|
||||
pushd "$PLASMA_DIR/build"
|
||||
cmake ..
|
||||
make install
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ CC = gcc
|
||||
CFLAGS = -g -Wall -Wno-typedef-redefinition --std=c99 -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -fPIC -I. -Ithirdparty -Ithirdparty/ae
|
||||
BUILD = build
|
||||
|
||||
all: hiredis $(BUILD)/libcommon.a
|
||||
all: hiredis redis $(BUILD)/libcommon.a
|
||||
|
||||
$(BUILD)/libcommon.a: event_loop.o common.o task.o io.o net.o state/redis.o state/table.o state/object_table.o state/task_table.o state/db_client_table.o thirdparty/ae/ae.o thirdparty/sha256.o
|
||||
ar rcs $@ $^
|
||||
|
||||
Reference in New Issue
Block a user