< prev index next >

make/conf/jib-profiles.js

Print this page




 671         profiles[riDebugName] = clone(profiles[openDebugName]);
 672         // Rewrite all remote dirs to "bundles/openjdk/BCL/..."
 673         for (artifactName in profiles[riName].artifacts) {
 674             var artifact = profiles[riName].artifacts[artifactName];
 675             artifact.remote = replaceAll(
 676                 "\/GPL\/", "/BCL/",
 677                 (artifact.remote != null ? artifact.remote : artifact.local));
 678         }
 679     });
 680 
 681     // For open profiles, the non-debug jdk bundles, need an "open" prefix on the
 682     // remote bundle names, forming the word "openjdk". See JDK-8188789.
 683     common.main_profile_names.forEach(function (name) {
 684         var openName = name + common.open_suffix;
 685         profiles[openName].artifacts["jdk"].remote = replaceAll(
 686             "\/jdk-", "/openjdk-",
 687             replaceAll("\/\\1", "/open\\1",
 688                        profiles[openName].artifacts["jdk"].remote));
 689     });
 690 
 691     // Enable ZGC in linux-x64-open builds
 692     [ "linux-x64-open" ].forEach(function (name) {
 693         var configureArgs = { configure_args: [ "--with-jvm-features=zgc" ] };
 694         var debugName = name + common.debug_suffix;
 695         profiles[name] = concatObjects(profiles[name], configureArgs);
 696         profiles[debugName] = concatObjects(profiles[debugName], configureArgs);
 697     });
 698 
 699     // Generate cmp-baseline profiles for each main profile and their
 700     // corresponding debug profile. This profile does a compare build run with no
 701     // changes to verify that the compare script has a clean baseline
 702     common.main_profile_names.forEach(function (name) {
 703         [ "", common.open_suffix ].forEach(function (suffix) {
 704             var cmpBaselineName = name + suffix + "-cmp-baseline";
 705             profiles[cmpBaselineName] = clone(profiles[name + suffix]);
 706             // Only compare the images target. This should pressumably be expanded
 707             // to include more build targets when possible.
 708             profiles[cmpBaselineName].default_make_targets = [ "images" ];
 709             profiles[cmpBaselineName].make_args = [ "COMPARE_BUILD=CONF=" ];
 710             // Do not inherit artifact definitions from base profile
 711             delete profiles[cmpBaselineName].artifacts;
 712         });
 713     });
 714 
 715     // Profiles used to run tests.
 716     var testOnlyProfiles = {
 717         "run-test": {
 718             target_os: input.build_os,




 671         profiles[riDebugName] = clone(profiles[openDebugName]);
 672         // Rewrite all remote dirs to "bundles/openjdk/BCL/..."
 673         for (artifactName in profiles[riName].artifacts) {
 674             var artifact = profiles[riName].artifacts[artifactName];
 675             artifact.remote = replaceAll(
 676                 "\/GPL\/", "/BCL/",
 677                 (artifact.remote != null ? artifact.remote : artifact.local));
 678         }
 679     });
 680 
 681     // For open profiles, the non-debug jdk bundles, need an "open" prefix on the
 682     // remote bundle names, forming the word "openjdk". See JDK-8188789.
 683     common.main_profile_names.forEach(function (name) {
 684         var openName = name + common.open_suffix;
 685         profiles[openName].artifacts["jdk"].remote = replaceAll(
 686             "\/jdk-", "/openjdk-",
 687             replaceAll("\/\\1", "/open\\1",
 688                        profiles[openName].artifacts["jdk"].remote));
 689     });
 690 








 691     // Generate cmp-baseline profiles for each main profile and their
 692     // corresponding debug profile. This profile does a compare build run with no
 693     // changes to verify that the compare script has a clean baseline
 694     common.main_profile_names.forEach(function (name) {
 695         [ "", common.open_suffix ].forEach(function (suffix) {
 696             var cmpBaselineName = name + suffix + "-cmp-baseline";
 697             profiles[cmpBaselineName] = clone(profiles[name + suffix]);
 698             // Only compare the images target. This should pressumably be expanded
 699             // to include more build targets when possible.
 700             profiles[cmpBaselineName].default_make_targets = [ "images" ];
 701             profiles[cmpBaselineName].make_args = [ "COMPARE_BUILD=CONF=" ];
 702             // Do not inherit artifact definitions from base profile
 703             delete profiles[cmpBaselineName].artifacts;
 704         });
 705     });
 706 
 707     // Profiles used to run tests.
 708     var testOnlyProfiles = {
 709         "run-test": {
 710             target_os: input.build_os,


< prev index next >