Thread overview
Dub and shared filestores
Jan 11, 2016
Russel Winder
Jan 11, 2016
FreeSlave
Jan 11, 2016
Gary Willoughby
Jan 12, 2016
Mike Parker
January 11, 2016
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?

-- 
Russel. ============================================================================= Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder@ekiga.net 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



January 11, 2016
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.
January 11, 2016
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
January 12, 2016
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/