Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
wip for merge main
  • Loading branch information
james-bruten-mo committed Feb 16, 2026
commit ffeddf6b90cf8800eb75cddf446212cd9a895890
16 changes: 16 additions & 0 deletions infrastructure/build/configuration.mk
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#
# Run this make file to generate configuration found in SOURCE_DIR
# to WORKING_DIR. Uses PROJECT to know what to call master files.
# Extracts rose-metadata from repos in EXTRACT_ROSE_META
#

export CONFIG_DIR=$(WORKING_DIR)/configuration
Expand All @@ -18,6 +19,21 @@ configuration_files: $(WORKING_DIR)/configuration_mod.f90 \
$(CONFIG_DIR)/rose-meta.json $(CONFIG_DIR)/config_namelists.txt: $(META_FILE_DIR)/rose-meta.conf
$(call MESSAGE,Generating namelist configuration file.)
$(Q)mkdir -p $(dir $@)

ifdef EXTRA_ROSE_META
ifdef APPS_ROOT_DIR
$Qfor repo in $(EXTRA_ROSE_META) ; do \
python $(APPS_ROOT_DIR)/build/extract/extract_science.py \
-r $(REPO) \
-d $(APPS_ROOT_DIR)/dependencies.yaml \
-w $(WORKING_DIR)
; done
else
$(call MESSAGE,Not expecting to extract external rose-meta when APPS_ROOT_DIR not defined)
exit 1
endif
endif

ifdef APPS_ROOT_DIR
$(Q)rose_picker $(META_FILE_DIR)/rose-meta.conf \
-directory $(CONFIG_DIR) \
Expand Down