< prev index next >

make/conf/jib-profiles.js

Print this page

1182         build_devkit: {
1183             organization: common.organization,
1184             ext: "tar.gz",
1185             module: "devkit-" + input.build_platform,
1186             revision: devkit_platform_revisions[input.build_platform],
1187             // Only set --with-build-devkit when cross compiling.
1188             configure_args: (input.build_cpu == input.target_cpu ? false
1189                 : "--with-build-devkit=" + input.get("build_devkit", "home_path"))
1190         },
1191 
1192         lldb: {
1193             organization: common.organization,
1194             ext: "tar.gz",
1195             module: "devkit-macosx" + (input.build_cpu == "x64" ? "_x64" : ""),
1196             revision: (input.build_cpu == "x64" ? "Xcode11.3.1-MacOSX10.15+1.2" : devkit_platform_revisions[devkit_platform])
1197         },
1198 
1199         jtreg: {
1200             server: "jpg",
1201             product: "jtreg",
1202             version: "7.4",
1203             build_number: "1",
1204             file: "bundles/jtreg-7.4+1.zip",
1205             environment_name: "JT_HOME",
1206             environment_path: input.get("jtreg", "home_path") + "/bin",
1207             configure_args: "--with-jtreg=" + input.get("jtreg", "home_path"),
1208         },
1209 
1210         jmh: {
1211             organization: common.organization,
1212             ext: "tar.gz",
1213             revision: "1.37+1.0"
1214         },
1215 
1216         jcov: {
1217             organization: common.organization,
1218             revision: "3.0-17-jdk-asm+1.0",
1219             ext: "zip",
1220             environment_name: "JCOV_HOME",
1221         },
1222 
1223         gnumake: {
1224             organization: common.organization,

1482     if (common.build_number != 0) {
1483         args = concat(args, "--with-version-build=" + common.build_number);
1484     }
1485     if (input.build_type == "promoted") {
1486         args = concat(args,
1487                       "--with-version-pre=" + version_numbers.get("DEFAULT_PROMOTED_VERSION_PRE"),
1488                       "--without-version-opt");
1489     } else if (input.build_type == "ci") {
1490         var ciBuildNumber = input.build_id_data.ciBuildNumber;
1491         var preString = input.build_id_data.projectName;
1492         if (preString == "jdk") {
1493             preString = version_numbers.get("DEFAULT_PROMOTED_VERSION_PRE");
1494         }
1495         args = concat(args, "--with-version-pre=" + preString,
1496                       "--with-version-opt=" + ciBuildNumber);
1497         if (input.target_os == "macosx") {
1498             args = concat(args, "--with-macosx-bundle-build-version="
1499                           + common.build_number + "." + ciBuildNumber);
1500         }
1501     } else {

1502         args = concat(args, "--with-version-opt=" + common.build_id);
1503     }
1504     var sourceDate
1505     if (input.build_id_data && input.build_id_data.creationTime) {
1506         sourceDate = Math.floor(Date.parse(input.build_id_data.creationTime)/1000);
1507     } else {
1508         sourceDate = "current";
1509     }
1510     args = concat(args, "--with-source-date=" + sourceDate);
1511 
1512     return args;
1513 }
1514 
1515 // Properties representation of the make/conf/version-numbers.conf file. Lazily
1516 // initiated by the function below.
1517 var version_numbers;
1518 
1519 /**
1520  * Read the make/conf/version-numbers.conf file into a Properties object.
1521  *

1182         build_devkit: {
1183             organization: common.organization,
1184             ext: "tar.gz",
1185             module: "devkit-" + input.build_platform,
1186             revision: devkit_platform_revisions[input.build_platform],
1187             // Only set --with-build-devkit when cross compiling.
1188             configure_args: (input.build_cpu == input.target_cpu ? false
1189                 : "--with-build-devkit=" + input.get("build_devkit", "home_path"))
1190         },
1191 
1192         lldb: {
1193             organization: common.organization,
1194             ext: "tar.gz",
1195             module: "devkit-macosx" + (input.build_cpu == "x64" ? "_x64" : ""),
1196             revision: (input.build_cpu == "x64" ? "Xcode11.3.1-MacOSX10.15+1.2" : devkit_platform_revisions[devkit_platform])
1197         },
1198 
1199         jtreg: {
1200             server: "jpg",
1201             product: "jtreg",
1202             version: "7.5",
1203             build_number: "ci/31",
1204             file: "bundles/jtreg-7.5+1.zip",
1205             environment_name: "JT_HOME",
1206             environment_path: input.get("jtreg", "home_path") + "/bin",
1207             configure_args: "--with-jtreg=" + input.get("jtreg", "home_path"),
1208         },
1209 
1210         jmh: {
1211             organization: common.organization,
1212             ext: "tar.gz",
1213             revision: "1.37+1.0"
1214         },
1215 
1216         jcov: {
1217             organization: common.organization,
1218             revision: "3.0-17-jdk-asm+1.0",
1219             ext: "zip",
1220             environment_name: "JCOV_HOME",
1221         },
1222 
1223         gnumake: {
1224             organization: common.organization,

1482     if (common.build_number != 0) {
1483         args = concat(args, "--with-version-build=" + common.build_number);
1484     }
1485     if (input.build_type == "promoted") {
1486         args = concat(args,
1487                       "--with-version-pre=" + version_numbers.get("DEFAULT_PROMOTED_VERSION_PRE"),
1488                       "--without-version-opt");
1489     } else if (input.build_type == "ci") {
1490         var ciBuildNumber = input.build_id_data.ciBuildNumber;
1491         var preString = input.build_id_data.projectName;
1492         if (preString == "jdk") {
1493             preString = version_numbers.get("DEFAULT_PROMOTED_VERSION_PRE");
1494         }
1495         args = concat(args, "--with-version-pre=" + preString,
1496                       "--with-version-opt=" + ciBuildNumber);
1497         if (input.target_os == "macosx") {
1498             args = concat(args, "--with-macosx-bundle-build-version="
1499                           + common.build_number + "." + ciBuildNumber);
1500         }
1501     } else {
1502         args = concat(args, "--with-version-pre=" + version_numbers.get("DEFAULT_PROMOTED_VERSION_PRE"));
1503         args = concat(args, "--with-version-opt=" + common.build_id);
1504     }
1505     var sourceDate
1506     if (input.build_id_data && input.build_id_data.creationTime) {
1507         sourceDate = Math.floor(Date.parse(input.build_id_data.creationTime)/1000);
1508     } else {
1509         sourceDate = "current";
1510     }
1511     args = concat(args, "--with-source-date=" + sourceDate);
1512 
1513     return args;
1514 }
1515 
1516 // Properties representation of the make/conf/version-numbers.conf file. Lazily
1517 // initiated by the function below.
1518 var version_numbers;
1519 
1520 /**
1521  * Read the make/conf/version-numbers.conf file into a Properties object.
1522  *
< prev index next >