spack/lib/spack
Dr. Christian Tacke 22a56a89c7
Use shutil.copy2 in install_tree (#15058)
Sometimes one needs to preserve the (relative order) of
mtimes on installed files.  So it's better to just copy
over all the metadata from the source tree to the install
tree. If permissions need fixing, that will be done anyway
afterwards.

One major use case are resource()s:
They're unpacked in one place and then copied to their
final place using install_tree(). If the resource is a
source tree using autoconf/automake, resetting mtimes
uncorrectly might force unwanted autoconf/etc calls.
2020-02-19 23:09:26 -06:00
..
docs Docs: configure_args -> cmake_args (#15102) 2020-02-19 22:48:56 -06:00
env copyright: update copyright dates for 2020 (#14328) 2019-12-30 22:36:56 -08:00
external copyright: update copyright dates for 2020 (#14328) 2019-12-30 22:36:56 -08:00
llnl Use shutil.copy2 in install_tree (#15058) 2020-02-19 23:09:26 -06:00
spack Fix relocate.mime_type if slashes in subtype (#11788) 2020-02-19 17:30:17 -06:00