On Sun, Apr 08, 2018 at 11:05:09PM -0400, Tom Lane wrote:
> Hm. I'd tested "make -j all", but not going directly to "install".
> Does it help if you add
>
> $(SUBDIRS:%=install-%-recurse): | submake-generated-headers
>
> to src/Makefile?
>
> (That seems like a bit of a brute-force solution, though. Anybody
> have a better answer?)
That takes care of the problem from the root of the directory, but when
doing the same from src/bin/ then the same issue shows up even if
src/Makefile is patched to handle install targets.
At the same time, trying to trigger a parallel install from src/backend
makes the build unhappy:
make: *** No rule to make target '../../src/common/libpgcommon_srv.a',
needed by 'postgres'. Stop.
make: *** Waiting for unfinished jobs....
That may not be worth bothering, just mentioning.
--
Michael