diff --git a/build.sh b/build.sh index a788bf7b3..975d48106 100755 --- a/build.sh +++ b/build.sh @@ -32,5 +32,5 @@ pushd "$ROOT_DIR/python/ray/core" cmake -DCMAKE_BUILD_TYPE=Release ../../.. fi make clean - make + make -j${PARALLEL} popd diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index 1fc4daca2..04fd71bed 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -37,6 +37,10 @@ add_custom_command( COMMENT "Running flatc compiler on ${COMMON_FBS_SRC}" VERBATIM) +# Encode the fact that the ray redis module requires the autogenerated +# flatbuffer files to compile. +add_dependencies(ray_redis_module gen_common_fbs) + add_dependencies(gen_common_fbs flatbuffers_ep) add_custom_target(