SHA256
3
0
forked from pool/binutils

Try to get separate make headers working with PGO+LTO build

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=374
This commit is contained in:
Michael Matz 2021-10-19 16:31:03 +00:00 committed by Git OBS Bridge
parent 2af0b96406
commit a362b336fe
23 changed files with 115 additions and 0 deletions

View File

@ -318,6 +318,10 @@ cd build-dir
# which are generated only with --enable-maintainer-mode (which we
# don't do) or explicitely by make headers, so do this:
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
# have the PGO handling, hence it's config.cache files are wrong
# remove all of those for reconfigure
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}
@ -387,6 +391,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}

View File

@ -321,6 +321,10 @@ cd build-dir
# which are generated only with --enable-maintainer-mode (which we
# don't do) or explicitely by make headers, so do this:
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
# have the PGO handling, hence it's config.cache files are wrong
# remove all of those for reconfigure
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}

View File

@ -321,6 +321,10 @@ cd build-dir
# which are generated only with --enable-maintainer-mode (which we
# don't do) or explicitely by make headers, so do this:
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
# have the PGO handling, hence it's config.cache files are wrong
# remove all of those for reconfigure
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}

View File

@ -321,6 +321,10 @@ cd build-dir
# which are generated only with --enable-maintainer-mode (which we
# don't do) or explicitely by make headers, so do this:
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
# have the PGO handling, hence it's config.cache files are wrong
# remove all of those for reconfigure
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}

View File

@ -321,6 +321,10 @@ cd build-dir
# which are generated only with --enable-maintainer-mode (which we
# don't do) or explicitely by make headers, so do this:
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
# have the PGO handling, hence it's config.cache files are wrong
# remove all of those for reconfigure
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}

View File

@ -321,6 +321,10 @@ cd build-dir
# which are generated only with --enable-maintainer-mode (which we
# don't do) or explicitely by make headers, so do this:
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
# have the PGO handling, hence it's config.cache files are wrong
# remove all of those for reconfigure
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}

View File

@ -321,6 +321,10 @@ cd build-dir
# which are generated only with --enable-maintainer-mode (which we
# don't do) or explicitely by make headers, so do this:
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
# have the PGO handling, hence it's config.cache files are wrong
# remove all of those for reconfigure
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}

View File

@ -321,6 +321,10 @@ cd build-dir
# which are generated only with --enable-maintainer-mode (which we
# don't do) or explicitely by make headers, so do this:
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
# have the PGO handling, hence it's config.cache files are wrong
# remove all of those for reconfigure
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}

View File

@ -321,6 +321,10 @@ cd build-dir
# which are generated only with --enable-maintainer-mode (which we
# don't do) or explicitely by make headers, so do this:
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
# have the PGO handling, hence it's config.cache files are wrong
# remove all of those for reconfigure
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}

View File

@ -321,6 +321,10 @@ cd build-dir
# which are generated only with --enable-maintainer-mode (which we
# don't do) or explicitely by make headers, so do this:
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
# have the PGO handling, hence it's config.cache files are wrong
# remove all of those for reconfigure
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}

View File

@ -321,6 +321,10 @@ cd build-dir
# which are generated only with --enable-maintainer-mode (which we
# don't do) or explicitely by make headers, so do this:
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
# have the PGO handling, hence it's config.cache files are wrong
# remove all of those for reconfigure
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}

View File

@ -321,6 +321,10 @@ cd build-dir
# which are generated only with --enable-maintainer-mode (which we
# don't do) or explicitely by make headers, so do this:
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
# have the PGO handling, hence it's config.cache files are wrong
# remove all of those for reconfigure
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}

View File

@ -321,6 +321,10 @@ cd build-dir
# which are generated only with --enable-maintainer-mode (which we
# don't do) or explicitely by make headers, so do this:
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
# have the PGO handling, hence it's config.cache files are wrong
# remove all of those for reconfigure
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}

View File

@ -321,6 +321,10 @@ cd build-dir
# which are generated only with --enable-maintainer-mode (which we
# don't do) or explicitely by make headers, so do this:
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
# have the PGO handling, hence it's config.cache files are wrong
# remove all of those for reconfigure
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}

View File

@ -321,6 +321,10 @@ cd build-dir
# which are generated only with --enable-maintainer-mode (which we
# don't do) or explicitely by make headers, so do this:
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
# have the PGO handling, hence it's config.cache files are wrong
# remove all of those for reconfigure
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}

View File

@ -321,6 +321,10 @@ cd build-dir
# which are generated only with --enable-maintainer-mode (which we
# don't do) or explicitely by make headers, so do this:
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
# have the PGO handling, hence it's config.cache files are wrong
# remove all of those for reconfigure
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}

View File

@ -321,6 +321,10 @@ cd build-dir
# which are generated only with --enable-maintainer-mode (which we
# don't do) or explicitely by make headers, so do this:
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
# have the PGO handling, hence it's config.cache files are wrong
# remove all of those for reconfigure
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}

View File

@ -321,6 +321,10 @@ cd build-dir
# which are generated only with --enable-maintainer-mode (which we
# don't do) or explicitely by make headers, so do this:
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
# have the PGO handling, hence it's config.cache files are wrong
# remove all of those for reconfigure
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}

View File

@ -321,6 +321,10 @@ cd build-dir
# which are generated only with --enable-maintainer-mode (which we
# don't do) or explicitely by make headers, so do this:
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
# have the PGO handling, hence it's config.cache files are wrong
# remove all of those for reconfigure
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}

View File

@ -321,6 +321,10 @@ cd build-dir
# which are generated only with --enable-maintainer-mode (which we
# don't do) or explicitely by make headers, so do this:
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
# have the PGO handling, hence it's config.cache files are wrong
# remove all of those for reconfigure
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}

View File

@ -321,6 +321,10 @@ cd build-dir
# which are generated only with --enable-maintainer-mode (which we
# don't do) or explicitely by make headers, so do this:
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
# have the PGO handling, hence it's config.cache files are wrong
# remove all of those for reconfigure
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}

View File

@ -321,6 +321,10 @@ cd build-dir
# which are generated only with --enable-maintainer-mode (which we
# don't do) or explicitely by make headers, so do this:
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
# have the PGO handling, hence it's config.cache files are wrong
# remove all of those for reconfigure
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}

View File

@ -321,6 +321,10 @@ cd build-dir
# which are generated only with --enable-maintainer-mode (which we
# don't do) or explicitely by make headers, so do this:
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
# have the PGO handling, hence it's config.cache files are wrong
# remove all of those for reconfigure
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
rm */config.cache
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}