dub building is extremely slow

zhmt via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon May 4 03:54:31 PDT 2015


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.


More information about the Digitalmars-d-learn mailing list