macos: use /tmp instead of /dev/shm #34097
Open
+27
−11
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 itThis 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