bazel.patch 1.1 KB

1234567891011121314151617181920212223
  1. --- scripts/bootstrap/bootstrap.sh.orig 2017-03-07 08:07:48 UTC
  2. +++ scripts/bootstrap/bootstrap.sh
  3. @@ -43,7 +43,7 @@ else
  4. --host_java_toolchain=//src/java_tools/buildjar:bootstrap_toolchain \
  5. --spawn_strategy=standalone \
  6. --nojava_header_compilation \
  7. - --strategy=Javac=worker --worker_quit_after_build --ignore_unsupported_sandboxing \
  8. + --strategy=Javac=standalone --ignore_unsupported_sandboxing \
  9. --compilation_mode=opt \
  10. ${EXTRA_BAZEL_ARGS:-}"
  11. fi
  12. --- src/main/java/com/google/devtools/build/lib/bazel/rules/python/python_stub_template.txt.orig 2017-03-31 21:28:24 UTC
  13. +++ src/main/java/com/google/devtools/build/lib/bazel/rules/python/python_stub_template.txt
  14. @@ -32,7 +32,7 @@ if IsWindows() and not PYTHON_BINARY.end
  15. # Find a file in a given search path.
  16. def SearchPath(name):
  17. - search_path = os.getenv('PATH', os.defpath).split(os.pathsep)
  18. + search_path = os.getenv('PATH', os.defpath + ":@l_prefix@/bin").split(os.pathsep)
  19. for directory in search_path:
  20. if directory == '': continue
  21. path = os.path.join(directory, name)