Thread overview | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
November 24, 2016 [Issue 16746] Please output Makefile-style depfiles for ninja and make | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16746 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ibuclaw@gdcproject.org --- Comment #1 from Iain Buclaw <ibuclaw@gdcproject.org> --- (In reply to Matthias Klumpp from comment #0) > Outputting both formats would be helpful, GDC has `-fdeps=` and `-fmake-deps=` for that (with the latter option leading to a crash unfortunately). Where's the bug report? -- |
November 24, 2016 [Issue 16746] Please output Makefile-style depfiles for ninja and make | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16746 --- Comment #2 from Matthias Klumpp <matthias@tenstral.net> --- (In reply to Iain Buclaw from comment #1) > (In reply to Matthias Klumpp from comment #0) > > Outputting both formats would be helpful, GDC has `-fdeps=` and `-fmake-deps=` for that (with the latter option leading to a crash unfortunately). > > Where's the bug report? I didn't create one yet because I was under time pressure when finding that out - and for a proper bug report I would need a bit more information (or else the first question after telling "it crashes" would be "can you provide an example", since a simple "Hello world" doesn't seem to trigger this). -- |
December 21, 2016 [Issue 16746] Please output Makefile-style depfiles for ninja and make | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16746 Johannes Pfau <johannespfau@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |johannespfau@gmail.com --- Comment #3 from Johannes Pfau <johannespfau@gmail.com> --- @Matthias a GDC test case would be really appreciated. This should be easily reducible with Dustmite https://github.com/CyberShadow/DustMite . But if you don't have the time to reduce the code you can also send the complete code to my email address. Alternatively if it's a OSS project anyway just provide some instructions to reproduce the problem and I'll get a reduced test case. -- |
December 21, 2016 [Issue 16746] Please output Makefile-style depfiles for ninja and make | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16746 Vladimir Panteleev <thecybershadow@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thecybershadow@gmail.com --- Comment #4 from Vladimir Panteleev <thecybershadow@gmail.com> --- Matthias, have you seen rdmd's --makedepend flag? I think it may do what you need. -- |
December 23, 2016 [Issue 16746] Please output Makefile-style depfiles for ninja and make | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16746 --- Comment #5 from Matthias Klumpp <matthias@tenstral.net> --- (In reply to Johannes Pfau from comment #3) > @Matthias a GDC test case would be really appreciated. This should be easily reducible with Dustmite https://github.com/CyberShadow/DustMite . But if you don't have the time to reduce the code you can also send the complete code to my email address. Alternatively if it's a OSS project anyway just provide some instructions to reproduce the problem and I'll get a reduced test case. Looks like this is all resolved with GDC 6 \o/ - I can't reproduce any of the issues and -fmake-deps seems to work pretty well, unless https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807491 is still a thing. Anyway, I submitted a patch to Meson to use this by default for GDC now: https://github.com/ximion/meson/commit/0deb7a9e0c5e358dc7d1d07d8ac10b5c82ce33cd -- |
December 23, 2016 [Issue 16746] Please output Makefile-style depfiles for ninja and make | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16746 --- Comment #6 from Matthias Klumpp <matthias@tenstral.net> --- (In reply to Vladimir Panteleev from comment #4) > Matthias, have you seen rdmd's --makedepend flag? I think it may do what you need. This is indeed what I am looking for - does dmd have this too and I am just not seeing it? (dmd --help didn't show something useful) -- |
December 23, 2016 [Issue 16746] Please output Makefile-style depfiles for ninja and make | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16746 greenify <greeenify@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |greeenify@gmail.com --- Comment #7 from greenify <greeenify@gmail.com> --- > This is indeed what I am looking for - does dmd have this too and I am just not seeing it? (dmd --help didn't show something useful) No - it's implemented here: https://github.com/dlang/tools/blob/master/rdmd.d#L346 You package `rdmd` as well, right? Or is there a problem with using `rdmd`? -- |
April 05, 2017 [Issue 16746] Please output Makefile-style depfiles for ninja and make | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16746 --- Comment #8 from Matthias Klumpp <matthias@tenstral.net> --- (In reply to greenify from comment #7) > [...] > You package `rdmd` as well, right? No, there is nothing using it in Debian (and we already lack manpower for the existing packages). > Or is there a problem with using `rdmd`? Yes, it doesn't support all command-line flags one would use with ldc, gdc or dmd. Any wrapper is not an option. -- |
May 10, 2017 [Issue 16746] Please output Makefile-style depfiles for ninja and make | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16746 --- Comment #9 from Vladimir Panteleev <thecybershadow@gmail.com> --- (In reply to Matthias Klumpp from comment #8) > Yes, it doesn't support all command-line flags one would use with ldc, gdc or dmd. rdmd simply forwards flags it doesn't recognize to the compiler. > Any wrapper is not an option. Why? -- |
May 10, 2017 [Issue 16746] Please output Makefile-style depfiles for ninja and make | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16746 --- Comment #10 from Matthias Klumpp <matthias@tenstral.net> --- (In reply to Vladimir Panteleev from comment #9) > (In reply to Matthias Klumpp from comment #8) > > Yes, it doesn't support all command-line flags one would use with ldc, gdc or dmd. > > rdmd simply forwards flags it doesn't recognize to the compiler. > > > Any wrapper is not an option. > > Why? Because the wrapper is not available everywhere, and going through a wrapper in order to fix a missing thing in dmd is just a workaround. DMD(FE) should be able to do this natively. When adding support to Meson/CMake/Automake/Makefiles, telling users that they need the compiler but also this other tool which - in the Meson world - has the sole purpose of supplying a missing functionality in DMD is pretty cumbersome. It's a workaround, but no real solution to the issue. At the moment, Debian/Uhuntu/Fedora/OpenSUSE and probably a couple of other don't ehip rdmd at all, which makes demanding it just to work around this bug not worthwile anyway. -- |
Copyright © 1999-2021 by the D Language Foundation