Skip to content

Commit fbbb16d

Browse files
Merge pull request #408 from SciML/mkl_default
Trigger MKL LBT by default
2 parents 7a7b80e + 6f15cba commit fbbb16d

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

.github/workflows/CI.yml

-3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ jobs:
2020
- Core
2121
version:
2222
- '1'
23-
- '1.6'
24-
- '1.7'
25-
- '1.8'
2623
include:
2724
- version: '1'
2825
group: 'LinearSolveHYPRE'

.github/workflows/Downstream.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
GROUP: ${{ matrix.package.group }}
1414
strategy:
1515
matrix:
16-
julia-version: [1,1.6]
16+
julia-version: [1]
1717
os: [ubuntu-latest]
1818
package:
1919
- {user: SciML, repo: OrdinaryDiffEq.jl, group: InterfaceII}

Project.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ KLU = "ef3ab10e-7fda-4108-b977-705223b18434"
1616
Krylov = "ba0b0d4f-ebba-5204-a429-3ac8c609bfb7"
1717
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
1818
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
19+
MKL = "33e6dc65-8f57-5167-99aa-e5a354878fb2"
1920
MKL_jll = "856f044c-d86e-5d09-b602-aeab76dc8ba7"
2021
PrecompileTools = "aea7be01-6a6a-4083-8856-8a6e6704d82a"
2122
Preferences = "21216c6a-2e73-6563-6e65-726566657250"
@@ -88,7 +89,7 @@ SparseArrays = "1.6"
8889
Sparspak = "0.3.6"
8990
SuiteSparse = "1.6"
9091
UnPack = "1"
91-
julia = "1.6"
92+
julia = "1.9"
9293

9394
[extras]
9495
BandedMatrices = "aae01518-5342-5314-be14-df237901396f"

src/LinearSolve.jl

+6
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ PrecompileTools.@recompile_invalidations begin
4242
using SciMLBase
4343

4444
using MKL_jll
45+
46+
import Preferences
47+
end
48+
49+
if VERSION >= v"1.8" && Preferences.@load_preference("TriggerMKLLBT", true)
50+
using MKL
4551
end
4652

4753
using Reexport

0 commit comments

Comments
 (0)