New build for the D source [ was Re: std.parallelism is accepted into Phobos ]

Russel Winder russel at russel.org.uk
Tue Apr 26 22:49:41 PDT 2011


On Tue, 2011-04-26 at 21:45 +0100, Spacen Jasset wrote:
[ . . . ]
> Egr... I *might* give it a go at some point in Scons. Which is the only 
> tool I've found to (my) liking. It supports D too.

Is SCons rather than Waf the right tool here?  SCons is really a Make
replacement whereas Waf is an Autotools replacement.  It really depends
on what the intended workflow is.  For "download the source and build on
each of your machines" Waf is probably a better choice that SCons.  For
most other workflows, it is much more of a coin toss situation.

Although SCons has built in D support (as does Waf) the current D tool
in SCons isn't actually good enough.  I seem to have become the official
maintainer of the SCons D support, but rather than work with the SCons
core source, I am using a separate tool for development.   The Mercurial
repository is at  https://bitbucket.org/russel/scons_dmd_new Anyone
using SCons for working with D source should use this add-in tool, help
me develop it, and then I can get the results merged into the SCons core
for the next release.

If there is to be a SCons build for the D source then I guess the next
step is to fork the D repository as a team and add files -- and also
keep merging in changes from the mainline repository to ensure the fork
is always up-to-date.  Can this updating be automated?

> I must say that when dsss and rebuild were maintained it was very handy 
> indeed to be able to it with. (yeah - almost) identical build files on 
> the platforms I built for. Win & linux at the time.

Are these D-specific?

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at russel.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20110427/4c3f278c/attachment.pgp>


More information about the Digitalmars-d mailing list