Skip to content

Commit

Permalink
Extract rconfig always to satisfy DA registry
Browse files Browse the repository at this point in the history
  • Loading branch information
islas committed Aug 6, 2024
1 parent bebecac commit 43d1f90
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ add_custom_command(
${CMAKE_COMMAND} -E make_directory ${CMAKE_BINARY_DIR}/inc
COMMAND
${CMAKE_COMMAND} -E make_directory ${CMAKE_BINARY_DIR}/frame
# WRF DA shenanigans that date back so far back changing to some better layout may have unintended
# consequences with external workflows. There is no harm in always doing this so that's why this is here
COMMAND
grep "^rconfig" ${PROJECT_SOURCE_DIR}/Registry/Registry.EM_COMMON > ${CMAKE_BINARY_DIR}/Registry/Registry.rconfig 2>&1
COMMAND
${CMAKE_BINARY_DIR}/tools/registry ${REGISTRY_DEFS} -DNEW_BDYS ${REGISTRY_FILE} > ${CMAKE_BINARY_DIR}/registry.log 2>&1
#!TODO Just have the registry code actually check for failure or better yet rewrite the
Expand Down

0 comments on commit 43d1f90

Please sign in to comment.