Skip to content
Merged
Changes from all commits
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
16 changes: 8 additions & 8 deletions infrastructure/build/configuration.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,14 @@
# Run this make file to generate configuration found in SOURCE_DIR
# to WORKING_DIR. Uses PROJECT to know what to call master files.
#
# Sets CONFIG_DIR as WORKING_DIR/configuration to store configuration output in
#
# Reads ROSE_META_DIRS for list of directories to read rose metadata from. Will
# always append CORE_ROOT_DIR/rose-meta to this variable
#

export CONFIG_DIR=$(WORKING_DIR)/configuration
export ROSE_META_DIRS += $(CORE_ROOT_DIR)/rose-meta

.PHONY: configuration_files
configuration_files: $(WORKING_DIR)/config_loader_mod.f90 \
Expand All @@ -18,16 +24,10 @@ configuration_files: $(WORKING_DIR)/config_loader_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 APPS_ROOT_DIR
$(Q)rose_picker $(META_FILE_DIR)/rose-meta.conf \
-directory $(CONFIG_DIR) \
-include_dirs $(APPS_ROOT_DIR)/rose-meta \
-include_dirs $(CORE_ROOT_DIR)/rose-meta
else
$(Q)rose_picker $(META_FILE_DIR)/rose-meta.conf \
-directory $(CONFIG_DIR) \
-include_dirs $(CORE_ROOT_DIR)/rose-meta
endif
$(addprefix -include_dirs ,$(ROSE_META_DIRS))

# It's not clear why this is needed but as of 5/2/20 the diagnostic
# application test suite fails without it.
$(Q)sleep 20
Expand Down
Loading