Context
On the release/MAPL-v3 branch we are preparing to flip use MAPL to import MAPL3 public entities. Components that have not yet been ported to MAPL3 will break at that point and will cause CI failures.
To protect CI we are temporarily deactivating non-ported components in CMake by commenting out their add_subdirectory / SUBCOMPONENTS entries. This makes it straightforward to re-activate each component as it is ported — just uncomment the relevant lines.
Components currently ported (remain active)
GOCART2G_GridComp (via the GOCART repo) — Shared (Chem_Base/Chem_Shared) and GOCART subdirectory remain active to support it
Changes required in this repo
CMakeLists.txt
- Replace
esma_add_subdirectories(Shared GOCART TR GMI StratChem MAM MATRIX CARMA GAAS ACHEM) with esma_add_subdirectories(Shared GOCART), commenting out the non-ported packages with a restore note
- Comment out the entire
alldirs set, srcs set, esma_add_library, and install block (the top-level GEOS_ChemGridComp.F90 USEs all the non-ported components, so we bypass it entirely for now)
- Leave commented-out code in place with notes explaining how to restore each piece
Feature branch
feature/deactivate-nonported-mapl3-components
Related issues
Reverting
To re-activate a component as it is ported, uncomment its entry in the esma_add_subdirectories call and its corresponding entry in alldirs. Once all components are restored, uncomment the full esma_add_library block and remove the temporary bypass.
Context
On the
release/MAPL-v3branch we are preparing to flipuse MAPLto import MAPL3 public entities. Components that have not yet been ported to MAPL3 will break at that point and will cause CI failures.To protect CI we are temporarily deactivating non-ported components in CMake by commenting out their
add_subdirectory/SUBCOMPONENTSentries. This makes it straightforward to re-activate each component as it is ported — just uncomment the relevant lines.Components currently ported (remain active)
GOCART2G_GridComp(via the GOCART repo) —Shared(Chem_Base/Chem_Shared) andGOCARTsubdirectory remain active to support itChanges required in this repo
CMakeLists.txtesma_add_subdirectories(Shared GOCART TR GMI StratChem MAM MATRIX CARMA GAAS ACHEM)withesma_add_subdirectories(Shared GOCART), commenting out the non-ported packages with a restore notealldirsset,srcsset,esma_add_library, andinstallblock (the top-levelGEOS_ChemGridComp.F90USEs all the non-ported components, so we bypass it entirely for now)Feature branch
feature/deactivate-nonported-mapl3-componentsRelated issues
Reverting
To re-activate a component as it is ported, uncomment its entry in the
esma_add_subdirectoriescall and its corresponding entry inalldirs. Once all components are restored, uncomment the fullesma_add_libraryblock and remove the temporary bypass.