Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate and fix parallel grammar builds on Windows #869

Merged
merged 4 commits into from
Feb 10, 2025

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
.github/workflows/ci.yml Show resolved Hide resolved
@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.

2 participants