D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 22821 - Dub package does not use incremental compilation
Summary: Dub package does not use incremental compilation
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P1 enhancement
Assignee: No Owner
URL:
Keywords: pull
Depends on:
Blocks:
 
Reported: 2022-02-23 15:56 UTC by Luís Ferreira
Modified: 2022-02-28 12:09 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Luís Ferreira 2022-02-23 15:56:55 UTC
Using dub package provided by dmd to use DMD as a library does not produce incremental compilation, forcing the user to recompile/link the binaries every time it compiles.
Comment 1 Dlang Bot 2022-02-23 16:05:31 UTC
@ljmf00 updated dlang/dmd pull request #13712 "fix(dub): Make config.d executable to incremental compilation" fixing this issue:

- fix(dub): Make config.d executable to incremental compilation
  
  Fix issue 22821.
  
  Signed-off-by: Luís Ferreira <contact@lsferreira.net>

https://github.com/dlang/dmd/pull/13712
Comment 2 Dlang Bot 2022-02-28 12:09:17 UTC
dlang/dmd pull request #13712 "fix(dub): Make config.d executable to incremental compilation" was merged into master:

- f309925c8802ae20dce1aeb3f6b4c9fe4b4e9f1c by Luís Ferreira:
  fix(dub): Make config.d executable to incremental compilation
  
  Fix issue 22821.
  
  Signed-off-by: Luís Ferreira <contact@lsferreira.net>

https://github.com/dlang/dmd/pull/13712