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: Thu, 20 Jun 2019 11:35:20 -0700

Yo Greg!

On Thu, 20 Jun 2019 10:17:40 -0400
Greg Troxel <address@hidden> wrote:

> "Gary E. Miller" <address@hidden> writes:
> 
> > 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.  
> 
> That's a matter of opinion about how that should work; tradtionally
> those are inputs to the build and should be respected (i.e., just
> added to).  But that's not the issue.

What to do is a matter of opinion.  But the fact is that using CFLAGS
and LDFLAGS currently breaks some of the gpsd scons modes.

Overrides need to be used with care.

> > 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.  
> 
> It's not about whether gpsd "uses" ccache.  It's about whether the
> person/system compiling gpsd is using ccache.

As long as you can test it.  Very few use it.

> > Just be careful to pull just before committing.  I have also been
> > working in SConstruct and GitLab does not hanlde merges well.  
> 
> I'm quite used to git.  And "git pull" harmful, vs "git remote update
> -p" and "git reabse @{u}" :-)

Been there, done that, recent Gitlab fails for me, and others, that
way. YMMV.

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: pgpmonVlweso7.pgp
Description: OpenPGP digital signature


reply via email to

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