ClusterLabs / fence-agents

Fence agents
104 stars 160 forks source link

build: fix parallel build of lib/ vs agents/ #463

Closed fabbione closed 2 years ago

fabbione commented 2 years ago

the main problem is that automake does not really deal well with dependencies between subdirs when doing parallel builds with -j.

the simplest solution is to disable parallel build for, and only for, the top level makefile.

this will force make to first dive into lib/ and then everything.

parallel builds of agents and doc will continue to work as expected

Signed-off-by: Fabio M. Di Nitto fdinitto@redhat.com