[libvirt] [PATCH 5/5] Add travis build configuration
Roman Bogorodskiy
bogorodskiy at gmail.com
Sat Apr 8 14:28:36 UTC 2017
Daniel P. Berrange wrote:
> This travis configuration tests libvirt builds on 5 platforms that we don't
> exercise in the CentOS CI system.
>
> - Ubuntu Trusty with GCC
> - Ubuntu Trusty with CLang
> - Ubuntu Precise with GCC
> - Ubuntu Precise with CLang
> - OS-X with CLang
>
> NB, syntax-check fails on OS-X with errors like:
>
> /bin/sh: /usr/bin/grep: Argument list too long
>
> Presumably their grep impl isn't as good as the GNU one, so this test
> config skips syntax-check on OS-X for now.
This looks like the same problem I'm having on FreeBSD. Its ARG_MAX
value is too low and not tunable, and the command line for syntax-check
does not fit.
I work around that by applying a patch to make ARG_MAX tunable on
FreeBSD (haven't yet upstreamed that though), but not sure how to tweak
that on macOS.
Probably a better way would be to somehow reduce length of the command
line.
Roman Bogorodskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170408/7ba35114/attachment-0001.sig>
More information about the libvir-list
mailing list