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

i#5888: Avoid fatal error on lib copy collision #7264

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

derekbruening
Copy link
Contributor

@derekbruening derekbruening commented Feb 9, 2025

Switches from "cmake -E copy" to "cmake -E copy_if_different" for the Windows library copies used for API standalone tests. We have seen sporadic fatal errors from drconfiglib.dll failing to copy, presumably because another rule already copied it. It has proven difficult to figure out which rules are colliding, so we solve this by making it a non-fatal error.

Fixes #5888

Switches from "cmake -E copy" to "cmake -E copy_if_different" for the
Windows library cop[ies used for API standalone tests.  We have seem
sporadic fatal errors from drconfiglib.dll failing to copy, presumably
because another rule already copied it.  It has proven difficult to
figure out which rules are colliding, so we solve this by making it a
non-fatal error.

Fixes #5888
@derekbruening derekbruening requested a review from edeiana February 9, 2025 17:39
Copy link
Contributor

@edeiana edeiana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: s/cop[ies/copies in the PR description.

@derekbruening
Copy link
Contributor Author

typo: s/cop[ies/copies in the PR description.

Fixed.

@derekbruening derekbruening merged commit e73f0bc into master Feb 10, 2025
19 checks passed
@derekbruening derekbruening deleted the i5888-copy-collision branch February 10, 2025 03:46
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.

Windows 32b failure: Error copying file drconfiglib.dll
2 participants