idaholab / moose

Multiphysics Object Oriented Simulation Environment
https://www.mooseframework.org
GNU Lesser General Public License v2.1
1.6k stars 1k forks source link

Update Makefiles to copy files that are symbolic links #27514

Open bwspenc opened 2 weeks ago

bwspenc commented 2 weeks ago

Motivation

Regression tests for applications may need to point to data files that are outside the test/tests directory, but those files may not be copied over during make install, and even if they are, the relative path may not be correct.

Design

If any file that is outside the tree (e.g., test/tests) is a symbolic link, have the install process copy the file rather than creating a symbolic link to it.

Impact

This should have minimal impact. The main downsides are:

bwspenc commented 2 weeks ago

This is the Grizzly PR that will rely on this: https://github.inl.gov/ncrc/grizzly/pull/765