BenchmarkCI.jl icon indicating copy to clipboard operation
BenchmarkCI.jl copied to clipboard

Remove the use of Base.libm_name

Open ViralBShah opened this issue 3 years ago • 0 comments

We'll be removing Base.libm_name in Julia 1.9, and eventually remove OpenLibm from base.

https://github.com/JuliaLang/julia/pull/42299

To continue using OpenLibm, simply use OpenLibm_jll explicitly in your Project.toml, and this recipe should allow you to keep using libm_name as before:

using OpenLibm_jll
libm_name = OpenLibm_jll.libopenlibm

If you are using libm_name mainly for informational purposes, it can be deleted, since Julia uses its native implementation for most libm functions, and will default to system libm when necessary.

ViralBShah avatar Jul 14 '22 00:07 ViralBShah