-
Notifications
You must be signed in to change notification settings - Fork 380
Fix intermittent build failure on examples #9101
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
Fix intermittent build failure on examples #9101
Conversation
|
Fixes #9037 |
3b978bf to
2f55587
Compare
expipiplus1
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There seems to be a huge amount of duplicated code between these files, can we factor this out please?
You are right. |
2f55587 to
4175f1d
Compare
|
Fixes #9037 |
4175f1d to
85ca965
Compare
The previous fix (removing CONFIGURE_DEPENDS) was insufficient because all examples still shared a single generate.stamp file, causing race conditions during parallel builds on Windows. This gives each example its own CMakeLists.txt subdirectory with isolated generate.stamp files, eliminating the contention completely. Verified with 10 consecutive successful builds.
85ca965 to
d50a013
Compare
The previous fix (removing CONFIGURE_DEPENDS), PR 9059, was insufficient because all examples still shared a single generate.stamp file, causing race conditions during parallel builds on Windows.
This gives each example its own CMakeLists.txt subdirectory with isolated generate.stamp files, eliminating the contention completely. Verified with 10 consecutive successful builds.