gpsd-dev
[Top][All Lists]
Advanced

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

Re: ✘buildtmp


From: Fred Wright
Subject: Re: ✘buildtmp
Date: Mon, 2 Nov 2020 23:56:24 -0800 (PST)
User-agent: Alpine 2.23 (OSX 453 2020-06-18)


On Mon, 2 Nov 2020, Gary E. Miller wrote:

New MR 224.  This bulids gpsd in buildtmp/ instead of in the source
tree.  Many have requested this for a long time.  It builds, and checks,
for me.  But still a tad ugly and a WIP.  I mention it now because this
will confuse everyone, including me, so if you care look at it before
any permanent changes are done.

Conceptually it is easy.  SConsctruct is split into a small SConstruct
and SConscript which is almost all of the old SConstruct.

SConstruct tells scons to make a new directory, buildtmp/, and then
proceed to run SConscript inside buildtmp/.  This uses the variant_dir
features of scons.  Cleaning still needs to be cleaned up, but is a
simple as:

       rm -r buildtmp/

As long as one is working in a git repo, "git clean -dxf" has always been much faster and more thorough than anything involving scons. There's no longer much value in writing that as "git clean -dxfq". :-)

Everything runs and checks, for me.  There is some remaining ugliness in
the tests, which is a result of existing ugliness in the tests.

I also see the Debian CI pipeline failed.  I'll fix that shortly.

Comments welcome, please test.

Based on a quick check, I see that "build-all check" works but "www" fails miserably.

Fred Wright



reply via email to

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