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

Older (< 6.0) versions of OMNeT++ are not working on macOS/aarch64 #26

Open
rhornig opened this issue Oct 30, 2024 · 0 comments
Open

Older (< 6.0) versions of OMNeT++ are not working on macOS/aarch64 #26

rhornig opened this issue Oct 30, 2024 · 0 comments
Assignees

Comments

@rhornig
Copy link
Contributor

rhornig commented Oct 30, 2024

Those versions were meant to run only on x86_64 and currently it is not possible to run opp_env in an emulated x86 shell because NIX itself is always an aarch64 process, so anything started from there also runs as aarch64.

As a first step, we must warn the user and throw an error if they install any project using <6.0 omnet on a macOS/aarch64 machine. (opp_env on native x86_64 machine should work just fine with older versions).

On long term, we may try to force NIX to use x86_64 as the system but we would still have to use an x86_64 build from NIX.

A third option would be to run in NIXLESS mode and manually switch to x86_64 mode (using the arch command) when opp_env executes/starts the build scripts.

@rhornig rhornig self-assigned this Oct 30, 2024
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

No branches or pull requests

1 participant