On Sat, Mar 22, 2014 at 01:22:06PM +0100, Hilko Bengen wrote:
* 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/dce94f3e266ed3f1fc634a1ef...
>
> 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?
Doesn't that mean that if mlguestfs.cmxa is out of date, simply
running the mlguestfs.cma rule will build it (which it won't)?
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v