mirror of
https://github.com/wassname/ray.git
synced 2026-07-13 04:26:46 +08:00
eabfa9ab6f
* Add Ray common as a submodule * Convert to Ray common event loop * Hide plasma manager state * Interface changes * Minor fixes: change LOG_INFO calls to LOG_DEBUG, comments, lint * Turn off DEBUG by default and make Travis happy * Allow processes time to clean up during Python tests * Debugging travis... * Plasma managers have long-lived connections per manager, not per object * fix valgrind invalid read and cleanup * make valgrind happy * update store API * put in place manager API * fixed race condition while sending commands to plasma manager and store -- path sent by Phillip * clang-format * Revert "fixed race condition while sending commands to plasma manager and store -- path sent by Phillip" This reverts commit 79e0f6e6d84f2a309b53155955b65c26c75af071. * Use reliable socket read/writes from Ray common * Merge data_connection and plasma_manager_connection structs * small updates * restore tests
32 lines
1.3 KiB
Makefile
32 lines
1.3 KiB
Makefile
CC = gcc
|
|
CFLAGS = -g -Wall --std=c99 -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -I. -Icommon -Icommon/thirdparty
|
|
BUILD = build
|
|
|
|
all: $(BUILD)/plasma_store $(BUILD)/plasma_manager $(BUILD)/plasma_client.so $(BUILD)/example
|
|
|
|
debug: FORCE
|
|
debug: CFLAGS += -DDEBUG=1
|
|
debug: all
|
|
|
|
clean:
|
|
cd common; make clean
|
|
rm -r $(BUILD)/*
|
|
|
|
$(BUILD)/plasma_store: src/plasma_store.c src/plasma.h src/fling.h src/fling.c src/malloc.c src/malloc.h thirdparty/dlmalloc.c common
|
|
$(CC) $(CFLAGS) src/plasma_store.c src/fling.c src/malloc.c common/build/libcommon.a -o $(BUILD)/plasma_store
|
|
|
|
$(BUILD)/plasma_manager: src/plasma_manager.c src/plasma.h src/plasma_client.c src/fling.h src/fling.c common
|
|
$(CC) $(CFLAGS) src/plasma_manager.c src/plasma_client.c src/fling.c common/build/libcommon.a -o $(BUILD)/plasma_manager
|
|
|
|
$(BUILD)/plasma_client.so: src/plasma_client.c src/fling.h src/fling.c common
|
|
$(CC) $(CFLAGS) src/plasma_client.c src/fling.c common/build/libcommon.a -fPIC -shared -o $(BUILD)/plasma_client.so
|
|
|
|
$(BUILD)/example: src/plasma_client.c src/plasma.h src/example.c src/fling.h src/fling.c common
|
|
$(CC) $(CFLAGS) src/plasma_client.c src/example.c src/fling.c common/build/libcommon.a -o $(BUILD)/example
|
|
|
|
common: FORCE
|
|
git submodule update --init --recursive
|
|
cd common; make
|
|
|
|
FORCE:
|