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

macos: use /tmp instead of /dev/shm #34097

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

devtekve
Copy link
Contributor

@devtekve devtekve commented Nov 24, 2024

Some things (specially around tests) seem to rely on /dev/shm itself existing. OPENPILOT_PREFIX can't be used when ZMQ which is needed for macos... So I thought it'd be better to just give a path for the "/dev/shm" on macos on /tmp which is the closest we can get to it

This is NOT intended to bring msgq support into MacOS.

It is only intended to allow a more graceful approach as things around still seem to rely indirectly on the path /dev/shm even though you are using ZMQ

@devtekve devtekve changed the title Use /tmp instead of /dev/shm for MacOS macos: use /tmp instead of /dev/shm Nov 24, 2024
@devtekve devtekve marked this pull request as ready for review November 24, 2024 12:07
@deanlee
Copy link
Contributor

deanlee commented Nov 24, 2024

This is not the right way to support msgq on macOS. Additionally, the approach in commaai/msgq#635 is also incorrect.

@devtekve
Copy link
Contributor Author

devtekve commented Nov 24, 2024 via email

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