-
Notifications
You must be signed in to change notification settings - Fork 48
Build DART/DASH static libs with PIC #405
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
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
821b860
Fixed log message, PIC static libs
fuchsto 5161385
Minor
fuchsto ad01c93
Installing CMake exports to install path share/cmake
fuchsto dda9a27
Merge branch 'development' of github.com:dash-project/dash into sup-b…
fuchsto 876d495
Using CMake module install prefix share/cmake
fuchsto 3d50e4c
Using CMake module install prefix share/cmake
fuchsto 9e85ac0
Merge branch 'development' of github.com:dash-project/dash into sup-b…
fuchsto bf3e5ff
Fixed CMake module install path
fuchsto 70d51ae
Merge branch 'development' of github.com:dash-project/dash into sup-b…
fuchsto 8c0869a
Merge branch 'development' into sup-build-pic
devreal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,6 +9,7 @@ | |
|
|
||
| set(DART_INSTALL_PREFIX "${PACKAGE_PREFIX_DIR}") | ||
|
|
||
| find_package(DART-BASE REQUIRED HINTS "${DART_INSTALL_PREFIX}/cmake") | ||
| find_package(DART-BASE REQUIRED HINTS "${DASH_INSTALL_PREFIX}/share/cmake") | ||
|
|
||
| include("${DASH_INSTALL_PREFIX}/share/cmake/@[email protected]") | ||
|
|
||
| include("${DART_INSTALL_PREFIX}/cmake/@[email protected]") | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fine with me, couldn't see a performance impact significant to stick out of the noise in my experiments. That might be different on 32bit systems, though (in case anyone still uses them for real).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmyes. I'd prefer a more canonical way myself to toggle this setting, like
BUILD_SHARED_LIBS, but I'm not aware of any. Still, will wrap it in a build optionBUILD_PIC_LIBSand disable it by default. It's sensible to assume that the common use case is to link DASH with an executable.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed. Will pydash be integrated into the main build system? If so, we might just trigger PIC builds if pydash is being built.