Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize the handling of binary items
When writing large binary items (e.g. audio or video files), creating a hard links pointing to the original file makes the build a lot faster, and does not duplicate the data on disk. Hard linking will fail when the source file is not on the same device as the output directory (e.g. when /tmp is a tmpfs). In that case, fallback to the previous behavior which is slower, but should always work.
- Loading branch information