]> gcc.gnu.org Git - gcc.git/commit
match.pd: Use splits in makefile and make configurable.
authorTamar Christina <tamar.christina@arm.com>
Fri, 5 May 2023 12:42:17 +0000 (13:42 +0100)
committerTamar Christina <tamar.christina@arm.com>
Fri, 5 May 2023 12:47:36 +0000 (13:47 +0100)
commit0a85544e1aaeca41133ecfc438cda913dbc0f122
tree65ca2284f7f62c03db4f0e768461016de5870fdd
parent703417a030b3d80f55ba1402adc3f1692d3631e5
match.pd: Use splits in makefile and make configurable.

This updates the build system to split up match.pd files into chunks of 10.
This also introduces a new flag --with-matchpd-partitions which can be used to
change the number of partitions.

For the analysis of why 10 please look at the previous patch in the series.

gcc/ChangeLog:

PR bootstrap/84402
* Makefile.in (NUM_MATCH_SPLITS, MATCH_SPLITS_SEQ,
GIMPLE_MATCH_PD_SEQ_SRC, GIMPLE_MATCH_PD_SEQ_O,
GENERIC_MATCH_PD_SEQ_SRC, GENERIC_MATCH_PD_SEQ_O): New.
(OBJS, MOSTLYCLEANFILES, .PRECIOUS): Use them.
(s-match): Split into s-generic-match and s-gimple-match.
* configure.ac (with-matchpd-partitions,
DEFAULT_MATCHPD_PARTITIONS): New.
* configure: Regenerate.
gcc/Makefile.in
gcc/configure
gcc/configure.ac
This page took 0.057289 seconds and 5 git commands to generate.