# HG changeset patch # User erikj # Date 1541635070 28800 # Node ID bec2391579f89ddff827d6eac6b04ebad7b8ef0d # Parent dc1f9dec2018a37fedba47d8a2aedef99faaec64 8213428: Add a no precompiled header Linux build to builds-tier1 and jdk-submit Reviewed-by: ihse, tbell diff -r dc1f9dec2018 -r bec2391579f8 make/conf/jib-profiles.js --- a/make/conf/jib-profiles.js Wed Nov 07 20:24:44 2018 +0100 +++ b/make/conf/jib-profiles.js Wed Nov 07 15:57:50 2018 -0800 @@ -527,6 +527,27 @@ profiles[debugName] = concatObjects(profiles[name], common.debug_profile_base); }); + // Define a profile with precompiled headers disabled. This is just used for + // verfication of this build configuration. + var noPchProfiles = { + "linux-x64-debug-nopch": { + target_os: "linux", + target_cpu: "x64", + dependencies: ["devkit"], + configure_args: concat(common.configure_args_64bit, + "--with-zlib=system", "--disable-precompiled-headers"), + }, + }; + profiles = concatObjects(profiles, noPchProfiles); + // Add base settings to noPch profiles + Object.keys(noPchProfiles).forEach(function (name) { + profiles[name] = concatObjects(common.main_profile_base, profiles[name]); + profiles[name] = concatObjects(common.debug_profile_base, profiles[name]); + // Override default make target with hotspot as that's the only part of + // the build using precompiled headers. + profiles[name].default_make_targets = ["hotspot"]; + }); + // Bootcycle profiles runs the build with itself as the boot jdk. This can // be done in two ways. Either using the builtin bootcycle target in the // build system. Or by supplying the main jdk build as bootjdk to configure.