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

Disable optimization for jobserver pipe #973

Closed
wants to merge 1 commit into from
Closed

Conversation

NobodyXu
Copy link
Collaborator

It could be the reason why the failure still happens in sfackler/rust-openssl#2184 (comment)

@chen-hongzhi
Copy link

It still fails in macOS and I have to manually set the CMAKE_BUILD_PARALLEL_LEVEL to the number of CPU cores to bypass this issue.

make[2]: *** read jobs pipe: Resource temporarily unavailable. Stop.

ohsayan added a commit to skytable/skytable that referenced this pull request Feb 25, 2024
OpenSSL fails to build on macOS due to issues with parallel builds.

Context:
- sfackler/rust-openssl#2184
- rust-lang/cc-rs#973
@NobodyXu
Copy link
Collaborator Author

Thanks, that's strange.

We only set O_NONBLOCK when cc is compiling and cleared that afterwards, so perhaps set_blocking fails to clear O_NONBLOCK

@NobodyXu NobodyXu closed this Feb 25, 2024
@NobodyXu NobodyXu deleted the NobodyXu-patch-1 branch February 25, 2024 06:44
@NobodyXu NobodyXu restored the NobodyXu-patch-1 branch February 27, 2024 12:17
@NobodyXu NobodyXu reopened this Feb 27, 2024
@NobodyXu

This comment was marked as outdated.

@NobodyXu NobodyXu marked this pull request as ready for review February 27, 2024 12:23
It could be the reason why the failure still happens in sfackler/rust-openssl#2184 (comment)
@NobodyXu
Copy link
Collaborator Author

Never mind, tried locally and it doesn't work

@NobodyXu NobodyXu closed this Feb 29, 2024
@NobodyXu NobodyXu deleted the NobodyXu-patch-1 branch February 29, 2024 11:38
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.

None yet

2 participants