Re: Building is slow!

2018-04-18 Thread Dlang User via Digitalmars-d
On 4/16/2018 3:27 PM, Ivan Trombley wrote: I want to revisit this issue. Building 64 bit on Linux, release or debug, is fast. However, building 64 bit release on Windows 10 is super slow. I have a cross platform app that uses gtk-d. Today, I updated DMD to 2.079.1 and the gtk-d lib to 3.8.0.

Re: Building is slow!

2018-04-17 Thread Daniel Kozak via Digitalmars-d
Try disable your antivirus On Mon, Apr 16, 2018 at 10:27 PM, Ivan Trombley via Digitalmars-d < digitalmars-d@puremagic.com> wrote: > I want to revisit this issue. > > Building 64 bit on Linux, release or debug, is fast. However, building 64 > bit release on Windows 10 is super slow. I have a

Re: Building is slow!

2018-04-16 Thread Ivan Trombley via Digitalmars-d
I want to revisit this issue. Building 64 bit on Linux, release or debug, is fast. However, building 64 bit release on Windows 10 is super slow. I have a cross platform app that uses gtk-d. Today, I updated DMD to 2.079.1 and the gtk-d lib to 3.8.0. When I performed a debug build on Windows

Re: Building is slow!

2017-12-05 Thread Arek via Digitalmars-d
On Tuesday, 5 December 2017 at 19:28:12 UTC, Ivan Trombley wrote: There are issues with using "--build-mode=singleFile --parallel". On Windows I get errors saying that it can't write out some intermediate files (it looks like the file names may be too long for Windows) and on Linux, it makes

Re: Building is slow!

2017-12-05 Thread Ivan Trombley via Digitalmars-d
There are issues with using "--build-mode=singleFile --parallel". On Windows I get errors saying that it can't write out some intermediate files (it looks like the file names may be too long for Windows) and on Linux, it makes the executable at least 3 MB larger in release mode. Also, it

Re: Building is slow!

2017-12-03 Thread Arek via Digitalmars-d
On Saturday, 2 December 2017 at 23:26:20 UTC, Ivan Trombley wrote: On Saturday, 2 December 2017 at 14:34:58 UTC, Arek wrote: You can try `dub build --build-mode=single-file --parallel`. It will execute separate instance of compiler for each source file. If --parallel is given, dub will launch

Re: Building is slow!

2017-12-02 Thread Ivan Trombley via Digitalmars-d
On Saturday, 2 December 2017 at 23:26:20 UTC, Ivan Trombley wrote: On Saturday, 2 December 2017 at 14:34:58 UTC, Arek wrote: You can try `dub build --build-mode=single-file --parallel`. It will execute separate instance of compiler for each source file. If --parallel is given, dub will launch

Re: Building is slow!

2017-12-02 Thread Ivan Trombley via Digitalmars-d
On Saturday, 2 December 2017 at 14:34:58 UTC, Arek wrote: You can try `dub build --build-mode=single-file --parallel`. It will execute separate instance of compiler for each source file. If --parallel is given, dub will launch several instances of dmd in parallel. I get the error: Error

Re: Building is slow!

2017-12-02 Thread Indigo via Digitalmars-d
On Saturday, 2 December 2017 at 00:24:12 UTC, Ivan Trombley wrote: When DUB bulds the gtk-d library, it takes a long time. This is mostly because it's only using one processor. It hasn't been such a big deal on Linux but I'm building my app on Windows right now and it been building gtk-d for

Re: Building is slow!

2017-12-02 Thread Arek via Digitalmars-d
On Saturday, 2 December 2017 at 09:50:32 UTC, Ivan Trombley wrote: On Saturday, 2 December 2017 at 03:08:10 UTC, rjframe wrote: There is a --parallel flag: `dub build --parallel`. The help string says it "Runs multiple compiler instances in parallel, if possible." Thanks, I'll give that a

Re: Building is slow!

2017-12-02 Thread tetyys via Digitalmars-d
Something must be definitely wrong if compilation takes half an hour, unless you're trying to compile it on a toaster. An infinite loop?

Re: Building is slow!

2017-12-02 Thread Ivan Trombley via Digitalmars-d
On Saturday, 2 December 2017 at 03:08:10 UTC, rjframe wrote: There is a --parallel flag: `dub build --parallel`. The help string says it "Runs multiple compiler instances in parallel, if possible." Thanks, I'll give that a try. After an hour, I pressed CTRL+C, shut it down and went home.

Re: Building is slow!

2017-12-01 Thread rjframe via Digitalmars-d
On Sat, 02 Dec 2017 00:24:12 +, Ivan Trombley wrote: > When DUB bulds the gtk-d library, it takes a long time. This is mostly > because it's only using one processor. It hasn't been such a big deal on > Linux but I'm building my app on Windows right now and it been building > gtk-d for the

Building is slow!

2017-12-01 Thread Ivan Trombley via Digitalmars-d
When DUB bulds the gtk-d library, it takes a long time. This is mostly because it's only using one processor. It hasn't been such a big deal on Linux but I'm building my app on Windows right now and it been building gtk-d for the last half hour! Is there any way to make DUB use more