Description
Description
The swift compiler occasionally hangs during a build. This is seen more frequently on many-core (> 16 cores) machines, In particular AMD threadripper CPUs with 32 cores / 64 threads. There are several swiftc
processes that are left running and making no progress, with no (child) swift-frontend
processes, when it happens.
Reproduction
This happens in a large internal app build on Windows. In some particular AMD threadripper machines, it happens 100% of the time. We have seen something hang in other machines much less frequently, which may be the same issue.
Expected behavior
The build doesn't hang and finishes, as opposed to hanging forever.
Environment
Windows
Additional information
No response