-
Notifications
You must be signed in to change notification settings - Fork 27
CMake tweaks and cleanup to help with alps uenv builds #358
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
Draft
biddisco
wants to merge
1
commit into
IPPL-framework:master
Choose a base branch
from
biddisco:feature/build-system
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ manual/ippl_user_guide.pdf | |
build*/ | ||
*~ | ||
*.~ | ||
*.orig | ||
|
||
# ignore build directories | ||
build*/ | ||
|
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 |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
aaadelmann marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"version": 3, | ||
"cmakeMinimumRequired": { | ||
"major": 3, | ||
"minor": 24, | ||
"patch": 0 | ||
}, | ||
"configurePresets": [ | ||
{ | ||
"name": "testing", | ||
"hidden": true, | ||
"cacheVariables": { | ||
"IPPL_ENABLE_TESTS": "ON", | ||
"IPPL_ENABLE_UNIT_TESTS": "ON" | ||
} | ||
}, | ||
{ | ||
"name": "default", | ||
"displayName": "Default", | ||
"description": "Default build, release mode with most common options", | ||
"generator": "Unix Makefiles", | ||
"cacheVariables": { | ||
"BUILD_SHARED_LIBS": "ON", | ||
"CMAKE_BUILD_TYPE": "Release", | ||
"Kokkos_VERSION_DEFAULT": "4.5.01", | ||
"Heffte_VERSION_DEFAULT": "2.4.0", | ||
"IPPL_PLATFORMS": "OPENMP;CUDA", | ||
"IPPL_ENABLE_FFT": "ON", | ||
"IPPL_ENABLE_ALPINE": "ON", | ||
"IPPL_ENABLE_COSMOLOGY": "ON", | ||
"IPPL_ENABLE_TESTS": "OFF", | ||
"IPPL_ENABLE_UNIT_TESTS": "OFF", | ||
"IPPL_USE_STANDARD_FOLDERS": "ON" | ||
} | ||
}, | ||
{ | ||
"name": "fetch", | ||
"displayName": "ForceDownload", | ||
"description": "Always downloads dependencies", | ||
"inherits": ["default"], | ||
"cacheVariables": { | ||
"Kokkos_VERSION": "git.4.5.01", | ||
"Heffte_VERSION": "git.9eab7c0eb18e86acaccc2b5699b30e85a9e7bdda" | ||
} | ||
}, | ||
{ | ||
"name": "release-testing", | ||
"displayName": "Testing(Release)", | ||
"description": "Enables building test in release mode", | ||
"inherits": ["testing", "default"] | ||
}, | ||
{ | ||
"name": "debug-testing", | ||
"displayName": "Testing(Debug)", | ||
"description": "Enables building test in debug mode", | ||
"inherits": ["testing", "default"], | ||
"cacheVariables": { | ||
"CMAKE_BUILD_TYPE": "Debug", | ||
"IPPL_ENABLE_SANITIZER": "ON", | ||
"IPPL_PLATFORMS": "SERIAL" | ||
} | ||
} | ||
] | ||
} |
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
Oops, something went wrong.
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.
Do we want both a cmake and a CMakeModules folder? It might be more clean to have a folder-hierarchy all inside the cmake folder? Or what would the arguments be for having both?
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.
I think that I just didn't notice there was the CMakeModules there - it doesn't exist on my tree, so is it a left over from somewhere, or should it be present. Probably I just added the cmake and missed the other, we can/should certainly remove one
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.
From what I can see there is no official recommendation what name one should choose here but I've looked at some more modern projects and they mainly seem to be using "cmake" so I'd suggest using just that one?