Attempt to get rid of phobos Makefiles, using reggae

Atila Neves via Digitalmars-d digitalmars-d at puremagic.com
Mon Jun 29 05:06:37 PDT 2015


On Monday, 29 June 2015 at 10:53:46 UTC, Mike wrote:
> On Monday, 29 June 2015 at 10:35:34 UTC, Atila Neves wrote:
>
>>
>> The result of all this (and many bug discoveries trying to 
>> copy posix.mak) is this:
>>
>> https://github.com/atilaneves/phobos/blob/reggae/reggaefile.d
>>
>
> Ah... so that's what posix.mak is doing.  And 1/3 the size.  
> Nice work!

No, there's more. I don't think much more (reading makefiles is 
tedious), I concentrated on getting the important ones right 
first.

Notably, that reggaefile.d doesn't define the module.test targets 
to only test one phobos module, but that can be added easily.

It also hard-codes a lot of what are configurable variables in 
posix.mak, like the 64-bit build. All of this is doable, I just 
haven't gotten around to it yet.

Then there's the issue of making sure the functionality really is 
the same. For some reason the reggaefile is producing more HTML 
files than posix.mak but to figure out why I'll have to go and 
debug.

I wouldn't do a PR until the outputs are exactly the same, I 
posted this trying to gauge what the interest / opinions were.

Atila


More information about the Digitalmars-d mailing list