8181788: Unable to build JDK10 on SPARC-M8 machines
authorerikj
Thu, 08 Jun 2017 16:36:06 +0200
changeset 45451 2d500ccfa3b5
parent 45420 036dbf8b3817
child 45452 6441bc616904
8181788: Unable to build JDK10 on SPARC-M8 machines Reviewed-by: tbell
common/conf/jib-profiles.js
--- 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";
        }