-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
Only require libgfortran
at run-time on Linux
#6
Conversation
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
After thinking about this some more, I think it might be easiest if we try to use the existing I'm going to make this change now so all of you can see in this PR what I'm proposing, but will wait for your feedback. |
libgfortran
at run-timelibgfortran
at run-time
This makes sense to me, but it is worrying how subtle the underlying problem is - seems like we could easily end up in the same place (or worse, crippled by fear of breaking anything). Given the subtlety, I don't know if we can address that though... |
I think @msarahan was 💯 correct in saying that we need to standardize on compilers. The subtlety of these problems is a direct consequence of having situations where we need to mix and match. For instance, Though it is also possible that shipping Another point worth mentioning is In any event, built this locally in the container locally from this recipe so that we can try it out. I put this in my own channel so people who would like to play with it and get more comfortable can. I have placed it under a |
I was able to run the full |
Cool. So we now need to rebuild anything that has accidentally pulled in a libstdc++ dependency. It will be a hard thing to identify, but at least we know of one candidate (matplotlib). |
I believe you are correct. |
We will have to explore the viability of a similar solution with |
While I was unable to use the existing copy of |
I have placed the rebuilt |
libgfortran
at run-timelibgfortran
at run-time
I'd like to also know @msarahan's thoughts on this simple yet effective proposal. |
I haven't taken a detailed look, but I think it should work for now, until we get the compiler built and deployed. It would be good to know somehow which libgfortran you're getting (and I think you want the one from defaults). |
It is the one from |
...or by verify are you discussing the versioning constraints in PR ( conda-forge/staged-recipes#861 ). While this would be nice, I don't want the perfect to be the enemy of the good. This already improves the situation significantly. |
I say this as it sounds like that will take more manpower/time, which I don't have much of ATM. |
Nah, that would be better, but just not having libgfortran on conda forge On Fri, Jun 24, 2016, 12:17 jakirkham [email protected] wrote:
|
Great. It sounds like we are in agreement then. Would be nice to hear back about some field tests. 😉 I'll let people decide when they are happy enough to merge this (by letting them actually merge it). From my personal testing, this combined with some build number bumps (for packages with C++) fixes the problem AFAICT. |
libgfortran
at run-timelibgfortran
at run-time on Linux
This attempts to use only
libgfortran
as a dependency at run-time dependency. FWICT on Mac only links againstlibgfortran
. However, Linux appears to be a mess and links to bothlibgcc_s
andlibgfortran
. We try an extremely experimental solution to fix this in this PR.