Dscanner Makefile: separate target + order-only dependencies#5518
Dscanner Makefile: separate target + order-only dependencies#5518dlang-bot merged 3 commits intodlang:masterfrom
Conversation
|
Thanks for your pull request, @wilzbach! We are looking forward to reviewing it, and you should be hearing from a maintainer soon. Some tips to help speed things up:
Bear in mind that large or tricky changes may require multiple rounds of review and revision. Please see CONTRIBUTING.md for more information. Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. |
|
Fixed. Sorry. |
This avoids recompilation of DScanner when a file in Phobos has been changed. DScanner only needs a recent Phobos version to be built once.
|
To avoid problems due to stale versions of DScanner, I'd suggest cloning it to a directory with the commit hash as part of the directory name, in the same way the dlang.org makefiles clone the stable versions of Phobos etc. LGTM otherwise. |
| GIT_HOME=https://github.com/dlang | ||
| TOOLS_DIR=../tools | ||
| DSCANNER_HASH=455cc3fe50e6d0742c866737b4ac24669d51a992 | ||
| DSCANNER_DIR=../dscanner-$(DSCANNER_HASH) |
There was a problem hiding this comment.
To avoid problems due to stale versions of DScanner, I'd suggest cloning it to a directory with the commit hash as part of the directory name, in the same way the dlang.org makefiles clone the stable versions of Phobos etc.
Excellent idea. Do you prefer long, short git hashes or simply don't care?
There was a problem hiding this comment.
I don't think it really matters, so whatever's simplest!
No description provided.