From 321301c5ae59dfc8fceb7c9b9efbb416669f4a0e Mon Sep 17 00:00:00 2001 From: pcloudy Date: Fri, 21 Jul 2017 14:43:22 +0200 Subject: Don't build MSYS Bazel anymore This is the first CL to remove MSYS Bazel. RELNOTES: PiperOrigin-RevId: 162731750 --- scripts/ci/windows/compile_windows.sh | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'scripts/ci') diff --git a/scripts/ci/windows/compile_windows.sh b/scripts/ci/windows/compile_windows.sh index 08ab6b5341..8bb5cdfb45 100755 --- a/scripts/ci/windows/compile_windows.sh +++ b/scripts/ci/windows/compile_windows.sh @@ -37,14 +37,6 @@ if [ -n "${release_label}" ]; then export EMBED_LABEL="${release_label}" fi -# On windows-msvc-x86_64, we build a MSVC Bazel -OPTS="--cpu=x64_windows_msys --host_cpu=x64_windows_msys" -MSVC_LABEL="" -if [[ $PLATFORM_NAME == windows-msvc-x86_64* ]]; then - OPTS="" - MSVC_LABEL="-msvc" -fi - export MSYS_NO_PATHCONV=1 export MSYS2_ARG_CONV_EXCL="*" @@ -56,14 +48,13 @@ ${BOOTSTRAP_BAZEL} --bazelrc=${BAZELRC:-/dev/null} --nomaster_bazelrc version ${BOOTSTRAP_BAZEL} --bazelrc=${BAZELRC:-/dev/null} --nomaster_bazelrc build \ --embed_label=${release_label} --stamp \ - ${OPTS} \ //src:bazel //src:bazel_with_jdk # Copy the resulting artifacts. mkdir -p output/ci -cp bazel-bin/src/bazel output/ci/bazel${MSVC_LABEL}-$(get_full_release_name)-without-jdk.exe -cp bazel-bin/src/bazel_with_jdk output/ci/bazel${MSVC_LABEL}-$(get_full_release_name).exe +cp bazel-bin/src/bazel output/ci/bazel-$(get_full_release_name)-without-jdk.exe +cp bazel-bin/src/bazel_with_jdk output/ci/bazel-$(get_full_release_name).exe cp bazel-bin/src/bazel output/bazel.exe -zip -j output/ci/bazel${MSVC_LABEL}-$(get_full_release_name)-without-jdk.zip output/bazel.exe +zip -j output/ci/bazel-$(get_full_release_name)-without-jdk.zip output/bazel.exe cp -f bazel-bin/src/bazel_with_jdk output/bazel.exe -zip -j output/ci/bazel${MSVC_LABEL}-$(get_full_release_name).zip output/bazel.exe +zip -j output/ci/bazel-$(get_full_release_name).zip output/bazel.exe -- cgit v1.2.3