changeset 45451:2d500ccfa3b5

8181788: Unable to build JDK10 on SPARC-M8 machines Reviewed-by: tbell
author erikj
date Thu, 08 Jun 2017 16:36:06 +0200
parents 036dbf8b3817
children 6441bc616904
files common/conf/jib-profiles.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/common/conf/jib-profiles.js	Wed Jul 05 23:37:13 2017 +0200
+++ b/common/conf/jib-profiles.js	Thu Jun 08 16:36:06 2017 +0200
@@ -387,7 +387,7 @@
     // on such hardware.
     if (input.build_cpu == "sparcv9") {
        var cpu_brand = $EXEC("bash -c \"kstat -m cpu_info | grep brand | head -n1 | awk '{ print \$2 }'\"");
-       if (cpu_brand.trim().match('SPARC-.7')) {
+       if (cpu_brand.trim().match('SPARC-.[78]')) {
            boot_jdk_revision = "8u20";
            boot_jdk_subdirpart = "1.8.0_20";
        }