-
-
Notifications
You must be signed in to change notification settings - Fork 382
Ensure that the phobos-stable directory exists #1650
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Still getting: |
bdd60f8 to
6e1bdb1
Compare
The current repository layout assumes that the latest, stable phobos (e.g. ../phobos-2.074.0) exists. For now, this is automatically ensured before the Makefile targets are evaluated.
Hmm, of course we could check for this as well and clone it as well as in the most likely case it will be present, but I am starting to dislike this simple solution ... |
I think it's important that we find a working solution, even if it means reverting #1590. |
|
Look at https://github.com/dlang/dlang.org/pull/1214/files#diff-228b518f4545d060f900578830ade5da for a rough guide on how to do this correctly. Make downstream rules depend on some As always, maybe there is a better solution I'm not aware of, but the above is feasible and fixes the problem at hand. Overall I hope we finally have a green light for dpl-docs and can dump all of that messy stuff soon. |
|
In case you guys want mentions @wilzbach, @CyberShadow |
|
@wilzbach ping |
|
I'm going to merge this for now as it fixes the problem at least partially, but @wilzbach please don't forget to return to this. |
|
@wilzbach https://issues.dlang.org/show_bug.cgi?id=17649 looks related to this, perhaps you should have a look. |
A simple fix to solve the problem of a non-existent stable Phobos directory as introduced in #1590.
The current repository layout assumes that the latest, stable phobos
(e.g. ../phobos-2.074.0) exists. For now, this is automatically ensured
before the Makefile targets are evaluated.
A similar trick is used at the DMD Makefile and we would use
git cloneanyways.