226 *
227 * @param input External data to use for generating the configuration
228 * @returns Common values
229 */
230 var getJibProfilesCommon = function (input, data) {
231 var common = {};
232
233 common.organization = "jpg.infra.builddeps";
234 common.build_id = getBuildId(input);
235 common.build_number = input.build_number != null ? input.build_number : "0";
236
237 // List of the main profile names used for iteration
238 common.main_profile_names = [
239 "linux-x64", "linux-x86", "macosx-x64", "solaris-x64",
240 "solaris-sparcv9", "windows-x64", "windows-x86",
241 "linux-aarch64", "linux-arm32"
242 ];
243
244 // These are the base setttings for all the main build profiles.
245 common.main_profile_base = {
246 dependencies: ["boot_jdk", "gnumake", "jtreg", "jib", "autoconf"],
247 default_make_targets: ["product-bundles", "test-bundles"],
248 configure_args: concat(["--enable-jtreg-failure-handler"],
249 "--with-exclude-translations=de,es,fr,it,ko,pt_BR,sv,ca,tr,cs,sk,ja_JP_A,ja_JP_HA,ja_JP_HI,ja_JP_I,zh_TW,zh_HK",
250 "--disable-manpages",
251 versionArgs(input, common))
252 };
253 // Extra settings for debug profiles
254 common.debug_suffix = "-debug";
255 common.debug_profile_base = {
256 configure_args: ["--enable-debug"],
257 labels: "debug"
258 };
259 // Extra settings for slowdebug profiles
260 common.slowdebug_suffix = "-slowdebug";
261 common.slowdebug_profile_base = {
262 configure_args: ["--with-debug-level=slowdebug"],
263 labels: "slowdebug"
264 };
265 // Extra settings for openjdk only profiles
266 common.open_suffix = "-open";
873 organization: common.organization,
874 ext: "tar.gz",
875 module: "devkit-" + input.build_platform,
876 revision: devkit_platform_revisions[input.build_platform]
877 },
878
879 cups: {
880 organization: common.organization,
881 ext: "tar.gz",
882 revision: "1.0118+1.0"
883 },
884
885 jtreg: {
886 server: "javare",
887 revision: "4.2",
888 build_number: "b13",
889 checksum_file: "MD5_VALUES",
890 file: "jtreg_bin-4.2.zip",
891 environment_name: "JT_HOME",
892 environment_path: input.get("jtreg", "install_path") + "/jtreg/bin"
893 },
894
895 gnumake: {
896 organization: common.organization,
897 ext: "tar.gz",
898 revision: "4.0+1.0",
899
900 module: (input.build_os == "windows"
901 ? "gnumake-" + input.build_osenv_platform
902 : "gnumake-" + input.build_platform),
903
904 configure_args: "MAKE=" + makeBinDir + "/make",
905
906 environment: {
907 "MAKE": makeBinDir + "/make"
908 },
909
910 environment_path: makeBinDir
911 },
912
|
226 *
227 * @param input External data to use for generating the configuration
228 * @returns Common values
229 */
230 var getJibProfilesCommon = function (input, data) {
231 var common = {};
232
233 common.organization = "jpg.infra.builddeps";
234 common.build_id = getBuildId(input);
235 common.build_number = input.build_number != null ? input.build_number : "0";
236
237 // List of the main profile names used for iteration
238 common.main_profile_names = [
239 "linux-x64", "linux-x86", "macosx-x64", "solaris-x64",
240 "solaris-sparcv9", "windows-x64", "windows-x86",
241 "linux-aarch64", "linux-arm32"
242 ];
243
244 // These are the base setttings for all the main build profiles.
245 common.main_profile_base = {
246 dependencies: ["boot_jdk", "gnumake", "jtreg", "jib", "autoconf", "jmh"],
247 default_make_targets: ["product-bundles", "test-bundles"],
248 configure_args: concat(["--enable-jtreg-failure-handler"],
249 "--with-exclude-translations=de,es,fr,it,ko,pt_BR,sv,ca,tr,cs,sk,ja_JP_A,ja_JP_HA,ja_JP_HI,ja_JP_I,zh_TW,zh_HK",
250 "--disable-manpages",
251 versionArgs(input, common))
252 };
253 // Extra settings for debug profiles
254 common.debug_suffix = "-debug";
255 common.debug_profile_base = {
256 configure_args: ["--enable-debug"],
257 labels: "debug"
258 };
259 // Extra settings for slowdebug profiles
260 common.slowdebug_suffix = "-slowdebug";
261 common.slowdebug_profile_base = {
262 configure_args: ["--with-debug-level=slowdebug"],
263 labels: "slowdebug"
264 };
265 // Extra settings for openjdk only profiles
266 common.open_suffix = "-open";
873 organization: common.organization,
874 ext: "tar.gz",
875 module: "devkit-" + input.build_platform,
876 revision: devkit_platform_revisions[input.build_platform]
877 },
878
879 cups: {
880 organization: common.organization,
881 ext: "tar.gz",
882 revision: "1.0118+1.0"
883 },
884
885 jtreg: {
886 server: "javare",
887 revision: "4.2",
888 build_number: "b13",
889 checksum_file: "MD5_VALUES",
890 file: "jtreg_bin-4.2.zip",
891 environment_name: "JT_HOME",
892 environment_path: input.get("jtreg", "install_path") + "/jtreg/bin"
893 },
894
895 jmh: {
896 organization: common.organization,
897 ext: "tar.gz",
898 revision: "1.21+1.0"
899 },
900
901 gnumake: {
902 organization: common.organization,
903 ext: "tar.gz",
904 revision: "4.0+1.0",
905
906 module: (input.build_os == "windows"
907 ? "gnumake-" + input.build_osenv_platform
908 : "gnumake-" + input.build_platform),
909
910 configure_args: "MAKE=" + makeBinDir + "/make",
911
912 environment: {
913 "MAKE": makeBinDir + "/make"
914 },
915
916 environment_path: makeBinDir
917 },
918
|