digitalmars.D.bugs - Project building times
- Sebastian Beschke (12/12) Jan 30 2005 Hi,
- Sebastian Beschke (1/1) Jan 30 2005 Whoops, this probably should've been in the main newsgroup...
- Andy Friesen (5/21) Jan 30 2005 I've noticed this as well, and I've been meaning to look into modifying
- Lars Ivar Igesund (4/6) Jan 30 2005 A-A-P can handle this (see my shameless plug on the main NG).
- Derek Parnell (8/25) Jan 30 2005 I also have a tool that builds D apps. It is derived from dmake, and jus...
Hi, I'm not sure if this has been brought up before, but anyway: I've noticed (in a project currently containing 37 source files) that building everything in one DMD call is much faster than using SCons (which is supposed to speed up building by not rebuilding everything every time). I guess this is because DMD has to repeatedly lex the imported modules. I think that a) SCons should be modified to build everything in one DMD call and b) dmd might add some kind of caching of the lexed data between compiler calls. Is any of this possible? How do other build tools (such as aap) handle this? -Sebastian
Jan 30 2005
Whoops, this probably should've been in the main newsgroup...
Jan 30 2005
Sebastian Beschke wrote:Hi, I'm not sure if this has been brought up before, but anyway: I've noticed (in a project currently containing 37 source files) that building everything in one DMD call is much faster than using SCons (which is supposed to speed up building by not rebuilding everything every time). I guess this is because DMD has to repeatedly lex the imported modules. I think that a) SCons should be modified to build everything in one DMD call and b) dmd might add some kind of caching of the lexed data between compiler calls. Is any of this possible? How do other build tools (such as aap) handle this?I've noticed this as well, and I've been meaning to look into modifying SCons precisely as you suggest, but I haven't been able to find the time yet. :\ -- andy
Jan 30 2005
Sebastian Beschke wrote:Is any of this possible? How do other build tools (such as aap) handle this?A-A-P can handle this (see my shameless plug on the main NG). A-A-P need testers badly to get any further. Lars Ivar Igesund
Jan 30 2005
On Sun, 30 Jan 2005 14:28:48 +0100, Sebastian Beschke wrote:Hi, I'm not sure if this has been brought up before, but anyway: I've noticed (in a project currently containing 37 source files) that building everything in one DMD call is much faster than using SCons (which is supposed to speed up building by not rebuilding everything every time). I guess this is because DMD has to repeatedly lex the imported modules. I think that a) SCons should be modified to build everything in one DMD call and b) dmd might add some kind of caching of the lexed data between compiler calls. Is any of this possible? How do other build tools (such as aap) handle this? -SebastianI also have a tool that builds D apps. It is derived from dmake, and just needs a few finishing touches before I can give to the community. I'll be working on that today. -- Derek Melbourne, Australia 31/01/2005 9:20:37 AM
Jan 30 2005