301 }
302 };
303 profiles = concatObjects(profiles, mainProfiles);
304 // Generate debug versions of all the main profiles
305 profiles = concatObjects(profiles, generateDebugProfiles(common, mainProfiles));
306 // Generate slowdebug versions of all the main profiles
307 profiles = concatObjects(profiles, generateSlowdebugProfiles(common, mainProfiles));
308
309 // Generate open only profiles for all the main profiles for JPRT and reference
310 // implementation builds.
311 var openOnlyProfiles = generateOpenOnlyProfiles(common, mainProfiles);
312 // The open only profiles on linux are used for reference builds and should
313 // produce the compact profile images by default. This adds "profiles" as an
314 // extra default target.
315 var openOnlyProfilesExtra = {
316 "linux-x64-open": {
317 default_make_targets: "profiles"
318 },
319
320 "linux-x86-open": {
321 default_make_targets: "profiles"
322 }
323 };
324 var openOnlyProfiles = concatObjects(openOnlyProfiles, openOnlyProfilesExtra);
325
326 profiles = concatObjects(profiles, openOnlyProfiles);
327 // Generate debug profiles for the open jprt profiles
328 profiles = concatObjects(profiles, generateDebugProfiles(common, openOnlyProfiles));
329
330 // Profiles used to run tests. Used in JPRT.
331 var testOnlyProfiles = {
332
333 "run-test": {
334 target_os: input.build_os,
335 target_cpu: input.build_cpu,
336 dependencies: [ "jtreg", "gnumake" ],
337 labels: "test"
338 }
339 };
340 profiles = concatObjects(profiles, testOnlyProfiles);
341
|
301 }
302 };
303 profiles = concatObjects(profiles, mainProfiles);
304 // Generate debug versions of all the main profiles
305 profiles = concatObjects(profiles, generateDebugProfiles(common, mainProfiles));
306 // Generate slowdebug versions of all the main profiles
307 profiles = concatObjects(profiles, generateSlowdebugProfiles(common, mainProfiles));
308
309 // Generate open only profiles for all the main profiles for JPRT and reference
310 // implementation builds.
311 var openOnlyProfiles = generateOpenOnlyProfiles(common, mainProfiles);
312 // The open only profiles on linux are used for reference builds and should
313 // produce the compact profile images by default. This adds "profiles" as an
314 // extra default target.
315 var openOnlyProfilesExtra = {
316 "linux-x64-open": {
317 default_make_targets: "profiles"
318 },
319
320 "linux-x86-open": {
321 default_make_targets: "profiles",
322 configure_args: "--with-jvm-variants=client,server"
323 }
324 };
325 var openOnlyProfiles = concatObjects(openOnlyProfiles, openOnlyProfilesExtra);
326
327 profiles = concatObjects(profiles, openOnlyProfiles);
328 // Generate debug profiles for the open jprt profiles
329 profiles = concatObjects(profiles, generateDebugProfiles(common, openOnlyProfiles));
330
331 // Profiles used to run tests. Used in JPRT.
332 var testOnlyProfiles = {
333
334 "run-test": {
335 target_os: input.build_os,
336 target_cpu: input.build_cpu,
337 dependencies: [ "jtreg", "gnumake" ],
338 labels: "test"
339 }
340 };
341 profiles = concatObjects(profiles, testOnlyProfiles);
342
|