-
Notifications
You must be signed in to change notification settings - Fork 74
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
Skip build of all boost modules except boost::mpi #141
base: master
Are you sure you want to change the base?
Conversation
@@ -11,7 +11,8 @@ ExternalProject_Add(ppc_boost | |||
BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/ppc_boost/build" | |||
INSTALL_DIR "${CMAKE_CURRENT_BINARY_DIR}/ppc_boost/install" | |||
CONFIGURE_COMMAND "${CMAKE_COMMAND}" -S "${CMAKE_SOURCE_DIR}/3rdparty/boost/" -B "${CMAKE_CURRENT_BINARY_DIR}/ppc_boost/build/" | |||
-DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER} -G${CMAKE_GENERATOR} -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DBOOST_ENABLE_MPI=ON | |||
-DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER} -G${CMAKE_GENERATOR} -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} | |||
-DBOOST_INCLUDE_LIBRARIES=mpi -DBOOST_ENABLE_MPI=ON |
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.
Potential problem with functions required for the following tasks.
TODO: check
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.
Just MPI is not enough, but it is hard to limit the scope of necessary functions. I suggest to leave original command line as is
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.
Also bringing the entire boost library seems like overkill, maybe pull only the boost::mpi
with its transitive dependencies?
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.
Yes, this is going to be implemented, actually. Boost MPI will be extracted and brought as the only 3rdparty boost dependency
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #141 +/- ##
=======================================
Coverage 96.96% 96.96%
=======================================
Files 28 28
Lines 593 593
Branches 160 161 +1
=======================================
Hits 575 575
Misses 2 2
Partials 16 16 ☔ View full report in Codecov by Sentry. |
No description provided.