You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The paths to dependencies in the generated ccpp_datatable.xml file are relative to the folder that holds the scheme files that need them. Because they are included in a separate dependencies element, decoupled from their source scheme, it is difficult to determine the absolute path to these files and include them in the build.
Alternatively, users could try to infer the absolute paths from other information in ccpp_datatable.xml, but I couldn't figure out a straightfoward way to do this.
Related to (optional)
none
The text was updated successfully, but these errors were encountered:
Use absolute paths for dependencies
In order to make the dependencies in the CCPP datatable more usable,
store absolute pathnames where possible.
User interface changes?: Yes
This may require a change in any build system that uses the
dependencies.
Fixes: #575
Testing:
test removed: None
unit tests: passed
system tests: ?
manual testing: ran Fortran tests
---------
Co-authored-by: Steve Goldhaber <stevenng@met.no>
Description
The paths to dependencies in the generated
ccpp_datatable.xml
file are relative to the folder that holds the scheme files that need them. Because they are included in a separatedependencies
element, decoupled from their source scheme, it is difficult to determine the absolute path to these files and include them in the build.e.g.,:
Solution
Generate absolute paths for dependencies instead. e.g.,:
This would also be consistent with other paths in this file, which are absolute.
@peverwhee @nusbaume - did I miss anything?
Alternatives (optional)
Alternatively, users could try to infer the absolute paths from other information in
ccpp_datatable.xml
, but I couldn't figure out a straightfoward way to do this.Related to (optional)
none
The text was updated successfully, but these errors were encountered: