std.parallelism is accepted into Phobos
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Tue Apr 26 10:55:50 PDT 2011
On 4/26/11 12:31 PM, Robert Clipsham wrote:
> On 26/04/2011 17:28, Andrei Alexandrescu wrote:
>> Interesting. It would be great if you tried your hand at expressing the
>> Phobos build (which is rather simple) with redo so we can see the result.
>>
>> Thanks,
>>
>> Andrei
>
> I have no idea how to work Makefiles, but based on the output I have no
> idea why you bother with a Makefile at all. All that seems to happen is
> build C deps, get a relevant list of source files for the platform, pass
> them to dmd. Surely this can be handled in a <10 line shell script for
> the unicies/poxises etc and a slightly longer batch script for windows?
> If you built file by file it might be worth using something more
> sophisticated, but that isn't the case.
That's pretty much it. There's also the documentation build, the debug
vs. release build. and portability-related stuff.
I doubt it could be done in <10 lines of shell scripting because just
enumerating the modules would fill those. But if you feel strongly about
this definitely do it - if you come with something better we'd be glad
to replace things.
> If it does more than that then I'd be happy to look into writing the
> equivalent with redo (maybe even look at porting it to D so the build
> script can be written in idiomatic D). Of course if I did port it it'd
> have to be LGPL, writing from scratch could be any license. The minimal
> version that rebuilds everything each time is public domain.
Probably the basic redo script would give us a good idea of how things
would be.
Andrei
More information about the Digitalmars-d
mailing list