Skip to content

Adapt to JuliaLang/julia#60988: add JD parameter to JIT API#557

Merged
maleadt merged 2 commits into
masterfrom
vc/orcapi-jd
May 12, 2026
Merged

Adapt to JuliaLang/julia#60988: add JD parameter to JIT API#557
maleadt merged 2 commits into
masterfrom
vc/orcapi-jd

Conversation

@vchuravy
Copy link
Copy Markdown
Collaborator

@vchuravy vchuravy commented May 7, 2026

Comment thread lib/libLLVM_julia.jl Outdated
@codecov
Copy link
Copy Markdown

codecov Bot commented May 7, 2026

Codecov Report

❌ Patch coverage is 90.00000% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/orc.jl 90.00% 1 Missing ⚠️
@@            Coverage Diff             @@
##           master     #557      +/-   ##
==========================================
+ Coverage   85.90%   85.96%   +0.05%     
==========================================
  Files          47       47              
  Lines        2980     2985       +5     
==========================================
+ Hits         2560     2566       +6     
+ Misses        420      419       -1     
Files with missing lines Coverage Δ
src/deprecated.jl 0.00% <ø> (ø)
src/orc.jl 79.70% <90.00%> (+<0.01%) ⬆️

... and 2 files with indirect coverage changes

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

vchuravy and others added 2 commits May 12, 2026 13:38
JLJITGetExternalJITDylib is replaced by JLJITCreateJITDylib (creates a
fresh JITDylib linked to GlobalJD/SessionJD), and JLJITLookup is replaced
by JLJITJDLookup which takes an explicit JITDylib.

The public API is made consistent across Julia versions: lookup always
requires a JITDylib argument. On pre-1.13 Julia the JD is accepted but
internally ignored (the old symbol-table search is used). On 1.13+ the JD
is passed through to the new API. The old no-JD lookup(jljit, name) is
deprecated on pre-1.13 Julia and removed on 1.13+.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@maleadt maleadt marked this pull request as ready for review May 12, 2026 11:53
@maleadt maleadt merged commit 5798773 into master May 12, 2026
33 of 34 checks passed
@maleadt maleadt deleted the vc/orcapi-jd branch May 12, 2026 12:03
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