Content-Length: 291912 | pFad | http://github.com/postgrespro/postgres/commit/1a2d9a655a5de1c8c9d479c77d6351b878094606

2A Fix parallel make issue with new fmgrprotos.h · postgrespro/postgres@1a2d9a6 · GitHub
Skip to content

Commit 1a2d9a6

Browse files
committed
Fix parallel make issue with new fmgrprotos.h
The make rules needed further refinement so that we don't run multiple generations per build. reported by Tom Lane
1 parent 0bc1207 commit 1a2d9a6

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/backend/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,10 @@ storage/lmgr/lwlocknames.h: storage/lmgr/generate-lwlocknames.pl storage/lmgr/lw
139139
utils/errcodes.h: utils/generate-errcodes.pl utils/errcodes.txt
140140
$(MAKE) -C utils errcodes.h
141141

142-
utils/fmgroids.h utils/fmgrprotos.h: utils/Gen_fmgrtab.pl catalog/Catalog.pm $(top_srcdir)/src/include/catalog/pg_proc.h
142+
# see explanation in parser/Makefile
143+
utils/fmgrprotos.h: utils/fmgroids.h ;
144+
145+
utils/fmgroids.h: utils/Gen_fmgrtab.pl catalog/Catalog.pm $(top_srcdir)/src/include/catalog/pg_proc.h
143146
$(MAKE) -C utils $(notdir $@)
144147

145148
utils/probes.h: utils/probes.d

src/backend/utils/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ all: errcodes.h fmgroids.h fmgrprotos.h probes.h
2121
$(SUBDIRS:%=%-recursive): fmgroids.h fmgrprotos.h
2222

2323
# see explanation in ../parser/Makefile
24-
fmgroids.h fmgrprotos.h: fmgrtab.c ;
24+
fmgrprotos.h: fmgroids.h ;
25+
fmgroids.h: fmgrtab.c ;
2526

2627
fmgrtab.c: Gen_fmgrtab.pl $(catalogdir)/Catalog.pm $(top_srcdir)/src/include/catalog/pg_proc.h
2728
$(PERL) -I $(catalogdir) $< $(top_srcdir)/src/include/catalog/pg_proc.h

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/1a2d9a655a5de1c8c9d479c77d6351b878094606

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy