gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] patches from pkgsrc: SConstruct


From: Gary E. Miller
Subject: Re: [gpsd-dev] patches from pkgsrc: SConstruct
Date: Wed, 19 Jun 2019 18:36:42 -0700

Yo Greg!

On Wed, 19 Jun 2019 20:28:17 -0400
Greg Troxel <address@hidden> wrote:

> scons appears to nuke the environment, which I realize has pluses and
> minuses.

I wish it was that simple...

Thinks like CFLAGS, LDFLAGS, etc. often over write scons decisions.

>  pkgsrc uses wrappers for compilers, to limit visibility of
> dependencies to those that are declared, and to munge linker flags
> sometimes.   Those need the pointer to the control file.

I'm glad I don't have to figure that out.

> And same issue for using ccache.

AFAIK, gpsd does not use that.  Why would you bother to speed up
recompilation unless you were developing?  And then I would not
trust it.

> I would think that people on other
> systems would have trouble with ccache not finding the cache dir.
> There seems to be a tradition of accomodating many build systems; I
> can change the style to match and push myself if this would be
> acceptable.

Have at it, if you can keep it from interfering with normal functions.

Passing some environment variables seems benign.  I hope.

Just be careful to pull just before committing.  I have also been working
in SConstruct and GitLab does not hanlde merges well.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin

Attachment: pgpLaH1Ti6vcY.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]