www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - dub building is extremely slow

reply "zhmt" <zhmtzhmt qq.com> writes:
dub build is running on centos7. It works well until today, It 
becomes very slow suddenly. It will take minuties per 
compilation, there is 10 files in project.

Has anyone experienced this?
Apr 29 2015
parent reply "zhmt" <zhmtzhmt qq.com> writes:
On Thursday, 30 April 2015 at 02:02:50 UTC, zhmt wrote:
 dub build is running on centos7. It works well until today, It 
 becomes very slow suddenly. It will take minuties per 
 compilation, there is 10 files in project.

 Has anyone experienced this?
It is because: The dub will connect to some website to check version of packages,but the destination website is limited by my gov,so... the compilation is slowed. solution: shutdown the network of pc.
Apr 29 2015
parent reply "wobbles" <grogan.colin gmail.com> writes:
On Thursday, 30 April 2015 at 03:00:36 UTC, zhmt wrote:
 On Thursday, 30 April 2015 at 02:02:50 UTC, zhmt wrote:
 dub build is running on centos7. It works well until today, It 
 becomes very slow suddenly. It will take minuties per 
 compilation, there is 10 files in project.

 Has anyone experienced this?
It is because: The dub will connect to some website to check version of packages,but the destination website is limited by my gov,so... the compilation is slowed. solution: shutdown the network of pc.
Try running with --nodeps (or --no-deps on phone so cant check). It will make dub stop contacting the network.
Apr 30 2015
parent "zhmt" <zhmtzhmt qq.com> writes:
On Thursday, 30 April 2015 at 12:31:54 UTC, wobbles wrote:
 On Thursday, 30 April 2015 at 03:00:36 UTC, zhmt wrote:
 On Thursday, 30 April 2015 at 02:02:50 UTC, zhmt wrote:
 dub build is running on centos7. It works well until today, 
 It becomes very slow suddenly. It will take minuties per 
 compilation, there is 10 files in project.

 Has anyone experienced this?
It is because: The dub will connect to some website to check version of packages,but the destination website is limited by my gov,so... the compilation is slowed. solution: shutdown the network of pc.
Try running with --nodeps (or --no-deps on phone so cant check). It will make dub stop contacting the network.
Thanks very much, this option works fine.
May 04 2015