aboutsummaryrefslogtreecommitdiff
path: root/jdk11-build-image.yaml
diff options
context:
space:
mode:
authorStuart Monteith <stuart.monteith@linaro.org>2018-12-10 10:01:13 +0000
committerStuart Monteith <stuart.monteith@linaro.org>2018-12-10 10:01:13 +0000
commit6e2a1758f2f779c854d09aa4b5a0060cdc10bac9 (patch)
tree1d1df8a1b42ccc0649f43f1046cc9ee197f70a81 /jdk11-build-image.yaml
parent16a68bcdded20b447f861dc7bd111584df203572 (diff)
jdk: Fix jdk11u builds by ignoring new warnings
The newer compilers are more fussy, so disable warnings as errors. Change-Id: I37d7c709b54b7d48d5ea603b347affa0fc64b2ea
Diffstat (limited to 'jdk11-build-image.yaml')
-rw-r--r--jdk11-build-image.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/jdk11-build-image.yaml b/jdk11-build-image.yaml
index 2c4c82a920..d002a6091b 100644
--- a/jdk11-build-image.yaml
+++ b/jdk11-build-image.yaml
@@ -80,17 +80,17 @@
if [ $two_stage_build = 1 ]; then
pushd build-stage1
- sh ../jdk11u/configure --with-debug-level=${BUILD_TYPE} --with-boot-jdk=${WORKSPACE}/primordial-jdk11 ${ccache_build_opts}
+ sh ../jdk11u/configure --with-debug-level=${BUILD_TYPE} --with-boot-jdk=${WORKSPACE}/primordial-jdk11 ${ccache_build_opts} --disable-warnings-as-errors
make images build-test-hotspot-jtreg-native build-test-jdk-jtreg-native
popd
pushd build-stage2
- sh ../jdk11u/configure --with-debug-level=${BUILD_TYPE} --with-boot-jdk=${WORKSPACE}/build-stage1/images/jdk ${ccache_build_opts}
+ sh ../jdk11u/configure --with-debug-level=${BUILD_TYPE} --with-boot-jdk=${WORKSPACE}/build-stage1/images/jdk ${ccache_build_opts} --disable-warnings-as-errors
make images build-test-hotspot-jtreg-native build-test-jdk-jtreg-native
popd
else
pushd build-stage2
- sh ../jdk11u/configure --with-debug-level=${BUILD_TYPE} ${ccache_build_opts}
+ sh ../jdk11u/configure --with-debug-level=${BUILD_TYPE} ${ccache_build_opts} --disable-warnings-as-errors
make images build-test-hotspot-jtreg-native build-test-jdk-jtreg-native
popd
fi