mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 21:38:18 +08:00
[Java] remove native binary from ray_dist.jar (#10461)
This commit is contained in:
committed by
Barak Michener
parent
edd9916e30
commit
a4b5922d5e
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user