698 profiles[riDebugName] = clone(profiles[openDebugName]); 699 // Rewrite all remote dirs to "bundles/openjdk/BCL/..." 700 for (artifactName in profiles[riName].artifacts) { 701 var artifact = profiles[riName].artifacts[artifactName]; 702 artifact.remote = replaceAll( 703 "\/GPL\/", "/BCL/", 704 (artifact.remote != null ? artifact.remote : artifact.local)); 705 } 706 }); 707 708 // For open profiles, the non-debug jdk bundles, need an "open" prefix on the 709 // remote bundle names, forming the word "openjdk". See JDK-8188789. 710 common.main_profile_names.forEach(function (name) { 711 var openName = name + common.open_suffix; 712 profiles[openName].artifacts["jdk"].remote = replaceAll( 713 "\/jdk-", "/openjdk-", 714 replaceAll("\/\\1", "/open\\1", 715 profiles[openName].artifacts["jdk"].remote)); 716 }); 717 718 // Profiles used to run tests. Used in JPRT and Mach 5. 719 var testOnlyProfiles = { 720 "run-test-jprt": { 721 target_os: input.build_os, 722 target_cpu: input.build_cpu, 723 dependencies: [ "jtreg", "gnumake", "boot_jdk", "devkit", "jib" ], 724 labels: "test", 725 environment: { 726 "JT_JAVA": common.boot_jdk_home 727 } 728 }, 729 730 "run-test": { 731 target_os: input.build_os, 732 target_cpu: input.build_cpu, 733 dependencies: [ "jtreg", "gnumake", "boot_jdk", "devkit", "jib" ], 734 labels: "test", 735 environment: { 736 "JT_JAVA": common.boot_jdk_home 737 } | 698 profiles[riDebugName] = clone(profiles[openDebugName]); 699 // Rewrite all remote dirs to "bundles/openjdk/BCL/..." 700 for (artifactName in profiles[riName].artifacts) { 701 var artifact = profiles[riName].artifacts[artifactName]; 702 artifact.remote = replaceAll( 703 "\/GPL\/", "/BCL/", 704 (artifact.remote != null ? artifact.remote : artifact.local)); 705 } 706 }); 707 708 // For open profiles, the non-debug jdk bundles, need an "open" prefix on the 709 // remote bundle names, forming the word "openjdk". See JDK-8188789. 710 common.main_profile_names.forEach(function (name) { 711 var openName = name + common.open_suffix; 712 profiles[openName].artifacts["jdk"].remote = replaceAll( 713 "\/jdk-", "/openjdk-", 714 replaceAll("\/\\1", "/open\\1", 715 profiles[openName].artifacts["jdk"].remote)); 716 }); 717 718 // Enable ZGC in linux-x64-open builds 719 [ "linux-x64-open" ].forEach(function (name) { 720 var configureArgs = { configure_args: [ "--with-jvm-features=zgc" ] }; 721 var debugName = name + common.debug_suffix; 722 profiles[name] = concatObjects(profiles[name], configureArgs); 723 profiles[debugName] = concatObjects(profiles[debugName], configureArgs); 724 }); 725 726 // Profiles used to run tests. Used in JPRT and Mach 5. 727 var testOnlyProfiles = { 728 "run-test-jprt": { 729 target_os: input.build_os, 730 target_cpu: input.build_cpu, 731 dependencies: [ "jtreg", "gnumake", "boot_jdk", "devkit", "jib" ], 732 labels: "test", 733 environment: { 734 "JT_JAVA": common.boot_jdk_home 735 } 736 }, 737 738 "run-test": { 739 target_os: input.build_os, 740 target_cpu: input.build_cpu, 741 dependencies: [ "jtreg", "gnumake", "boot_jdk", "devkit", "jib" ], 742 labels: "test", 743 environment: { 744 "JT_JAVA": common.boot_jdk_home 745 } |