Skip to content

Don't hide GAMBIT symbols if -rdynamic or -Wl,--export-dynamic is set. (LUMI fix)#460

Merged
anderkve merged 2 commits intomasterfrom
lumi_debug
Dec 1, 2023
Merged

Don't hide GAMBIT symbols if -rdynamic or -Wl,--export-dynamic is set. (LUMI fix)#460
anderkve merged 2 commits intomasterfrom
lumi_debug

Conversation

@anderkve
Copy link
Collaborator

@anderkve anderkve commented Nov 23, 2023

Added a check in CMakeLists.txt to see if the user has set -rdynamic or -Wl,--export-dynamic. If so, we shouldn't apply -fvisibility=hidden which will override the user setting. This is the fix we need for using GAMBIT on LUMI, since then we can simply add -DCMAKE_CXX_FLAGS="-rdynamic" to our cmake command.

This PR is just to check that the CI jobs run OK. Will merge once they do.

@anderkve
Copy link
Collaborator Author

anderkve commented Dec 1, 2023

The CI jobs fail only due to known issues on master (see #463 and #462) unrelated to this small PR. So will merge this now.

@anderkve anderkve merged commit da40624 into master Dec 1, 2023
@anderkve anderkve deleted the lumi_debug branch December 1, 2023 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant