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

catch NotImplementedError thrown by multiprocessing.Queue().qsize() on macOS #11

Merged

Conversation

utaal
Copy link
Contributor

@utaal utaal commented Jul 27, 2023

Partly addresses #10.

the multiprocessing docs say:

Note that this may raise NotImplementedError on Unix platforms like macOS where sem_getvalue() is not implemented.

Note that this isn't sufficient for Mariposa to run on macOS / Apple Silicon: the binaries in solvers/ are x86-64 Linux executables (ELF 64-bit LSB pie executable, x86-64, version 1 (GNU/Linux)). You may not want to merge this if you don't consider macOS a supported platform. However, I manually replaced the z3 binary with an ARM macOS one and Mariposa worked on my machine (after installing dependencies as described here: #10).

…n macOS

the multiprocessing docs say:

> Note that this may raise NotImplementedError on Unix platforms like macOS where sem_getvalue() is not implemented.
@utaal utaal force-pushed the multiprocessing-qsize-macos branch from c874fe6 to e195b5c Compare July 27, 2023 10:24
@yizhou7 yizhou7 merged commit 438484d into secure-foundations:master Jul 30, 2023
@utaal utaal deleted the multiprocessing-qsize-macos branch July 30, 2023 15:00
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.

2 participants