Skip to content
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

Support shared libraries in cray builds. #2

Merged
merged 1 commit into from
Dec 12, 2013
Merged

Support shared libraries in cray builds. #2

merged 1 commit into from
Dec 12, 2013

Conversation

rsdale
Copy link
Member

@rsdale rsdale commented Dec 6, 2013

This update allows the cray.jam file to create shared libraries. It is pretty conservative, settin g -O2 instead of O3, and suppressing inlining altogether. The latter is because of a known bug in current cray compilers. An update will be provided here and in compiler/cray.hpp when an updated cray compiler solves this problem.

@jhunold
Copy link
Contributor

jhunold commented Dec 10, 2013

I would like to have some more inline comments on the whole static/dynamic/shared linker/compiler flags setup inside cray.jam. Otherwise the patch is just fine. I just remembered the "link" is used for executables, "archive" is the rule for static linking. Sorry for me being off-track.
And an another question: Do we need to be backward-compatible?

@rsdale
Copy link
Member Author

rsdale commented Dec 11, 2013

As regards backwards compatibility; there is nothing here that would break anything that used to work, but there are enough issues with the existing cray.jam that some cray users have been devising their own build scripts, or their own localized .jam files. That said, we are really targeting the 8.2 and 8.3 versions of the cray C/C++ compiler that incorporate a lot of relevant bug fixes and C++11 support.

On Dec 10, 2013, at 2:50 AM, Jürgen Hunold [email protected] wrote:

I would like to have some more inline comments on the whole static/dynamic/shared linker/compiler flags setup inside cray.jam. Otherwise the patch is just fine. I just remembered the "link" is used for executables, "archive" is the rule for static linking. Sorry for me being off-track.
And an another question: Do we need to be backward-compatible?


Reply to this email directly or view it on GitHub.

jhunold added a commit that referenced this pull request Dec 12, 2013
Support shared libraries in cray builds.
@jhunold jhunold merged commit fc64663 into boostorg:develop Dec 12, 2013
@github-actions github-actions bot added the transition Transition to bfgroup/b2 label Oct 2, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Oct 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
transition Transition to bfgroup/b2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants