-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Fix Makefile not removing debug julia lib on windows #30059
Conversation
I don't think this is the correct fix; just because I run Rather, we should figure out why the debug library is getting built/installed when we don't want it. Most likely there's something wrong with #27814 and libraries are getting copied into the destdir when they shouldn't be. |
I certainly did not mean to close this PR. Sorry about that. :) |
@staticfloat thanks for the review and comments. I'm confused by your review, this is only for |
It's not only for If I run If I run |
this removes it from the bindir directory not the install directory. I've tested this locally and it fixes the bug in the linked issue by ensuring the debug julia lib is not included in the julia installer on windows. |
I believe the offending line is Line 342 in d32b30e
We should remedy the real issue, rather than just deleting the libjulia-debug.dll. The rule above should just be made specific to copy only the necessary files. Should hopefully not be too difficult. The Mac lines just below suggest that it should be easy to do so. |
Indeed @ViralBShah that is the exact crux of the problem. I decided to What's then the best way to specify to copy over all library dlls except |
It seems part of the issue with using |
Any thoughts on the comments above? Is this not sufficient (it does indeed work) until a better solution is proposed? |
I'm not sure what you mean by this; |
Yes, we need to prevent @staticfloat, if we clearly remove the exact filename that we just copied over, is it ok? This only applies to Windows inside the ifdef, and will only be used by the buildbots (realistically). Perhaps the risk is contained enough to do the hack. |
I'm not sure why this is true. What limits this to only running on buildbots? If I am a user and I run |
I think if we just want to exclude |
thanks @staticfloat for the suggestion. Frustratingly it still ends up copying, is there something wrong with the filter-out and wildcard statement you posted? Looks correct, however. |
You can debug this by doing things like |
Ok fixed! Thanks @staticfloat ! |
This also needs a backport label at least for 1.1 if not 1.0.x also. |
Looks good to merge. |
(cherry picked from commit bcca250)
(cherry picked from commit bcca250)
(cherry picked from commit bcca250)
(cherry picked from commit bcca250)
fix #30023