Add DMD to the release pages of Ddoc and Ddox v2#1686
Add DMD to the release pages of Ddoc and Ddox v2#1686CyberShadow merged 4 commits intodlang:masterfrom
Conversation
Hmm I really hope we can replace this auto-generated file (dlang/dmd#6837 looks promising). For now I added |
b85bf5e to
31a48ca
Compare
posix.mak
Outdated
| $(MAKE) AUTO_BOOTSTRAP=1 --directory=$(DMD_DIR) -f posix.mak src/ddmd/id.d | ||
|
|
||
| $(DMD_STABLE_DIR)/src/ddmd/id.d: $(DMD_REL) | $(DMD_STABLE_DIR) | ||
| $(MAKE) AUTO_BOOTSTRAP=1 --directory=$(DMD_STABLE_DIR) -f posix.mak src/ddmd/id.d |
There was a problem hiding this comment.
Apparently with the changes, DMD isn't by default built from source anymore (or at least the built isn't accessible here).
Anyhow this seems to do the trick.
There was a problem hiding this comment.
Is there another solution? Introducing this change here now will cause an inter-dependent deadlock if/when id.d is removed.
Never mind, I see this only applies to the stable snapshot.
|
Other 2 are in, rebase please |
It never was (at least from the dlang.org makefile). That it had been built there was a coincidence. The entire problem happened because I wrongly assumed that the ../{dmd,druntime,phobos}-${LATEST}/ directories were never written to once cloned. |
3e7b829 to
cab5e0c
Compare
Done.
It does apply to both |
|
Can we please divert some more effort towards finishing dpl-docs instead of spending endless hours making the Makefile even worse. |
|
Looks like id.d should be a dependency of |
Good idea
I also spend time making it better: #1687 |
Can you invoke the dmd makefile?
The hack should be in this repository, not dmd. In the |
|
This is a pretty big patch, can you split it up into multiple commits? And can you refactor the |
cab5e0c to
f52c102
Compare
f52c102 to
033ede7
Compare
Yes of course and this is how (1) the DMD executable is generated and (2) how the current solution works.
I don't think it's as easy as that. Without the CTFE-generation, the entire file needs to be available when
Done.
A single place is quite hard, but I realized that for the normal ( FWIW the weird thing is that we build |
I don't understand, can't you make the
Thanks a lot! |
Isn't this what I have already done? Without modifying DMD like with dlang/dmd#6878 I need to add it to all targets that could be invoked individually, don't I? |
Why not:
My point was to avoid mentioning Even better, I see that |
|
I'm guessing merging dlang/dmd#6878 now wouldn't fix things short-term because the change must propagate to the release version to be usable from the dlang.org makefile? |
Yup and hopefully soon we get the CTFE-generator.. (Will do the final touches later tonight then) |
2030a5b to
b91c964
Compare
Ah finally figured out the problem - it was a silly, nasty typo :S |
|
Looks good, what happened to the |
There was a reference to |
|
@dlang-bot ..? |
You just couldn't wait long enough ;-) |
|
Usually it's instant if everything is green... |
Yes, thanks to Vibe.d the bot can do everything in less than 5ms and thus just depends on the network latency. Hmm the bot does have write access here (I remember this being a problem before). From the logs (converted to my timezone as well) I can't see the hook appearing there: (neither can I find the CC @MartinNowak any ideas? |
It worked in #1684 so that can't be it. |
Due to #1682