Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Fix YA parallel-make hazard, this one in "make check" in plpython.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 12 Apr 2018 14:38:48 +0000 (10:38 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 12 Apr 2018 14:38:53 +0000 (10:38 -0400)
We have to ensure that submake-generated-headers is finished before
the topmost make run launches any child makes.

Discussion: https://postgr.es/m/20180411235843.GG32449@paquier.xyz

src/pl/plpython/Makefile

index 653fe644ee64396098ed987682dbc532de573f3a..c17015bbdf5ebf4c3de7387f5f0a87605f702bba 100644 (file)
@@ -131,7 +131,7 @@ installcheck: submake-pg-regress
 
 
 .PHONY: submake-pg-regress
-submake-pg-regress:
+submake-pg-regress: | submake-generated-headers
    $(MAKE) -C $(top_builddir)/src/test/regress pg_regress$(X)
 
 clean distclean: clean-lib