www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Dub and shared filestores

reply Russel Winder via Digitalmars-d <digitalmars-d puremagic.com> writes:
Is there a separate Dub list?

I have a single filestore shared between three operating systems. Each
of the operating systems does though have a different version of DMD
installed. As I understand it all dependencies are downloaded and
compiled into ~/.dub. This lack of platform dependency means that there
is likely to be conflict between the compilations? Build on one
platform, then build on another, will all the dependencies be
recompiled?

--=20
Russel.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder ekiga.n=
et
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
Jan 11 2016
next sibling parent FreeSlave <freeslave93 gmail.com> writes:
On Monday, 11 January 2016 at 15:15:24 UTC, Russel Winder wrote:
 Is there a separate Dub list?

 I have a single filestore shared between three operating 
 systems. Each of the operating systems does though have a 
 different version of DMD installed. As I understand it all 
 dependencies are downloaded and compiled into ~/.dub. This lack 
 of platform dependency means that there is likely to be 
 conflict between the compilations? Build on one platform, then 
 build on another, will all the dependencies be recompiled?
Each combination has its own directory in ~/.dub/packages/package-version/.dub, e.g. library-debug-linux.posix-x86-dmd_2067-71EC66BBC8576B8099F789F1C70CB838 As you see it consists of many things, including compiler version, operating system, target architecture, build type and even some kind of hash (don't know exactly what is it). So I believe there will be no conflicts. Also this kind of topics is for Learn forum, not General.
Jan 11 2016
prev sibling next sibling parent Gary Willoughby <dev nomad.so> writes:
On Monday, 11 January 2016 at 15:15:24 UTC, Russel Winder wrote:
 Build on one platform, then build on another, will all the 
 dependencies be recompiled?
It will if you use force: dub build --force
Jan 11 2016
prev sibling parent Mike Parker <aldacron gmail.com> writes:
On Monday, 11 January 2016 at 15:15:24 UTC, Russel Winder wrote:
 Is there a separate Dub list?
There's a forum [1], but no mailing list. [1] http://forum.rejectedsoftware.com/groups/rejectedsoftware.dub/
Jan 11 2016