344 local: "bundles/\\(jdk.*bin-tests-debug.tar.gz\\)",
345 remote: [
346 "bundles/" + pf + "/jdk-" + data.version + "_" + pf + "_bin-tests-debug.tar.gz",
347 "bundles/" + pf + "/\\1"
348 ],
349 exploded: "images/test"
350 },
351 jdk_symbols: {
352 local: "bundles/\\(jdk.*bin-debug-symbols.tar.gz\\)",
353 remote: [
354 "bundles/" + pf + "/jdk-" + data.version + "_" + pf + "_bin-debug-symbols.tar.gz",
355 "bundles/" + pf + "/\\1"
356 ],
357 subdir: jdk_subdir,
358 exploded: "images/jdk"
359 },
360 }
361 };
362 };
363
364 common.boot_jdk_version = "10";
365 common.boot_jdk_home = input.get("boot_jdk", "home_path") + "/jdk-"
366 + common.boot_jdk_version
367 + (input.build_os == "macosx" ? ".jdk/Contents/Home" : "");
368
369 return common;
370 };
371
372 /**
373 * Generates the profiles part of the configuration.
374 *
375 * @param input External data to use for generating the configuration
376 * @param common The common values
377 * @returns {{}} Profiles part of the configuration
378 */
379 var getJibProfilesProfiles = function (input, common, data) {
380 // Main SE profiles
381 var profiles = {
382
383 "linux-x64": {
384 target_os: "linux",
834 linux_arm: "gcc7.3.0-Fedora27+1.0"
835 };
836
837 var devkit_platform = (input.target_cpu == "x86"
838 ? input.target_os + "_x64"
839 : input.target_platform);
840
841 var boot_jdk_platform = (input.build_os == "macosx" ? "osx" : input.build_os)
842 + "-" + input.build_cpu;
843
844 var makeBinDir = (input.build_os == "windows"
845 ? input.get("gnumake", "install_path") + "/cygwin/bin"
846 : input.get("gnumake", "install_path") + "/bin");
847
848 var dependencies = {
849
850 boot_jdk: {
851 server: "jpg",
852 product: "jdk",
853 version: common.boot_jdk_version,
854 build_number: "46",
855 file: "bundles/" + boot_jdk_platform + "/jdk-" + common.boot_jdk_version + "_"
856 + boot_jdk_platform + "_bin.tar.gz",
857 configure_args: "--with-boot-jdk=" + common.boot_jdk_home,
858 environment_path: common.boot_jdk_home + "/bin"
859 },
860
861 devkit: {
862 organization: common.organization,
863 ext: "tar.gz",
864 module: "devkit-" + devkit_platform,
865 revision: devkit_platform_revisions[devkit_platform],
866 environment: {
867 "DEVKIT_HOME": input.get("devkit", "home_path"),
868 }
869 },
870
871 build_devkit: {
872 organization: common.organization,
873 ext: "tar.gz",
874 module: "devkit-" + input.build_platform,
875 revision: devkit_platform_revisions[input.build_platform]
876 },
|
344 local: "bundles/\\(jdk.*bin-tests-debug.tar.gz\\)",
345 remote: [
346 "bundles/" + pf + "/jdk-" + data.version + "_" + pf + "_bin-tests-debug.tar.gz",
347 "bundles/" + pf + "/\\1"
348 ],
349 exploded: "images/test"
350 },
351 jdk_symbols: {
352 local: "bundles/\\(jdk.*bin-debug-symbols.tar.gz\\)",
353 remote: [
354 "bundles/" + pf + "/jdk-" + data.version + "_" + pf + "_bin-debug-symbols.tar.gz",
355 "bundles/" + pf + "/\\1"
356 ],
357 subdir: jdk_subdir,
358 exploded: "images/jdk"
359 },
360 }
361 };
362 };
363
364 common.boot_jdk_version = "11";
365 common.boot_jdk_home = input.get("boot_jdk", "home_path") + "/jdk-"
366 + common.boot_jdk_version
367 + (input.build_os == "macosx" ? ".jdk/Contents/Home" : "");
368
369 return common;
370 };
371
372 /**
373 * Generates the profiles part of the configuration.
374 *
375 * @param input External data to use for generating the configuration
376 * @param common The common values
377 * @returns {{}} Profiles part of the configuration
378 */
379 var getJibProfilesProfiles = function (input, common, data) {
380 // Main SE profiles
381 var profiles = {
382
383 "linux-x64": {
384 target_os: "linux",
834 linux_arm: "gcc7.3.0-Fedora27+1.0"
835 };
836
837 var devkit_platform = (input.target_cpu == "x86"
838 ? input.target_os + "_x64"
839 : input.target_platform);
840
841 var boot_jdk_platform = (input.build_os == "macosx" ? "osx" : input.build_os)
842 + "-" + input.build_cpu;
843
844 var makeBinDir = (input.build_os == "windows"
845 ? input.get("gnumake", "install_path") + "/cygwin/bin"
846 : input.get("gnumake", "install_path") + "/bin");
847
848 var dependencies = {
849
850 boot_jdk: {
851 server: "jpg",
852 product: "jdk",
853 version: common.boot_jdk_version,
854 build_number: "28",
855 file: "bundles/" + boot_jdk_platform + "/jdk-" + common.boot_jdk_version + "_"
856 + boot_jdk_platform + "_bin"
857 + (input.build_os == "windows" ? ".zip" : ".tar.gz"),
858 configure_args: "--with-boot-jdk=" + common.boot_jdk_home,
859 environment_path: common.boot_jdk_home + "/bin"
860 },
861
862 devkit: {
863 organization: common.organization,
864 ext: "tar.gz",
865 module: "devkit-" + devkit_platform,
866 revision: devkit_platform_revisions[devkit_platform],
867 environment: {
868 "DEVKIT_HOME": input.get("devkit", "home_path"),
869 }
870 },
871
872 build_devkit: {
873 organization: common.organization,
874 ext: "tar.gz",
875 module: "devkit-" + input.build_platform,
876 revision: devkit_platform_revisions[input.build_platform]
877 },
|