Re: rant D's makefiles... /rant

2015-04-15 Thread Russel Winder via Digitalmars-d
On Mon, 2015-04-13 at 21:35 +, weaselcat via Digitalmars-d wrote: […] For the amount of complaining about make, there sure has been little process in making a better make. Isn't that the whole point, something better than make is not make, it is something else. -- Russel.

Re: rant D's makefiles... /rant

2015-04-14 Thread Paulo Pinto via Digitalmars-d
On Monday, 13 April 2015 at 21:27:47 UTC, deadalnix wrote: On Monday, 13 April 2015 at 13:56:17 UTC, Russel Winder wrote: On Mon, 2015-04-13 at 13:12 +, Atila Neves via Digitalmars-d wrote: I did a `git up` on dmd, druntime and phobos, but phobos wouldn't build. Weird, but I had to fork

Re: rant D's makefiles... /rant

2015-04-14 Thread Atila Neves via Digitalmars-d
On Monday, 13 April 2015 at 20:41:20 UTC, Andrei Alexandrescu wrote: On 4/13/15 7:34 AM, H. S. Teoh via Digitalmars-d wrote: On Mon, Apr 13, 2015 at 02:24:57PM +, Dicebot via Digitalmars-d wrote: I want to replace those with D scripts for a reason. Now that dmd is dependent on an

Re: rant D's makefiles... /rant

2015-04-14 Thread via Digitalmars-d
On Tuesday, 14 April 2015 at 12:07:18 UTC, Russel Winder wrote: On Tue, 2015-04-14 at 08:53 +, Atila Neves via Digitalmars-d wrote: […] The -j option should be there for tweaking only, by default I expect a modern tool to just use as many threads as I have cores. Which of course is

Re: rant D's makefiles... /rant

2015-04-14 Thread John Colvin via Digitalmars-d
On Tuesday, 14 April 2015 at 12:07:18 UTC, Russel Winder wrote: On Tue, 2015-04-14 at 08:53 +, Atila Neves via Digitalmars-d wrote: […] The -j option should be there for tweaking only, by default I expect a modern tool to just use as many threads as I have cores. Which of course is

Re: rant D's makefiles... /rant

2015-04-14 Thread Russel Winder via Digitalmars-d
On Tue, 2015-04-14 at 08:53 +, Atila Neves via Digitalmars-d wrote: […] The -j option should be there for tweaking only, by default I expect a modern tool to just use as many threads as I have cores. Which of course is exactly what Ninja does. N-1 not N on a system you are using as a

Re: rant D's makefiles... /rant

2015-04-14 Thread Andrei Alexandrescu via Digitalmars-d
On 4/14/15 1:53 AM, Atila Neves wrote: On Monday, 13 April 2015 at 20:41:20 UTC, Andrei Alexandrescu wrote: On 4/13/15 7:34 AM, H. S. Teoh via Digitalmars-d wrote: On Mon, Apr 13, 2015 at 02:24:57PM +, Dicebot via Digitalmars-d wrote: I want to replace those with D scripts for a reason.

Re: rant D's makefiles... /rant

2015-04-14 Thread Jacob Carlborg via Digitalmars-d
On 2015-04-14 14:07, Russel Winder via Digitalmars-d wrote: Waf chooses N and it makes the workstation unusable whilst the compilation is happening. […] I have four cores (if I recall correctly) and I always compile DMD with -j 16 without any problems. -- /Jacob Carlborg

Re: rant D's makefiles... /rant

2015-04-14 Thread via Digitalmars-d
On Tuesday, 14 April 2015 at 12:21:19 UTC, Marc Schütz wrote: That's the typical distinction between batch and interactive processes; today's schedulers shouldn't have trouble handling this. If they do, there's still process priorities/nice values to adjust. RAM.

Re: rant D's makefiles... /rant

2015-04-14 Thread via Digitalmars-d
On Tuesday, 14 April 2015 at 13:58:31 UTC, Ola Fosheim Grøstad wrote: On Tuesday, 14 April 2015 at 12:21:19 UTC, Marc Schütz wrote: That's the typical distinction between batch and interactive processes; today's schedulers shouldn't have trouble handling this. If they do, there's still

Re: rant D's makefiles... /rant

2015-04-14 Thread deadalnix via Digitalmars-d
On Tuesday, 14 April 2015 at 12:07:18 UTC, Russel Winder wrote: On Tue, 2015-04-14 at 08:53 +, Atila Neves via Digitalmars-d wrote: […] The -j option should be there for tweaking only, by default I expect a modern tool to just use as many threads as I have cores. Which of course is

Re: rant D's makefiles... /rant

2015-04-13 Thread Atila Neves via Digitalmars-d
On Monday, 13 April 2015 at 14:24:58 UTC, Dicebot wrote: I want to replace those with D scripts for a reason. Me too. Let's see if we can actually agree on how they'd end up looking, huh? ;) Atila

Re: rant D's makefiles... /rant

2015-04-13 Thread Andrei Alexandrescu via Digitalmars-d
On 4/13/15 7:34 AM, H. S. Teoh via Digitalmars-d wrote: On Mon, Apr 13, 2015 at 02:24:57PM +, Dicebot via Digitalmars-d wrote: I want to replace those with D scripts for a reason. Now that dmd is dependent on an existing version of dmd to build, it should be no problem to replace the

Re: rant D's makefiles... /rant

2015-04-13 Thread deadalnix via Digitalmars-d
On Monday, 13 April 2015 at 13:56:17 UTC, Russel Winder wrote: On Mon, 2015-04-13 at 13:12 +, Atila Neves via Digitalmars-d wrote: I did a `git up` on dmd, druntime and phobos, but phobos wouldn't build. Weird, but I had to fork phobos anyway, let me do that. Still wouldn't build. I tried

Re: rant D's makefiles... /rant

2015-04-13 Thread deadalnix via Digitalmars-d
On Monday, 13 April 2015 at 13:12:23 UTC, Atila Neves wrote: I did a `git up` on dmd, druntime and phobos, but phobos wouldn't build. Weird, but I had to fork phobos anyway, let me do that. Still wouldn't build. I tried `make clean`, can't remember exactly what happened but that didn't work

Re: rant D's makefiles... /rant

2015-04-13 Thread weaselcat via Digitalmars-d
On Monday, 13 April 2015 at 21:27:47 UTC, deadalnix wrote: To be fair, I've seen a lot of new build systems, but not a lot of better build system. I keep coming back to makefile, not because it is good, but because it is not worse than most of the shit I tried, and at least it is available

Re: rant D's makefiles... /rant

2015-04-13 Thread Rikki Cattermole via Digitalmars-d
On 14/04/2015 1:12 a.m., Atila Neves wrote: I did a `git up` on dmd, druntime and phobos, but phobos wouldn't build. Weird, but I had to fork phobos anyway, let me do that. Still wouldn't build. I tried `make clean`, can't remember exactly what happened but that didn't work either. In the end I

Re: rant D's makefiles... /rant

2015-04-13 Thread H. S. Teoh via Digitalmars-d
On Mon, Apr 13, 2015 at 02:24:57PM +, Dicebot via Digitalmars-d wrote: I want to replace those with D scripts for a reason. Now that dmd is dependent on an existing version of dmd to build, it should be no problem to replace the makefiles with D code. Everytime something like this happens I

Re: rant D's makefiles... /rant

2015-04-13 Thread Dicebot via Digitalmars-d
I want to replace those with D scripts for a reason.

Re: rant D's makefiles... /rant

2015-04-13 Thread Russel Winder via Digitalmars-d
On Mon, 2015-04-13 at 13:12 +, Atila Neves via Digitalmars-d wrote: I did a `git up` on dmd, druntime and phobos, but phobos wouldn't build. Weird, but I had to fork phobos anyway, let me do that. Still wouldn't build. I tried `make clean`, can't remember exactly what happened but that

rant D's makefiles... /rant

2015-04-13 Thread Atila Neves via Digitalmars-d
I did a `git up` on dmd, druntime and phobos, but phobos wouldn't build. Weird, but I had to fork phobos anyway, let me do that. Still wouldn't build. I tried `make clean`, can't remember exactly what happened but that didn't work either. In the end I `rm -rf`ed dmd and druntime, recloned