[Libguestfs] [PATCH] Fix building on architectures where ocamlopt is not available

Hilko Bengen bengen at hilluzination.de
Sat Mar 22 12:22:06 UTC 2014


* Richard W.M. Jones:

>> I think that an extra target (mlguestfs.cmxa: mlguestfs.cma) would make
>> the .NOTPARALLEL unnecessary.
>
> Right, I remember this was a problem now.
>
> It was fixed by:
>
> https://github.com/libguestfs/libguestfs/commit/dce94f3e266ed3f1fc634a1ef6953f2db1510963
>
> Do you think we could re-add the stamp-file / touch $@ ?

Sure, it would have to be modified so it still works if OCAMLOPT is not
available -- that's why I made that change in the first place.

Wouldn't a rule without commands such as

mlguestfs.cmxa: mlguestfs.cma

also prevent make from building the two targets in parallel?

Cheers,
-Hilko




More information about the Libguestfs mailing list