[CRIU] [PATCH 00/11] build: Fix issue on simultaneous build
Andrey Vagin
avagin at virtuozzo.com
Fri Jul 27 05:09:54 MSK 2018
Applied, thanks
On Thu, Jul 12, 2018 at 03:51:31PM +0300, Cyrill Gorcunov wrote:
> We've noticed that sometimes the build procedure fails in inclusion
> on dep files, this is because same target is executed for several
> jobs.
>
> | make[1]: *** No rule to make target '/usr/incl', needed by 'compel/arch/x86/src/lib/infect.o'. Stop.
> | make[1]: *** Waiting for unfinished jobs....
>
> So first lets cleanup nmk code to yield deps only if explicitly requested
> and secondly fix the make deps in compel.
>
> https://ci.openvz.org/job/CRIU/job/CRIU-freezer/job/criu-dev/4063/console
>
> Cyrill Gorcunov (11):
> nmk: Don't include deps on mrproper
> nmk: Filter out already seen targets from collect-deps
> nmk: Gather reserved vars on top of build
> nmk: Drop unneeded ld_flags
> nmk: Align continuations
> nmk: Add collect-hostprogs-deps helper
> nmk: Add collect-target-deps helper
> nmk: Add obj and lib deps gathering via helpers
> nmk: Make collect-deps to be more precise about targets
> compel: Move lib files into lib-y
> compel: Make sure the hostprog is built early
>
> Makefile.compel | 8 +++--
> compel/Makefile | 6 ++--
> scripts/nmk/scripts/build.mk | 81 +++++++++++++++++++++++++++++---------------
> 3 files changed, 64 insertions(+), 31 deletions(-)
>
> --
> 2.14.4
>
More information about the CRIU
mailing list