[clang] [nvlink-wrapper] Use a symbolic link instead of copying the file (PR #110139)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 26 11:48:22 PDT 2024


jhuber6 wrote:

> @rnk Are symlinks OK to use on windows?

There's a caveat in the implementation stating that the links are soft on Linux but hard on Windows (as soft links require super-user privileges). I'm pretty sure a hard link also does the job here? Since all we need to do is give the same data a different filename.

https://github.com/llvm/llvm-project/pull/110139


More information about the cfe-commits mailing list