Add GMGPolar as a possible IPolarPoissonLikeSolver#644
Conversation
|
This PR is failing tests so it has been put back into draft. Please remove the draft status when the tests pass. |
|
This PR is failing tests so it has been put back into draft. Please remove the draft status when the tests pass. |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
| set(GMGPOLAR_BUILD_TESTS OFF CACHE BOOL "") | ||
| add_subdirectory("vendor/GMGPolar/" "GMGPolar" EXCLUDE_FROM_ALL SYSTEM) | ||
| # Suppress -Werror=unused-variable inherited via CMAKE_CXX_FLAGS_INIT so that GMGPolar warnings don't break the build. | ||
| target_compile_options(GMGPolarLib PRIVATE -Wno-error=unused-variable) |
There was a problem hiding this comment.
Another reason I don't like vendoring :)
| find_package(Ginkgo 1.8 REQUIRED) | ||
|
|
||
| set(GMGPOLAR_BUILD_TESTS OFF CACHE BOOL "") | ||
| add_subdirectory("vendor/GMGPolar/" "GMGPolar" EXCLUDE_FROM_ALL SYSTEM) |
There was a problem hiding this comment.
| add_subdirectory("vendor/GMGPolar/" "GMGPolar" EXCLUDE_FROM_ALL SYSTEM) | |
| add_subdirectory(vendor/GMGPolar EXCLUDE_FROM_ALL SYSTEM) |
Do we have a reason to exclude from all ?
There was a problem hiding this comment.
I don't want to compile the executables or the test/interface library. I am only interested in one library from the folder (GMGPolarLib)
Is there a reason to not use EXCLUDE_FROM_ALL?
It doesn't stop anything from being compiled it just ensures that the only things that are compiled are the libs that are used
|
|
||
| find_package(Ginkgo 1.8 REQUIRED) | ||
|
|
||
| set(GMGPOLAR_BUILD_TESTS OFF CACHE BOOL "") |
There was a problem hiding this comment.
One reason I don't like vendoring
There was a problem hiding this comment.
Actually maybe we don't need this if we're using EXCLUDE_FROM_ALL 🤔
| gslx::data_types | ||
| gslx::matrix_tools | ||
| gslx::utils | ||
| GMGPolarLib |
There was a problem hiding this comment.
We should push for an alias before merging.
There was a problem hiding this comment.
This is why I asked for your opinion on the CMake PR on the GMGPolar side
| gslx::data_types | ||
| gslx::matrix_tools | ||
| gslx::utils | ||
| GMGPolarLib |
There was a problem hiding this comment.
| GMGPolarLib | |
| GMGPolar::GMGPolarLib |
Co-authored-by: Thomas Padioleau <thomas.padioleau@cea.fr>
|
This PR is failing tests so it has been put back into draft. Please remove the draft status when the tests pass. |
Add
GMGPolaras a possibleIPolarPoissonLikeSolver.SciCompMod/GMGPolar#214 should be merged before merging this PR
Please complete the checklist to ensure that all tasks are completed before marking your pull request as ready for review.
All Submissions
New Feature Submissions
Changes to Existing Features
Changes to the CI