dub building is extremely slow

wobbles via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Apr 30 05:31:47 PDT 2015


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.


More information about the Digitalmars-d-learn mailing list