Skip to content

workaround for macOS Xcode CI issues#567

Open
paolopas wants to merge 10 commits intobfgroup:mainfrom
paolopas:macches
Open

workaround for macOS Xcode CI issues#567
paolopas wants to merge 10 commits intobfgroup:mainfrom
paolopas:macches

Conversation

@paolopas
Copy link
Contributor

@paolopas paolopas commented Mar 17, 2026

What's wrong with macOS Xcode 16.4 ?

My conclusion is that this is a problem with Python's concurrent.futures.ProcessPoolExecutor(max_workers=None) when running the grep (multithreaded) test. This causes the interpreter to hang and the tests to time out.

The changes to the test/test_all.py file alone are enough to work around the problem, it's simply a matter of moving the grep test into the exclusive_test group, so that it is executed by ProcessPoolExecutor(max_workers=1).

However, the new implementation of exec_cmd is more secure than the previous one, in the management of pipe file descriptors (used for IPC), in error checking and also in process signals management.

Changes to BoostBuild.py should be already in the main and have no impact.

@paolopas paolopas marked this pull request as draft March 17, 2026 18:09
@paolopas paolopas marked this pull request as ready for review March 18, 2026 06:24
@paolopas paolopas changed the title experimental alternate exec_cmd in execunix.cpp safer exec_cmd in execunix.cpp Mar 18, 2026
std::threds related macOS Xcode CI issues
@paolopas paolopas marked this pull request as draft March 19, 2026 10:11
@paolopas paolopas changed the title safer exec_cmd in execunix.cpp workaround for macOS Xcode CI issues Mar 19, 2026
@paolopas paolopas marked this pull request as ready for review March 19, 2026 15:42
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.

1 participant