Re: [PATCH] Add .cirrus.yml for FreeBSD build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, Nov 26, 2019 at 10:13:45AM -0500, Ed Maste wrote:
> On Wed, 20 Nov 2019 at 16:11, Ed Maste <emaste@xxxxxxxxxxxxxxxxxxxx> wrote:
> >
> > From: Ed Maste <emaste@xxxxxxxxxxx>
> >
> > Right now this is just a build test for FreeBSD, along with a Linux build
> > and "make check."  A later change will add "gmake check" for FreeBSD.
> 
> Adding a test_script invoking gmake check is easy, but I'm currently
> tripping over a problem where a dependency on valgrind/memcheck.h
> appears even though valgrind is not in use:
> 
> % gmake check
>         CHK version_gen.h
>          CC tests/get_mem_rsv.o
> gmake: *** No rule to make target 'valgrind/memcheck.h', needed by
> 'tests/testutils.o'.  Stop.

We usually compile valgrind-aware, so that we can run the valgrind
tests without recompiling.  You can build with NO_VALGRIND=1 to
suppress that.  Pulling the valgrind headers into your FreeBSD
container might be a better idea though.

> I worked around it for now by letting the first "gmake check" fail and
> then deleting the dependency, at which point the test proceeds and
> passes.
> gmake check || true
> sed -i '' 's?valgrind/memcheck.h??' tests/testutils.d
> 
> I'll try to look into what's causing the dependency.

Meanwhile, I've been attempting to look at this Cirrus stuff myself
without much luck.  I got a Cirrus account with my Github credentials,
and told it to look at the branch, but no builds seem to have appeared
on cirrus-ci.com.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Device Tree]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux