Fix not cp jars (#12456)

This commit is contained in:
chaokunyang
2020-11-30 13:53:09 +08:00
committed by GitHub
parent cf73ccddae
commit 17a6b9bbe7
+2 -1
View File
@@ -58,7 +58,8 @@ ray_files = [
"ray/streaming/_streaming.so",
]
if BUILD_JAVA:
if BUILD_JAVA or os.path.exists(
os.path.join(ROOT_DIR, "ray/jars/ray_dist.jar")):
ray_files.append("ray/jars/ray_dist.jar")
# These are the directories where automatically generated Python protobuf