Skip to content

Commit 434cad4

Browse files
Fix platform-specific MKLLUFactorization JET test behavior
MKLLUFactorization JET test behavior is platform-specific: - Linux + Julia < 1.12: Has runtime dispatch in BLAS logging → mark as broken - macOS + any Julia version: Passes → expect to pass - All platforms + Julia >= 1.12: Passes due to improved type inference → expect to pass This fixes the "Unexpected Pass" error on macOS LTS while correctly handling the runtime dispatch issues on Linux LTS. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent d4b6851 commit 434cad4

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

test/nopre/jet.jl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,11 @@ end
9797

9898
# Platform-specific factorizations (may not be available on all systems)
9999
if @isdefined(MKLLUFactorization)
100-
# MKLLUFactorization has runtime dispatch in BLAS logging on Julia < 1.12
101-
# Passes on Julia 1.12+ due to improved type inference
102-
if VERSION < v"1.12.0-"
100+
# MKLLUFactorization has platform-specific JET behavior:
101+
# - Linux + Julia < 1.12: runtime dispatch in BLAS logging (broken)
102+
# - macOS/other + any version: passes
103+
# - All platforms + Julia >= 1.12: passes (improved type inference)
104+
if Sys.islinux() && VERSION < v"1.12.0-"
103105
JET.@test_opt solve(prob, MKLLUFactorization()) broken=true
104106
else
105107
JET.@test_opt solve(prob, MKLLUFactorization())

0 commit comments

Comments
 (0)