Jump to page: 1 2
Thread overview
[Issue 16431] rdmd runs dmd twice for single-files with no dependencies
[Issue 16431] rdmd is slower than DUB
Aug 25, 2016
ag0aep6g@gmail.com
Aug 26, 2016
ag0aep6g@gmail.com
Aug 31, 2016
Andrej Mitrovic
Jul 20, 2017
Seb
Dec 14, 2017
Jonathan Marler
Jan 17, 2018
Jonathan Marler
Jan 20, 2018
Jonathan Marler
August 25, 2016
https://issues.dlang.org/show_bug.cgi?id=16431

ag0aep6g@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ag0aep6g@gmail.com

--- Comment #1 from ag0aep6g@gmail.com ---
I don't think this is much of a surprise. rdmd detects dependencies. dub doesn't seem to do that.

--
August 26, 2016
https://issues.dlang.org/show_bug.cgi?id=16431

--- Comment #2 from greensunny12@gmail.com ---
> I don't think this is much of a surprise. rdmd detects dependencies. dub doesn't seem to do that.

Well, it still seems unnecessary to me to run the full-blown CTFE compiler twice on a file. I gave it a quick try with two hacks:

https://github.com/dlang/tools/pull/191

--
August 26, 2016
https://issues.dlang.org/show_bug.cgi?id=16431

--- Comment #3 from ag0aep6g@gmail.com ---
(In reply to greensunny12 from comment #2)
> Well, it still seems unnecessary to me to run the full-blown CTFE compiler twice on a file.

Sure. If you make rdmd faster, that's great. I just don't think that dub has anything to do with it.

--
August 26, 2016
https://issues.dlang.org/show_bug.cgi?id=16431

greensunny12@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|rdmd is slower than DUB     |rdmd runs dmd twice for
                   |                            |single-files with no
                   |                            |dependencies

--
August 31, 2016
https://issues.dlang.org/show_bug.cgi?id=16431

Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |andrej.mitrovich@gmail.com
         Resolution|---                         |FIXED

--- Comment #4 from Andrej Mitrovic <andrej.mitrovich@gmail.com> ---
Fixed right? Closing.

--
July 20, 2017
https://issues.dlang.org/show_bug.cgi?id=16431

Seb <greensunny12@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #5 from Seb <greensunny12@gmail.com> ---
PR was reverted :/

--
December 14, 2017
https://issues.dlang.org/show_bug.cgi?id=16431

Jonathan Marler <johnnymarler@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |johnnymarler@gmail.com

--- Comment #6 from Jonathan Marler <johnnymarler@gmail.com> ---
Potential fix: https://github.com/dlang/tools/pull/271
"Use "-i" to prevent rdmd from having to invoke compiler twice."

Depends on this first: https://github.com/dlang/dmd/pull/7099 "Enable automatic compiling of imports"

--
January 17, 2018
https://issues.dlang.org/show_bug.cgi?id=16431

Jonathan Marler <johnnymarler@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Jonathan Marler <johnnymarler@gmail.com> ---
https://github.com/dlang/tools/pull/271

--
January 20, 2018
https://issues.dlang.org/show_bug.cgi?id=16431

Jonathan Marler <johnnymarler@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #8 from Jonathan Marler <johnnymarler@gmail.com> ---
https://github.com/dlang/tools/pull/271 was reverted

--
June 05
https://issues.dlang.org/show_bug.cgi?id=16431

Mathias LANG <pro.mathias.lang@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
                 CC|                            |pro.mathias.lang@gmail.com
         Resolution|---                         |MOVED

--- Comment #9 from Mathias LANG <pro.mathias.lang@gmail.com> ---
Issue transferred to: https://github.com/dlang/tools/issues/413

--
« First   ‹ Prev
1 2