-
Notifications
You must be signed in to change notification settings - Fork 378
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
Compling with musl libc (Alpine Linux) #4373
Labels
Comments
This was referenced Mar 14, 2025
There is a bit more:
(see runner in #4375) |
And a potential bug:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Compiling with alpine/musl libc, which is a common libc used in Python & Docker environments, does not support exception management
fegetexcept
,feenableexcept
,fedisableexcept
. They seem to be GNU-only.We need to guard the respective functions in
AMReX.cpp
with the GNU libc macroHAVE_FEDISABLEEXCEPT
(double check name, we can also use other checks to make sure GNU libc is used/not used).Error message:
Seen in https://github.com/BLAST-ImpactX/impactx-wheels
The text was updated successfully, but these errors were encountered: