Re: dmdcache

2020-12-29 Thread sighoya via Digitalmars-d-announce
On Saturday, 25 April 2020 at 16:01:03 UTC, bauss wrote: There is no way to determine the import statements either as those themselves can be generated at compile-time. Question: is then DMD capable to add generated source code in separate files to the compilation process when we can just

Re: dmdcache

2020-12-29 Thread Per Nordlöw via Digitalmars-d-announce
On Saturday, 25 April 2020 at 12:30:17 UTC, John Colvin wrote: But how does this differ from just using make? make doesn't support total-dependency-content-digest keying of cached artifacts similar to what, for instance, Bazel does.

Re: dmdcache

2020-04-26 Thread Ali Çehreli via Digitalmars-d-announce
On 4/25/20 5:30 AM, John Colvin wrote: > how does this differ from just using make? make is great and I love it (really) but it works at a coarser level. There is no way for it to know that a particular command will produce the same output. As I understand it, dmdcache is suppo

Re: dmdcache

2020-04-26 Thread rikki cattermole via Digitalmars-d-announce
On 27/04/2020 1:52 AM, Ali Çehreli wrote: However, currently dmdcache doesn't seem to look for string imports; opportunity for improvement. :) That should not be necessary if you base it on -J instead.

Re: dmdcache

2020-04-26 Thread Ali Çehreli via Digitalmars-d-announce
jects that does a lot of compile-time stuff. > > There is no way to determine the import statements either as those > themselves can be generated at compile-time. Luckily, dmd gives all of that information with both -v and -X command line switches. However, currently dmdcache doesn't s

Re: dmdcache

2020-04-26 Thread Ali Çehreli via Digitalmars-d-announce
On 4/25/20 4:39 AM, Johan wrote: On Saturday, 25 April 2020 at 10:17:50 UTC, Ali Çehreli wrote: A colleague of mine has written dmdcache which may be very useful for some projects:   https://github.com/seeraven/dmdcache It drops our build time   from 8 minutes   to 45 seconds Hey Ali

Re: dmdcache

2020-04-25 Thread bauss via Digitalmars-d-announce
On Saturday, 25 April 2020 at 10:35:49 UTC, Stefan Koch wrote: On Saturday, 25 April 2020 at 10:17:50 UTC, Ali Çehreli wrote: A colleague of mine has written dmdcache which may be very useful for some projects: https://github.com/seeraven/dmdcache It drops our build time from 8 minutes

Re: dmdcache

2020-04-25 Thread John Colvin via Digitalmars-d-announce
On Saturday, 25 April 2020 at 10:17:50 UTC, Ali Çehreli wrote: A colleague of mine has written dmdcache which may be very useful for some projects: https://github.com/seeraven/dmdcache It drops our build time from 8 minutes to 45 seconds on a particular build environment for about

Re: dmdcache

2020-04-25 Thread Johan via Digitalmars-d-announce
On Saturday, 25 April 2020 at 10:17:50 UTC, Ali Çehreli wrote: A colleague of mine has written dmdcache which may be very useful for some projects: https://github.com/seeraven/dmdcache It drops our build time from 8 minutes to 45 seconds Hey Ali, Did you also try with LDC's built

Re: dmdcache

2020-04-25 Thread Stefan Koch via Digitalmars-d-announce
On Saturday, 25 April 2020 at 10:17:50 UTC, Ali Çehreli wrote: A colleague of mine has written dmdcache which may be very useful for some projects: https://github.com/seeraven/dmdcache It drops our build time from 8 minutes to 45 seconds on a particular build environment for about

dmdcache

2020-04-25 Thread Ali Çehreli via Digitalmars-d-announce
A colleague of mine has written dmdcache which may be very useful for some projects: https://github.com/seeraven/dmdcache It drops our build time from 8 minutes to 45 seconds on a particular build environment for about half a dozen D programs, one of which ends up being a 2G