-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
sleef: Also build inline headers #88923
Conversation
As described in https://sleef.org/compile.xhtml#inline. This generates _additional_ header files (rather than modifying the standard ones). So, IMHO I see no reason not to enable it by default, since they can simply be ignored by users who don't need them. I assume this option disabled by default because it increases the build time.
I don't think the CI failures are related to my change, but I could be mistaken. I'm not sure if this formula supports ARM? The last PR for sleef appeared to pass CI, but it didn't run any tests on ARM: |
Why aren't the inline headers built by default?
That's true, but that PR was made in September last year. ARM macOS was released in November. |
I don't really have a good answer for this. This is the documentation I can find regarding this feature:
Gotcha. So, what happens if this library doesn't support ARM? |
We should find out why the developers don't enable this by default -- they probably have a good reason for it. It doesn't seem like this should add too much extra compilation time. As for ARM, we can ignore the build failure for now, but it would be good to report this upstream so that they're aware of the incompatibility (if they're not already). |
Actually, I think that is exactly the reason. See: shibatch/sleef#283 (comment)
There is this open issue: Does this address your concerns? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good to me. Thanks for your contribution, @armanbilge!
Incidentally, the error reported at shibatch/sleef#425 is slightly different, but I've posted there with the errors we encountered. |
As described in https://sleef.org/compile.xhtml#inline.
This generates additional header files (rather than changing the standard ones). So, IMHO I see no reason not to enable it, since they can simply be ignored by users who don't need them. I assume this option disabled by default because it increases the build time.
brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew test <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingbrew install --build-from-source <formula>
)? If this is a new formula, does it passbrew audit --new <formula>
?