Jump to page: 1 25  
Page
Thread overview
Replacing Make for the DMD build
Jun 16, 2017
Russel Winder
Jun 16, 2017
Jacob Carlborg
Jun 16, 2017
Paolo Invernizzi
Jun 16, 2017
bachmeier
Jun 16, 2017
Seb
Jun 16, 2017
Joakim
Jun 16, 2017
Suliman
Jun 16, 2017
Cym13
Jun 17, 2017
Russel Winder
Jun 16, 2017
Mike Wey
Jun 17, 2017
Russel Winder
Jun 17, 2017
Walter Bright
Jun 17, 2017
Joakim
Jun 17, 2017
Walter Bright
Jun 17, 2017
Adam D. Ruppe
Jun 17, 2017
Joakim
Jun 18, 2017
Vladimir Panteleev
Jun 18, 2017
Walter Bright
Jun 19, 2017
Russel Winder
Jun 19, 2017
Atila Neves
Jun 18, 2017
Mike B Johnson
Jun 19, 2017
Russel Winder
Jun 19, 2017
Vladimir Panteleev
Jun 19, 2017
Russel Winder
Jun 19, 2017
Atila Neves
Jun 19, 2017
Russel Winder
Jun 19, 2017
Vladimir Panteleev
Jun 19, 2017
Russel Winder
Jun 19, 2017
Vladimir Panteleev
Jun 20, 2017
Russel Winder
Jun 20, 2017
Vladimir Panteleev
Jun 20, 2017
Atila Neves
Jun 22, 2017
Russel Winder
Jun 20, 2017
jmh530
Jun 21, 2017
Atila Neves
Jun 21, 2017
jmh530
Jun 22, 2017
Russel Winder
Jun 22, 2017
Russel Winder
Jun 22, 2017
Russel Winder
Jun 19, 2017
Dejan Lekic
Jun 19, 2017
Jacob Carlborg
Jun 19, 2017
meppl
Jun 20, 2017
Jonathan M Davis
Jun 20, 2017
Joakim
Jun 19, 2017
rikki cattermole
June 16, 2017
A direct question to Walter and Andrei really.

If someone, let us say Russel Winder, create a CMake/Ninja and/or Meson/Ninja build for DMD, is there any chance of it being allowed to replace the Make system?

If the answer is no, then Russel will obviously not waste his time doing something that will not be accepted.

-- 
Russel. ============================================================================= Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder@ekiga.net 41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel@winder.org.uk London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

June 16, 2017
On 2017-06-16 08:30, Russel Winder via Digitalmars-d wrote:
> A direct question to Walter and Andrei really.
> 
> If someone, let us say Russel Winder, create a CMake/Ninja and/or
> Meson/Ninja build for DMD, is there any chance of it being allowed to
> replace the Make system?
> 
> If the answer is no, then Russel will obviously not waste his time
> doing something that will not be accepted.

I would guess it's more likely that Make would be replaced by a build script written in D than any of the above.

-- 
/Jacob Carlborg
June 16, 2017
On Friday, 16 June 2017 at 07:00:10 UTC, Jacob Carlborg wrote:
> On 2017-06-16 08:30, Russel Winder via Digitalmars-d wrote:
>> A direct question to Walter and Andrei really.
>> 
>> If someone, let us say Russel Winder, create a CMake/Ninja and/or
>> Meson/Ninja build for DMD, is there any chance of it being allowed to
>> replace the Make system?
>> 
>> If the answer is no, then Russel will obviously not waste his time
>> doing something that will not be accepted.
>
> I would guess it's more likely that Make would be replaced by a build script written in D than any of the above.

+1!

Along with a simple sh/bat generated script that simply builds everything, without checking the dependencies ...

/P
June 16, 2017
On Friday, 16 June 2017 at 07:00:10 UTC, Jacob Carlborg wrote:
> On 2017-06-16 08:30, Russel Winder via Digitalmars-d wrote:
>> A direct question to Walter and Andrei really.
>> 
>> If someone, let us say Russel Winder, create a CMake/Ninja and/or
>> Meson/Ninja build for DMD, is there any chance of it being allowed to
>> replace the Make system?
>> 
>> If the answer is no, then Russel will obviously not waste his time
>> doing something that will not be accepted.
>
> I would guess it's more likely that Make would be replaced by a build script written in D than any of the above.

More likely than that is that there is discussion of writing a build script in D, someone starts working on it, and two years later there are forum posts about whatever happened to that project.

I would much prefer to using an existing build system. There are so many higher priorities for the community.
June 16, 2017
On Friday, 16 June 2017 at 07:00:10 UTC, Jacob Carlborg wrote:
> On 2017-06-16 08:30, Russel Winder via Digitalmars-d wrote:
>> A direct question to Walter and Andrei really.
>> 
>> If someone, let us say Russel Winder, create a CMake/Ninja and/or
>> Meson/Ninja build for DMD, is there any chance of it being allowed to
>> replace the Make system?
>> 
>> If the answer is no, then Russel will obviously not waste his time
>> doing something that will not be accepted.
>
> I would guess it's more likely that Make would be replaced by a build script written in D than any of the above.

This was attempted before:

https://github.com/dlang/phobos/pull/4194
June 16, 2017
On Friday, 16 June 2017 at 06:30:01 UTC, Russel Winder wrote:
> A direct question to Walter and Andrei really.

While they would ultimately decide this, it's more likely that something championed by the D contributors will get in.

> If someone, let us say Russel Winder, create a CMake/Ninja and/or Meson/Ninja build for DMD, is there any chance of it being allowed to replace the Make system?

Allow me to veto CMake.  I've been using it with ldc and I hate it almost as much as Make.  As for Meson, never dealt with it much, do you have an example for D code we can look at?  The trivial samples on their site look fine and python is supported everywhere we want, but I'd like to see what it'd look like for a non-trivial D project.

One issue that came up is that whatever we replace Make with would have to generate Makefiles as a fallback, back in the previous thread about using Atila's build system, Reggae.

> If the answer is no, then Russel will obviously not waste his time doing something that will not be accepted.

Even if you do the work, like Atila did, you may not get a clear answer.  Better to just do it, if you believe in it.  At least you can get it merged as an alternative to Make and if people use it, the two can be switched over someday.
June 16, 2017
Also looks good https://github.com/jasonwhite/button
June 16, 2017
On Friday, 16 June 2017 at 13:16:06 UTC, Joakim wrote:
> One issue that came up is that whatever we replace Make with would have to generate Makefiles as a fallback, back in the previous thread about using Atila's build system, Reggae.

I very much support this idea, Reggae is great. Also it supports multiple backends including make, ninja, and binary (which means no dependency, reggae does it all). It's been arround for long enough to be considered stable and quite frankly Attila being behind it alone makes me believe it is quality software. It's already been used for phobos so we know it can handle at least that kind of building complexity. It seems like the obvious choice for me if make is to be let go.
June 17, 2017
On 06/16/2017 03:16 PM, Joakim wrote:
> As for Meson, never dealt with it much, do you have an example for D code we can look at?

The meson files for tilix might be a good example:
https://github.com/gnunn1/tilix/tree/master/experimental/meson

-- 
Mike Wey
June 17, 2017
On Fri, 2017-06-16 at 19:20 +0000, Cym13 via Digitalmars-d wrote:
> On Friday, 16 June 2017 at 13:16:06 UTC, Joakim wrote:
> > One issue that came up is that whatever we replace Make with would have to generate Makefiles as a fallback, back in the previous thread about using Atila's build system, Reggae.
> 
> I very much support this idea, Reggae is great. Also it supports multiple backends including make, ninja, and binary (which means no dependency, reggae does it all). It's been arround for long enough to be considered stable and quite frankly Attila being behind it alone makes me believe it is quality software. It's already been used for phobos so we know it can handle at least that kind of building complexity. It seems like the obvious choice for me if make is to be let go.

Reggae instead of CMake with Ninja sounds a good option. The upside of CMake is you can use CLion (it uses Make underneath for now but will soon allow Ninja).

Given D is not well resourced, working with toolchains that are well resourced is a good move. Hence I think putting effort into IntelliJ- DLanguage a good idea. Currently it uses Dub, maybe it should support Reggae.

CLion make C++ programming less painful than it might otherwise be, Gogland does something similar for Go, likewise IDEA with the Rust plugin for Rust (uses Cargo). IDEA with IntelliJ-DLanguage has to be a good move.

-- 
Russel. ============================================================================= Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder@ekiga.net 41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel@winder.org.uk London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

« First   ‹ Prev
1 2 3 4 5