mirror of
https://github.com/wassname/ray.git
synced 2026-08-14 12:40: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
@@ -53,6 +53,14 @@ install:
|
|||||||
- ./install-dependencies.sh
|
- ./install-dependencies.sh
|
||||||
- ./build.sh
|
- ./build.sh
|
||||||
|
|
||||||
|
- cd src/common
|
||||||
|
- make test
|
||||||
|
- cd ../..
|
||||||
|
|
||||||
|
- cd src/plasma
|
||||||
|
- make test
|
||||||
|
- cd ../..
|
||||||
|
|
||||||
- cd numbuf
|
- cd numbuf
|
||||||
- sudo python setup.py install
|
- sudo python setup.py install
|
||||||
- cd ..
|
- cd ..
|
||||||
|
|||||||
@@ -30,14 +30,12 @@ PYTHON_GLOBAL_SCHEDULER_DIR="$PYTHON_DIR/global_scheduler"
|
|||||||
pushd "$COMMON_DIR"
|
pushd "$COMMON_DIR"
|
||||||
make clean
|
make clean
|
||||||
make
|
make
|
||||||
make test
|
|
||||||
popd
|
popd
|
||||||
cp "$COMMON_DIR/thirdparty/redis-3.2.3/src/redis-server" "$PYTHON_COMMON_DIR/thirdparty/redis-3.2.3/src/"
|
cp "$COMMON_DIR/thirdparty/redis-3.2.3/src/redis-server" "$PYTHON_COMMON_DIR/thirdparty/redis-3.2.3/src/"
|
||||||
|
|
||||||
pushd "$PLASMA_DIR"
|
pushd "$PLASMA_DIR"
|
||||||
make clean
|
make clean
|
||||||
make
|
make
|
||||||
make test
|
|
||||||
pushd "$PLASMA_DIR/build"
|
pushd "$PLASMA_DIR/build"
|
||||||
cmake ..
|
cmake ..
|
||||||
make install
|
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
|
CFLAGS = -g -Wall -Wno-typedef-redefinition --std=c99 -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -fPIC -I. -Ithirdparty -Ithirdparty/ae
|
||||||
BUILD = build
|
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
|
$(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 $@ $^
|
ar rcs $@ $^
|
||||||
|
|||||||
Reference in New Issue
Block a user