spack/lib/spack/llnl/util
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
..
cpu Adds fma and vsx features to entire power arch family. (#14759) 2020-02-06 16:42:05 +01:00
tty Distributed builds (#13100) 2020-02-19 00:04:22 -08:00
__init__.py copyright: update copyright dates for 2020 (#14328) 2019-12-30 22:36:56 -08:00
argparsewriter.py Use spack commands --format=bash to generate shell completion (#14393) 2020-01-22 21:31:12 -08:00
filesystem.py Use shutil.copy2 in install_tree (#15058) 2020-02-19 23:09:26 -06:00
lang.py copyright: update copyright dates for 2020 (#14328) 2019-12-30 22:36:56 -08:00
link_tree.py copyright: update copyright dates for 2020 (#14328) 2019-12-30 22:36:56 -08:00
lock.py Distributed builds (#13100) 2020-02-19 00:04:22 -08:00
multiproc.py copyright: update copyright dates for 2020 (#14328) 2019-12-30 22:36:56 -08:00