Skip to content
Snippets Groups Projects
Commit dbc8c4f4 authored by Karl Wette's avatar Karl Wette
Browse files

Per-library fallback LAL data path for XLALFileResolvePathLong()

- XLALFileResolvePathLong() replaces 'fallbackdir' with 'fallbackpath'
  - May contain either absolute or relative (to liblalsupport.so) paths
- LALSUITE_WITH_FALLBACK_DATA_PATH (replaces LAL_WITH_DATA_PATH)
  defines LAL_FALLBACK_DATA_PATH to fallback LAL data path
  - Defaults to $(pkgdatadir), same as for 'fallbackdir' argument
- New macro XLAL_FILE_RESOLVE_PATH() passes LAL_FALLBACK_DATA_PATH to
  XLALFileResolvePathLong(), so each library gets its own fallback path
  - Not designed to be used outside of LALSuite; libraries implement their
    own functions (e.g. XLALReadEphemerisFile(), XLALSimReadDataFileOpen()
    which call XLAL_FILE_RESOLVE_PATH() internally
- Non-inline XLALFileResolvePath() and XLALPulsarFileResolvePath() wrappers
  kept to avoid breaking ABI
- .gitlab-ci.yml: add finding data files test to lalpulsar_longtests

[ci full]
parent 6e9d6e13
No related branches found
No related tags found
1 merge request!2163Allow per-library fallback LAL data path for XLALFileResolvePathLong()
Showing
with 145 additions and 150 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment