digitalmars.D.bugs - [Issue 9896] New: Implement -rb switch for recursive build and -rx switch for exclusion lists
- d-bugmail puremagic.com (36/36) Apr 07 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9896
- d-bugmail puremagic.com (10/10) Apr 07 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9896
http://d.puremagic.com/issues/show_bug.cgi?id=9896 Summary: Implement -rb switch for recursive build and -rx switch for exclusion lists Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: DMD AssignedTo: andrej.mitrovich gmail.com ReportedBy: andrej.mitrovich gmail.com 06:15:57 PDT --- DMD automatically tracks imports and loads all dependent modules that a source module needs. By taking advantage of this we can speed up the build time of a project and simplify the build script. See the discussion[1] in the forums. -rb will be used to make DMD build all modules which it loads. -rx will be used to exclude modules or packages which DMD should not build when the -rb switch is present. This will enable fast incremental builds via an external tool such as RDMD, as such a tool will be able to exclude prebuilt modules from being built again by passing the module names via the -rx switch, and passing the object files instead to enable proper linking. -rx can take a fully-qualified module declaration, or a wildcard, via: $ dmd -rxfoo.bar This excludes the module foo.bar $ dmd -rxfoo.* This excludes all modules from the package foo. From a few tests we saw build times improve by 30%. Adding incremental support to RDMD (which needs these new flags) will significantly improve the build times. [1] : http://forum.dlang.org/thread/qgezuphvnabvwfvfyhdx forum.dlang.org?page=4#post-kjqe9a:242fdl:241:40digitalmars.com -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 07 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9896 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull 07:25:36 PDT --- https://github.com/D-Programming-Language/dmd/pull/1861 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 07 2013