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

Mac allow system ucontext #92

Merged
merged 3 commits into from
Sep 8, 2021

Conversation

janciesko
Copy link
Collaborator

Removes case block in m4 file. This allows to use ucontext on Macs and removes the requirement to use fast context on all Macs. Using fast context is current unsupported on M1 Macs. This resolves the compilation error.

@olivier-snl
Copy link
Collaborator

@janciesko The tests are failing because we also need to remove the end of the case statement.

@olivier-snl
Copy link
Collaborator

These changes look good. Please check on x86 mac to be sure we didn't mess anything up there -- with no switch to enable or disable fast context it should default to fast context.

I will check on m1 mac.

@olivier-snl
Copy link
Collaborator

These changes look good. Please check on x86 mac to be sure we didn't mess anything up there -- with no switch to enable or disable fast context it should default to fast context.

I will check on m1 mac.

Just tested on m1 and looks good. Please check on x86 mac to be sure fast context is still used there (and working) by default and also when configured with enable fast context flag set.

@janciesko
Copy link
Collaborator Author

Checked and confirming.

@janciesko janciesko merged commit ea6ca7e into sandialabs:main Sep 8, 2021
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.

None yet

2 participants