From fe33807d28ba6c0f68dc308de770399bcef7d919 Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Sun, 28 Jul 2024 16:02:38 -0400 Subject: [PATCH] Don't default to MKL on EPYC --- Project.toml | 1 + src/LinearSolve.jl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 6fcabb6a..66af337d 100644 --- a/Project.toml +++ b/Project.toml @@ -7,6 +7,7 @@ version = "2.30.2" ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9" ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4" ConcreteStructs = "2569d6c7-a4a2-43d3-a901-331e8e4be471" +CpuId = "adafc99b-e345-5852-983c-f28acb93d879" DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae" EnumX = "4e289a0a-7415-4d19-859d-a7e5c4648b56" FastLapackInterface = "29a986be-02c6-4525-aec4-84b980013641" diff --git a/src/LinearSolve.jl b/src/LinearSolve.jl index 894c6e0d..053eb8c1 100644 --- a/src/LinearSolve.jl +++ b/src/LinearSolve.jl @@ -44,7 +44,7 @@ import PrecompileTools const CRC = ChainRulesCore -if Preferences.@load_preference("LoadMKL_JLL", true) +if Preferences.@load_preference("LoadMKL_JLL", !occursin("EPYC", cpubrand())) using MKL_jll const usemkl = MKL_jll.is_available() else