Skip to content
Snippets Groups Projects
Commit ff513ec7 authored by Utz-Uwe Haus's avatar Utz-Uwe Haus
Browse files

include ECMWF schema by default

parent 940cc852
Branches nvidia-arm
No related tags found
No related merge requests found
...@@ -78,6 +78,21 @@ mstro_core_init(const char *workflow_name, ...@@ -78,6 +78,21 @@ mstro_core_init(const char *workflow_name,
ERR("Failed to parse built-in core schema\n"); ERR("Failed to parse built-in core schema\n");
goto BAILOUT; goto BAILOUT;
} }
/* FIXME: this should not be here */
DEBUG("Including ECMWF schema\n");
mstro_schema ecmwf;
status=mstro_schema_parse(MSTRO_SCHEMA_BUILTIN_YAML_ECMWF,
MSTRO_SCHEMA_BUILTIN_YAML_ECMWF_LEN,
&ecmwf);
if(status!=MSTRO_OK) {
ERR("Failed to parse built-in ecmwf schema\n");
goto BAILOUT;
}
status=mstro_schema_merge(g_mstro_core_schema_instance, ecmwf);
if(status!=MSTRO_OK) {
ERR("Failed to merge core and ECMWF schema\n");
goto BAILOUT;
}
DEBUG("mstro_core_init: %s/%s/% "PRIi64 " in thread %" PRIxPTR" complete\n", DEBUG("mstro_core_init: %s/%s/% "PRIi64 " in thread %" PRIxPTR" complete\n",
data->workflow_name, data->component_name, data->component_index, data->workflow_name, data->component_name, data->component_index,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment