Open walbourn opened 5 months ago
@walbourn We've screened this as dormant and aren't likely to invest resources to fix it but would accept a PR. Can you provide some context for the priority of this issue?
We are pushing to get as many developer tools updated for long paths as possible. MSBuild supports long paths. CMake/Ninja support long paths. Since this codebase is LLVM based, it should be long path compatible without significant change.
@walbourn, unfortunately I don’t think that is quite true. DXC doesn’t use LLVM’s filesystem abstractions instead it inserted its own which are hand rolled.
DXC functions with long paths just fine when the manifest is forcibly injected, only tested up to 2000 characters though.
When long file paths are enabled on Windows 10 Version 1607 or later, DXC.EXE still fails to compile them.
In general the LLVM codebase supports very long file paths internally, so this is likely just a case of adding the following manifest to the binary.
For example: