[Java] remove native binary from ray_dist.jar (#10461)

This commit is contained in:
chaokunyang
2020-09-10 17:33:39 +08:00
committed by GitHub
parent eb025ea8cb
commit 608bbb1ee7
+7
View File
@@ -264,6 +264,13 @@ genrule(
WORK_DIR="$$(pwd)"
rm -rf "$$WORK_DIR/python/ray/jars" && mkdir -p "$$WORK_DIR/python/ray/jars"
cp -f $(location //java:ray_dist_deploy.jar) "$$WORK_DIR/python/ray/jars/ray_dist.jar"
chmod +w "$$WORK_DIR/python/ray/jars/ray_dist.jar"
zip -d "$$WORK_DIR/python/ray/jars/ray_dist.jar" \
native/*/gcs_server \
native/*/libray_redis_module.so \
native/*/plasma_store_server \
native/*/raylet \
native/*/redis-server
date > $@
""",
local = 1,