[libvirt] [PATCH v3 6/6] travis: put macOS script inline in the macOS matrix entry

Andrea Bolognani abologna at redhat.com
Mon Apr 1 11:09:39 UTC 2019


On Wed, 2019-03-27 at 17:10 +0000, Daniel P. Berrangé wrote:
[...]
>        script:
> -        /bin/sh -xc "$MACOS_CMD"
> +        # We can't run 'distcheck' or 'syntax-check' because they fail on
> +        # macOS, but doing 'install' and 'dist' gives us some useful coverage
> +        - ./autogen.sh --prefix=$(pwd)/install-root && make -j3 && make -j3 install && make -j3 dist

One more thing: it would be nice if we could replace that '-j3' with
something similar to the 'getconf _NPROCESSORS_ONLN' call we have in
Makefile.ci for Linux builds.

Of course it would be a separate change that we can do as a follow
up, I'm just writing it down before I forget (again).

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list