236 |
236 |
237 // List of the main profile names used for iteration |
237 // List of the main profile names used for iteration |
238 common.main_profile_names = [ |
238 common.main_profile_names = [ |
239 "linux-x64", "linux-x86", "macosx-x64", "solaris-x64", |
239 "linux-x64", "linux-x86", "macosx-x64", "solaris-x64", |
240 "solaris-sparcv9", "windows-x64", "windows-x86", |
240 "solaris-sparcv9", "windows-x64", "windows-x86", |
241 "linux-aarch64", "linux-arm32", "linux-ppc64le", "linux-s390x" |
241 "linux-aarch64", "linux-arm32" |
242 ]; |
242 ]; |
243 |
243 |
244 // These are the base setttings for all the main build profiles. |
244 // These are the base setttings for all the main build profiles. |
245 common.main_profile_base = { |
245 common.main_profile_base = { |
246 dependencies: ["boot_jdk", "gnumake", "jtreg", "jib", "autoconf", "jmh", "jcov"], |
246 dependencies: ["boot_jdk", "gnumake", "jtreg", "jib", "autoconf", "jmh", "jcov"], |
459 configure_args: [ |
459 configure_args: [ |
460 "--openjdk-target=arm-linux-gnueabihf", "--with-freetype=bundled", |
460 "--openjdk-target=arm-linux-gnueabihf", "--with-freetype=bundled", |
461 "--with-abi-profile=arm-vfp-hflt", "--disable-warnings-as-errors" |
461 "--with-abi-profile=arm-vfp-hflt", "--disable-warnings-as-errors" |
462 ], |
462 ], |
463 }, |
463 }, |
464 |
|
465 "linux-ppc64le": { |
|
466 target_os: "linux", |
|
467 target_cpu: "ppc64le", |
|
468 build_cpu: "x64", |
|
469 dependencies: ["devkit", "build_devkit", "cups"], |
|
470 configure_args: [ |
|
471 "--openjdk-target=ppc64le-linux-gnu", "--with-freetype=bundled", |
|
472 "--disable-warnings-as-errors" |
|
473 ], |
|
474 }, |
|
475 |
|
476 "linux-s390x": { |
|
477 target_os: "linux", |
|
478 target_cpu: "s390x", |
|
479 build_cpu: "x64", |
|
480 dependencies: ["devkit", "build_devkit", "cups"], |
|
481 configure_args: [ |
|
482 "--openjdk-target=s390x-linux-gnu", "--with-freetype=bundled", |
|
483 "--disable-warnings-as-errors" |
|
484 ], |
|
485 }, |
|
486 }; |
464 }; |
487 |
465 |
488 // Add the base settings to all the main profiles |
466 // Add the base settings to all the main profiles |
489 common.main_profile_names.forEach(function (name) { |
467 common.main_profile_names.forEach(function (name) { |
490 profiles[name] = concatObjects(common.main_profile_base, profiles[name]); |
468 profiles[name] = concatObjects(common.main_profile_base, profiles[name]); |
643 "linux-aarch64": { |
621 "linux-aarch64": { |
644 platform: "linux-aarch64", |
622 platform: "linux-aarch64", |
645 }, |
623 }, |
646 "linux-arm32": { |
624 "linux-arm32": { |
647 platform: "linux-arm32", |
625 platform: "linux-arm32", |
648 }, |
|
649 "linux-ppc64le": { |
|
650 platform: "linux-ppc64le", |
|
651 }, |
|
652 "linux-s390x": { |
|
653 platform: "linux-s390x", |
|
654 } |
626 } |
655 } |
627 } |
656 // Generate common artifacts for all main profiles |
628 // Generate common artifacts for all main profiles |
657 Object.keys(artifactData).forEach(function (name) { |
629 Object.keys(artifactData).forEach(function (name) { |
658 profiles[name] = concatObjects(profiles[name], |
630 profiles[name] = concatObjects(profiles[name], |
893 macosx_x64: "Xcode9.4-MacOSX10.13+1.0", |
865 macosx_x64: "Xcode9.4-MacOSX10.13+1.0", |
894 solaris_x64: "SS12u4-Solaris11u1+1.0", |
866 solaris_x64: "SS12u4-Solaris11u1+1.0", |
895 solaris_sparcv9: "SS12u6-Solaris11u3+1.0", |
867 solaris_sparcv9: "SS12u6-Solaris11u3+1.0", |
896 windows_x64: "VS2017-15.5.5+1.0", |
868 windows_x64: "VS2017-15.5.5+1.0", |
897 linux_aarch64: "gcc7.3.0-Fedora27+1.2", |
869 linux_aarch64: "gcc7.3.0-Fedora27+1.2", |
898 linux_arm: "gcc7.3.0-Fedora27+1.2", |
870 linux_arm: "gcc7.3.0-Fedora27+1.2" |
899 linux_ppc64le: "gcc7.3.0-Fedora27+1.0", |
|
900 linux_s390x: "gcc7.3.0-Fedora27+1.0" |
|
901 }; |
871 }; |
902 |
872 |
903 var devkit_platform = (input.target_cpu == "x86" |
873 var devkit_platform = (input.target_cpu == "x86" |
904 ? input.target_os + "_x64" |
874 ? input.target_os + "_x64" |
905 : input.target_platform); |
875 : input.target_platform); |