June 29, 2015
On 29-Jun-2015 21:24, Dicebot wrote:
> On Monday, 29 June 2015 at 18:10:32 UTC, Dmitry Olshansky wrote:
>> Ideally if reggae doesn't depend on Phobos/druntime (e.g. builds with
>> -betterC switch) then Makefile has no use at all - builds are
>> completely bootstrappable.
>
> We already require valid install of previous release for bootstrapping
> because of DDMD.

Yeah, forgot about that. It has all manner of nice side effects ;)

> No reason to require -betterC - just getting reggae as
> a library into Phobos is enough.

Hm, this might just work.

-- 
Dmitry Olshansky
June 30, 2015
On Monday, 29 June 2015 at 18:24:23 UTC, Dicebot wrote:

> No reason to require -betterC - just getting reggae as a library into Phobos is enough.

What are you thinking here?  std.build or std.make?

I think the plan was to put reggae in the Tools repository, but a library in Phobos that can simply be imported into an rdmd script is more appealing to me.

Mike
June 30, 2015
On Monday, 29 June 2015 at 18:59:31 UTC, Atila Neves wrote:
> On Monday, 29 June 2015 at 16:05:07 UTC, Joakim wrote:
>> On Monday, 29 June 2015 at 10:35:34 UTC, Atila Neves wrote:
>>> Worth making a PR for? The PR would only add this file, it wouldn't change anything about the current build, but could be used for testing purposes in the meanwhile.
>>
>> Yes, those who want reggae can use it, and the makefile can remain the default for now.  I can't wait to ditch the makefiles.
>>
>>> Oh, and given the manual filtering in the config, it obviously won't work on Mac OS. I have to get a hold of a Mac and make it work there too. Then... Windows.
>>
>> You could probably use the auto-tester to test reggae: simply add the reggae source to your PR, build it with a patched makefile, and then use reggae to build druntime/phobos.  I've used the auto-tester to test a couple PRs for various OSs that I don't have, especially OS X.
>
> You mean make a posix.mak that actually calls reggae instead? Hmm... I guess that's doable. Otherwise I'd have to edit the script the auto-tester is using.

Yes, submit a PR that adds the reggae source and modifies the existing druntime or phobos posix.mak to build reggae, then runs reggae to build druntime/phobos, using the linked reggae file.  Once you're sure it all works, you can delete the reggae source and the makefile modifications and simply submit the single reggae file that you know works, because you just tested it on the auto-tester.

> I'm not sure that'd guarantee the same output though.

If you follow the process above, I don't see why not.
June 30, 2015
On Tuesday, 30 June 2015 at 01:07:33 UTC, Joakim wrote:
> On Monday, 29 June 2015 at 18:59:31 UTC, Atila Neves wrote:
>> On Monday, 29 June 2015 at 16:05:07 UTC, Joakim wrote:
>>> On Monday, 29 June 2015 at 10:35:34 UTC, Atila Neves wrote:
>>>> [...]
>>>
>>> Yes, those who want reggae can use it, and the makefile can remain the default for now.  I can't wait to ditch the makefiles.
>>>
>>>> [...]
>>>
>>> You could probably use the auto-tester to test reggae: simply add the reggae source to your PR, build it with a patched makefile, and then use reggae to build druntime/phobos.  I've used the auto-tester to test a couple PRs for various OSs that I don't have, especially OS X.
>>
>> You mean make a posix.mak that actually calls reggae instead? Hmm... I guess that's doable. Otherwise I'd have to edit the script the auto-tester is using.
>
> Yes, submit a PR that adds the reggae source and modifies the existing druntime or phobos posix.mak to build reggae, then runs reggae to build druntime/phobos, using the linked reggae file.  Once you're sure it all works, you can delete the reggae source and the makefile modifications and simply submit the single reggae file that you know works, because you just tested it on the auto-tester.
>
>> I'm not sure that'd guarantee the same output though.
>
> If you follow the process above, I don't see why not.

Well, for instance my extra html files. If there's no explicit check (and there probably isn't) the auto-tester will be fine with it but the build isn't actually the same. Things... can happen. Maybe anything that doesn't break the auto-tester doesn't matter, it wouldn't be a crazy opinion to have.

Atila


1 2 3 4
Next ›   Last »