changeset 2567:9e093f2eaabc

8176271: Still unable to build JDK 9 on some *7 sparcs Reviewed-by: ihse
author erikj
date Thu, 13 Apr 2017 09:50:41 +0200
parents 35fbd9906dfc
children 455bd4cb2482
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	Thu Apr 13 09:41:53 2017 +0200
+++ b/common/conf/jib-profiles.js	Thu Apr 13 09:50:41 2017 +0200
@@ -392,7 +392,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() == 'SPARC-M7') {
+       if (cpu_brand.trim().match('SPARC-.7')) {
            boot_jdk_revision = "8u20";
            boot_jdk_subdirpart = "1.8.0_20";
        }