Skip to content

Commit

Permalink
Try to disable runfile symlinks
Browse files Browse the repository at this point in the history
Signed-off-by: Gregory Shimansky <gregory.shimansky@intel.com>
  • Loading branch information
gshimansky committed Jun 15, 2021
1 parent f230b8a commit f38a87e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ source:
- patches/0011-Empty-install-requirements-installed-by-conda-build.patch
- patches/0012-permit-python-3.9.patch
- patches/0013-Ignore-warnings-in-event.cc-and-logging.cc.patch
- patches/try-to-disable-symlinks.patch

build:
number: 0
Expand Down
13 changes: 13 additions & 0 deletions recipe/patches/try-to-disable-symlinks.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/python/setup.py b/python/setup.py
index 54a0e40f3..0d89044c5 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -332,7 +332,7 @@ def build(build_python, build_java):
bazel_targets += ["//java:ray_java_pkg"] if build_java else []
return bazel_invoke(
subprocess.check_call,
- ["--output_user_root=" + root_dir, "--output_base=" + out_dir, "build", "--verbose_failures", "--"] + bazel_targets,
+ ["--output_user_root=" + root_dir, "--output_base=" + out_dir, "build", "--verbose_failures", "--nobuild_runfile_links", "--nolegacy_external_runfiles", "--"] + bazel_targets,
env=bazel_env)


0 comments on commit f38a87e

Please sign in to comment.