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

Merged

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

Fix cereal messaging tests
More shm updates for macos
@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

Copy link
Contributor

github-actions bot commented Dec 4, 2024

This PR has had no activity for 9 days. It will be automatically closed in 2 days if there is no activity.

@github-actions github-actions bot added the stale label Dec 4, 2024
@adeebshihadeh
Copy link
Contributor

Thanks! Feel free to open up a macOS issue and throw complaints in there until it's in a good state, similar to the old new Cabana discussion.

@adeebshihadeh adeebshihadeh merged commit 8f7bbe4 into commaai:master Dec 4, 2024
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants