Hi Gizo,
This was a bug in the MakeCp easyblock, it was fixed recently, cfr.
https://github.com/hpcugent/easybuild-easyblocks/pull/959.
The fix will be included in the next EasyBuild release, but it should be
trivial to apply this patch to your EasyBuild installation if you need it.
regards,
Kenneth
On 22/06/16 10:56, [email protected] wrote:
Hi,
it seems the easyblock MakeCp does not preserve links when copying files from
the list files_to_copy to destination directory. I do not see that in its
source code either.
Eg.
files_to_copy = [.., (["src/*.so"], 'lib'), ..]
Here *.so consist of a file and a link referring to the file:
tree
.
├── liblammps_mpi.so
└── liblammps.so -> liblammps_mpi.so
However, after copying they now look as follows in the target dir.
tree
.
├── liblammps_mpi.so
└── liblammps.so
Does Makecp have some option for similar case?
Thank you.
Gizo