Skip to content

Conversation

@Xophmeister
Copy link
Member

@Xophmeister Xophmeister commented Feb 5, 2025

Investigate and fix parallel grammar builds on Windows

References #868

Description

For reasons, the MSVC linker does not like building multiple grammars concurrently and it hits a race condition 🤷 It's not at all clear why this happens, so the best we can do for the time being is stick a plaster over the problem: No concurrent grammar builds on Windows.

Checklist

Checklist before merging, wherever relevant:

@Xophmeister
Copy link
Member Author

Forcing prefetch to build grammars serially in Windows certainly seems to fix the problem. It's not clear why it should be a problem at all, though 🤷

@Xophmeister Xophmeister marked this pull request as ready for review February 5, 2025 18:22
@Xophmeister Xophmeister merged commit f96e12c into main Feb 10, 2025
10 checks passed
@Xophmeister Xophmeister deleted the chris/fix/windows-parallel-grammar-build branch February 10, 2025 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants