-
Notifications
You must be signed in to change notification settings - Fork 283
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
enable 'check_ldshared' in generic PythonPackage easyblock by default #1788
Conversation
I'll just copy my previous comment: Alternatively, we could go through old easyconfigs where it's currently not set and set check_ldconfig=False? |
@Micket The implementation is pretty safe, since it checks first whether the If not (when So, I don't think we need to make this specific for certain toolchains, or go back to easyconfigs and set We can do that in case having this enabled by default is problematic, but it shouldn't be (and if it is, we can still try to fix that). We're changing this default for the upcoming EasyBuild v4.0 release, which gives us an excuse to make "breaking" changes (although nothing should actually break due to this change). |
I know, but, but the reason why we did it "opt-in" to start with hasn't actually changed; it broke some existing old configs. These old configs relies on broken behavior of distutils. To be specific, merging this PR would break the build for: I'm not sure if we really care about these old versions (I don't use them), but, it also wouldn't be that terribly hard to fix them. Or drop them. |
@Micket OK, just re-discovered my own fairly thorough testing of this (cfr. #1455 (comment)), you're right... I'm not a big fan of hunting down easyconfigs where we should set Maybe something as simple as simply implementing a bypass for any Python 2.x versions older than |
But we also can't put a runtime check inside 'check_ldshared': [None, 'Check Python value of $LDSHARED, correct if needed to "$CC -shared"', CUSTOM], and then, then used: if (check_ldshared is None and old_broken_versions) or check_ldshared == False:
# Not touching LDSHARED
else:
# Do touch LDSHARED (ugh.. so ugly, perhaps a 3 value enum would be better) |
…versions if it is not explicitely enabled or disabled
9665984
to
71ae755
Compare
@Micket Updated to |
replacement for #1781, now to correct branch (
develop
)