Skip to content

Commit

Permalink
Merge pull request #425 from SciML/ChrisRackauckas-patch-1
Browse files Browse the repository at this point in the history
add a separate preference for removing MKL_jll
  • Loading branch information
ChrisRackauckas authored Nov 8, 2023
2 parents 1c05968 + 1942efb commit b20e015
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/LinearSolve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -38,24 +38,25 @@ PrecompileTools.@recompile_invalidations begin

# wrap
import Krylov

using SciMLBase

using MKL_jll

import Preferences
end

if Preferences.@load_preference("TriggerMKLLBT", true)
using MKL
end

if Preferences.@load_preference("LoadMKL_JLL", true)
using MKL_jll
const usemkl = MKL_jll.is_available()
else
const usemkl = false
end

using Reexport
@reexport using SciMLBase
using SciMLBase: _unwrap_val

const usemkl = MKL_jll.is_available()

abstract type SciMLLinearSolveAlgorithm <: SciMLBase.AbstractLinearAlgorithm end
abstract type AbstractFactorization <: SciMLLinearSolveAlgorithm end
abstract type AbstractKrylovSubspaceMethod <: SciMLLinearSolveAlgorithm end
Expand Down

0 comments on commit b20e015

Please sign in to comment.