8213428: Add a no precompiled header Linux build to builds-tier1 and jdk-submit
Reviewed-by: ihse, tbell
--- 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.