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

[Xcode] Fix race condition when generating IDLFileNamesList.txt #5516

Merged

Conversation

emw-apple
Copy link
Contributor

@emw-apple emw-apple commented Oct 18, 2022

244ca6a

[Xcode] Fix race condition when generating IDLFileNamesList.txt
https://bugs.webkit.org/show_bug.cgi?id=246718

Reviewed by Dean Jackson.

Change WebCore's DerivedSources.make to only generate
IDLFileNamesList.txt *once*, before any invocations of
preprocess-idls.pl. This fixes a race condition where one instance of
preprocess-idls is reading the file while another Make thread is
(unnecessarily) regenerating it.

* Source/WebCore/DerivedSources-output.xcfilelist:
* Source/WebCore/DerivedSources.make:

Canonical link: https://commits.webkit.org/255709@main

3599de2

Misc iOS, tvOS & watchOS macOS Linux Windows
βœ… πŸ§ͺ style βœ… πŸ›  ios βœ… πŸ›  mac βœ… πŸ›  wpe   πŸ›  πŸ§ͺ win
βœ… πŸ§ͺ bindings βœ… πŸ›  ios-sim βœ… πŸ›  mac-debug βœ… πŸ›  gtk   πŸ›  wincairo
βœ… πŸ§ͺ webkitperl   πŸ§ͺ ios-wk2 βœ… πŸ›  mac-AS-debug βœ… πŸ§ͺ gtk-wk2
βœ… πŸ§ͺ api-ios ⏳ πŸ§ͺ api-mac ⏳ πŸ§ͺ api-gtk
βœ… πŸ›  tv ⏳ πŸ§ͺ mac-wk1
βœ… πŸ›  tv-sim ⏳ πŸ§ͺ mac-wk2
βœ… πŸ›  πŸ§ͺ merge βœ… πŸ›  watch   πŸ§ͺ mac-AS-debug-wk2
βœ… πŸ›  watch-sim βœ… πŸ§ͺ mac-wk2-stress

@emw-apple emw-apple self-assigned this Oct 18, 2022
@emw-apple emw-apple added Tools / Tests Tools in the Tools directory, build issues, test infrastructure, and bugs in test cases WebKit Nightly Build labels Oct 18, 2022
@emw-apple emw-apple force-pushed the eng/fix-idl-names-race-condition branch from 25e778e to 3599de2 Compare October 18, 2022 23:00
@emw-apple emw-apple added the merge-queue Applied to send a pull request to merge-queue label Oct 19, 2022
https://bugs.webkit.org/show_bug.cgi?id=246718

Reviewed by Dean Jackson.

Change WebCore's DerivedSources.make to only generate
IDLFileNamesList.txt *once*, before any invocations of
preprocess-idls.pl. This fixes a race condition where one instance of
preprocess-idls is reading the file while another Make thread is
(unnecessarily) regenerating it.

* Source/WebCore/DerivedSources-output.xcfilelist:
* Source/WebCore/DerivedSources.make:

Canonical link: https://commits.webkit.org/255709@main
@webkit-commit-queue
Copy link
Collaborator

Committed 255709@main (244ca6a): https://commits.webkit.org/255709@main

Reviewed commits have been landed. Closing PR #5516 and removing active labels.

@webkit-commit-queue webkit-commit-queue merged commit 244ca6a into WebKit:main Oct 19, 2022
@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tools / Tests Tools in the Tools directory, build issues, test infrastructure, and bugs in test cases
Projects
None yet
4 participants