Browse Source

add missing file to VCS

master
parent
commit
2cc0727914
  1. 31
      bazel/bazel.patch
  2. 2
      bazel/bazel.spec

31
bazel/bazel.patch

@ -0,0 +1,31 @@
--- scripts/bootstrap/bootstrap.sh.orig 2017-03-07 08:07:48 UTC
+++ scripts/bootstrap/bootstrap.sh
@@ -43,7 +43,7 @@ else
--host_java_toolchain=//src/java_tools/buildjar:bootstrap_toolchain \
--spawn_strategy=standalone \
--nojava_header_compilation \
- --strategy=Javac=worker --worker_quit_after_build --ignore_unsupported_sandboxing \
+ --strategy=Javac=standalone --ignore_unsupported_sandboxing \
--compilation_mode=opt \
${EXTRA_BAZEL_ARGS:-}"
fi
@@ -96,7 +96,7 @@ function bootstrap_test() {
local BAZEL_BIN=$1
local BAZEL_SUM=$2
local BAZEL_TARGET=${3:-src:bazel}
- local STRATEGY="--strategy=Javac=worker --worker_quit_after_build"
+ local STRATEGY="--strategy=Javac=standalone"
if [ "${JAVA_VERSION}" = "1.7" ]; then
STRATEGY=
fi
--- src/main/java/com/google/devtools/build/lib/bazel/rules/python/stub_template.txt.orig 2017-03-31 21:28:24 UTC
+++ src/main/java/com/google/devtools/build/lib/bazel/rules/python/stub_template.txt
@@ -32,7 +32,7 @@ if IsWindows() and not PYTHON_BINARY.end
# Find a file in a given search path.
def SearchPath(name):
- search_path = os.getenv('PATH', os.defpath).split(os.pathsep)
+ search_path = os.getenv('PATH', os.defpath + ":@l_prefix@/bin").split(os.pathsep)
for directory in search_path:
if directory == '': continue
path = os.path.join(directory, name)

2
bazel/bazel.spec

@ -32,7 +32,7 @@ Class: EVAL
Group: Building Group: Building
License: GPL License: GPL
Version: 0.5.2 Version: 0.5.2
Release: 20170627 Release: 20170721
# list of sources # list of sources
Source0: https://github.com/bazelbuild/bazel/releases/download/%{version}/bazel-%{version}-dist.zip Source0: https://github.com/bazelbuild/bazel/releases/download/%{version}/bazel-%{version}-dist.zip

Loading…
Cancel
Save