You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TRIBITS_CTEST_DRIVER() does not pass through disables in ${PROJECT_NAME}_EXCLUDE_PACKAGES when ${PROJECT_NAME}_EANBLE_ALL_PACKAGES=ON is set in all-at-once mode.
#269
Closed
bartlettroscoe opened this issue
Oct 11, 2018
· 2 comments
When Trilinos switched over to use the all-at-once mode by default for all builds (as part of the CMake 3.10 upgrade, see trilinos/Trilinos#1761), it exposed a defect for builds that set ${PROJECT_NAME}_EANBLE_ALL_PACKAGES=ON and ${PROJECT_NAME}_EXCLUDE_PACKAGES=<pkg0>,<pkg1>,... in all-at-once mode. The problem is that TRIBITS_CTEST_DRIVER() passes through ${PROJECT_NAME}_EANBLE_ALL_PACKAGES=ON but not the packages listed in ${PROJECT_NAME}_EXCLUDE_PACKAGES. This resulted in them being enabled in the inner configure where they failed to configure (PyTrilinos in that case, see trilinos/Trilinos#1761 (comment)).
The text was updated successfully, but these errors were encountered:
…or all-at-once approach (#269)
This was needed when switching from the package-by-package appraoch to the
all-at-once approach by default in Trilinos. See trilinos/Trilinos#1761.
I also made it so that the list passed in to <Project>_EXCLUDE_PACAKGES can be
seprated by commas ',' or semi-colons ';'.
I added a unit test that protects both of these two behaviors.
Build/Test Cases Summary
Enabled Packages:
Enabled all Packages
0) MPI_DEBUG => passed: passed=329,notpassed=0 (0.81 min)
1) SERIAL_RELEASE => passed: passed=329,notpassed=0 (0.88 min)
When Trilinos switched over to use the all-at-once mode by default for all builds (as part of the CMake 3.10 upgrade, see trilinos/Trilinos#1761), it exposed a defect for builds that set
${PROJECT_NAME}_EANBLE_ALL_PACKAGES=ON
and${PROJECT_NAME}_EXCLUDE_PACKAGES=<pkg0>,<pkg1>,...
in all-at-once mode. The problem is thatTRIBITS_CTEST_DRIVER()
passes through${PROJECT_NAME}_EANBLE_ALL_PACKAGES=ON
but not the packages listed in${PROJECT_NAME}_EXCLUDE_PACKAGES
. This resulted in them being enabled in the inner configure where they failed to configure (PyTrilinos in that case, see trilinos/Trilinos#1761 (comment)).The text was updated successfully, but these errors were encountered: