aboutsummaryrefslogtreecommitdiffhomepage
path: root/compile.sh
diff options
context:
space:
mode:
authorGravatar Damien Martin-Guillerez <dmarting@google.com>2016-04-13 19:27:56 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2016-04-14 07:38:04 +0000
commit04d46abcf4d0a0a4054372a3da9b8e76c573aee5 (patch)
tree5af4b5ba793673ffa72e0f44414a7a8855371f8a /compile.sh
parentfcb17112bfbb598954306ee197a842ec8f4e8e64 (diff)
*** Reason for rollback *** Breaks ci.bazel.io While the basics for fixing the build is easy (just a few typos in packages building), fixing the test is a bit more tricky. I see only one solution for fixing the test: use a select statement that would select the good bazel version but that would always pull JavaBuilder as an external dependency when we do test. Better roll this back then check the JavaBuilder 0.1.0 as a binary in third_party before rolling forward (a similar change is still needed to decouple running the test and building the binary for JDK 7) *** Original change description *** Refactor build for JDK 7 Now the JDK 7 tuning happens all in Bazel, removing logic from the CI script. It uses remote repositories to access JDK 7 dependencies. -- MOS_MIGRATED_REVID=119773123
Diffstat (limited to 'compile.sh')
-rwxr-xr-xcompile.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/compile.sh b/compile.sh
index da75ec02d3..56299b8f1b 100755
--- a/compile.sh
+++ b/compile.sh
@@ -96,8 +96,8 @@ if [ $DO_COMPILE ]; then
new_step 'Building Bazel with Bazel'
display "."
log "Building output/bazel"
- bazel_build "src:bazel${BAZEL_FLAVOUR}${EXE_EXT}"
- cp -f "bazel-bin/src/bazel${BAZEL_FLAVOUR}${EXE_EXT}" "output/bazel${EXE_EXT}"
+ bazel_build "src:bazel${EXE_EXT}"
+ cp -f "bazel-bin/src/bazel${EXE_EXT}" "output/bazel${EXE_EXT}"
chmod 0755 "output/bazel${EXE_EXT}"
BAZEL="$(pwd)/output/bazel${EXE_EXT}"
fi
@@ -155,6 +155,7 @@ if [ $DO_TESTS ]; then
$BAZEL --bazelrc=${BAZELRC} --nomaster_bazelrc test \
--test_tag_filters="${BAZEL_TEST_FILTERS-}" \
--build_tests_only \
+ --nolegacy_bazel_java_test \
${EXTRA_BAZEL_ARGS} \
--javacopt="-source ${JAVA_VERSION} -target ${JAVA_VERSION}" \
-k --test_output=errors //src/... //third_party/ijar/... //scripts/... \