Thread overview
[Issue 17946] Dub recompiles all the files when only one was edited compiling --build-mode=singleFile
Oct 28, 2017
kinke@gmx.net
Oct 28, 2017
Temtaime
Oct 28, 2017
kinke@gmx.net
Oct 29, 2017
b2.temp@gmx.com
Mar 21, 2020
Basile-z
October 28, 2017
https://issues.dlang.org/show_bug.cgi?id=17946

kinke@gmx.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kinke@gmx.net

--- Comment #1 from kinke@gmx.net ---
It has to with `--build-mode=singleFile`. It means 'compile all D files into a single object file', so it cannot reuse previous compilation results.

--
October 28, 2017
https://issues.dlang.org/show_bug.cgi?id=17946

--- Comment #2 from Temtaime <temtaime@gmail.com> ---
No, it compiles all the files to many object files, so it can it. I already patched source to do such a behavior

--
October 28, 2017
https://issues.dlang.org/show_bug.cgi?id=17946

--- Comment #3 from kinke@gmx.net ---
(In reply to Temtaime from comment #2)
> No, it compiles all the files to many object files, so it can it. I already patched source to do such a behavior

Ah sorry my bad, I confused it with LDC's `-singleobj`.

--
October 29, 2017
https://issues.dlang.org/show_bug.cgi?id=17946

b2.temp@gmx.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |b2.temp@gmx.com
         Resolution|---                         |INVALID

--- Comment #4 from b2.temp@gmx.com ---
Sorry but valid or invalid, DUB has no category here so its bugs must be reported here: https://github.com/dlang/dub/issues.

--
March 21, 2020
https://issues.dlang.org/show_bug.cgi?id=17946

Basile-z <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|b2.temp@gmx.com             |

--