Use Base's MPFR library name in `ccall` by KristofferC · Pull Request #562 · JuliaMath/SpecialFunctions.jl · GitHub
Skip to content

Use Base's MPFR library name in ccall - #562

Merged
devmotion merged 4 commits into
JuliaMath:masterfrom
KristofferC:kc/base-lib-names
Oct 22, 2026
Merged

devmotion merged 4 commits into
JuliaMath:masterfrom
KristofferC:kc/base-lib-names

Conversation

@KristofferC

Copy link
Copy Markdown
Member

Julia 1.14 on Windows no longer installs the unversioned libmpfr.dll, only libmpfr-6.dll, so a ccall into :libmpfr fails with could not load library there (JuliaLang/julia#63849). Use Base.MPFR.libmpfr, which names the library that Base itself loads.

🤖 Generated with Claude Code

Julia 1.14 on Windows no longer installs the unversioned `libmpfr.dll`, only `libmpfr-6.dll`, so a `ccall` into `:libmpfr` fails with `could not load library` there (JuliaLang/julia#63849). Use `Base.MPFR.libmpfr`, which names the library that Base itself loads.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@devmotion

Copy link
Copy Markdown
Member

@codecov

codecov Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 94.11765% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 94.61%. Comparing base (b2a7190) to head (1ebf68b).

Files with missing lines Patch % Lines
src/bessel.jl 85.71% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #562      +/-   ##
==========================================
- Coverage   94.67%   94.61%   -0.07%     
==========================================
  Files          14       14              
  Lines        3023     3025       +2     
==========================================
  Hits         2862     2862              
- Misses        161      163       +2     
Flag Coverage Δ
unittests 94.61% <94.11%> (-0.07%) ⬇️

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

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@devmotion
devmotion merged commit b19018a into JuliaMath:master Oct 22, 2026
13 of 15 checks passed
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.

2 participants