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

Use OpenLibm_jll instead of Base.libm #344

Merged
merged 1 commit into from
Sep 21, 2021
Merged

Use OpenLibm_jll instead of Base.libm #344

merged 1 commit into from
Sep 21, 2021

Conversation

ararslan
Copy link
Member

This avoids making the assumption that Base.libm exists, which it may not once Julia's dependency on openlibm is excised (cf. JuliaLang/julia#42299).

This avoids making the assumption that `Base.libm` exists, which it may
not once Julia's dependency on openlibm is excised.
@codecov
Copy link

codecov bot commented Sep 20, 2021

Codecov Report

Merging #344 (18022a7) into master (9b315eb) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #344      +/-   ##
==========================================
+ Coverage   92.59%   92.61%   +0.01%     
==========================================
  Files          12       12              
  Lines        2716     2722       +6     
==========================================
+ Hits         2515     2521       +6     
  Misses        201      201              
Flag Coverage Δ
unittests 92.61% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/SpecialFunctions.jl 100.00% <ø> (ø)
src/bessel.jl 93.51% <100.00%> (+0.02%) ⬆️
src/erf.jl 98.00% <100.00%> (+0.01%) ⬆️
src/gamma.jl 94.58% <100.00%> (+0.01%) ⬆️
src/gamma_inc.jl 92.62% <0.00%> (+0.01%) ⬆️
src/expint.jl 95.19% <0.00%> (+0.01%) ⬆️
src/betanc.jl 90.19% <0.00%> (+0.09%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9b315eb...18022a7. Read the comment docs.

@stevengj stevengj merged commit 5e59709 into master Sep 21, 2021
@stevengj stevengj deleted the aa/openlibm branch September 21, 2021 00:11
@ViralBShah
Copy link
Member

This is great! We should release a new version of the package.

@ararslan
Copy link
Member Author

Good idea. Is this technically a breaking change? It should be entirely invisible to most users except for those with a custom build that uses a different libm (e.g. MKL if MKL provides a libm implementation, I'm not very familiar with it).

@ViralBShah
Copy link
Member

ViralBShah commented Sep 21, 2021

This will not be a breaking change for this package. The custom MKL libm thing has not worked for a long time. It is in fact no longer in the julia build system.

The main purpose for having a new version is that it propagates through the package ecosystem, so that when we do it upstream in Julia and prepare for 1.8, things won't break.

@ararslan
Copy link
Member Author

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.

3 participants