From 8b834fc5945cd5154218a4d5117101eae7ff9501 Mon Sep 17 00:00:00 2001 From: Alexis Montoison Date: Tue, 9 May 2023 23:24:21 -0400 Subject: [PATCH] Add blis32_jll --- Project.toml | 4 +++- src/BLISBLAS.jl | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index a8ae28d..9e2d47a 100644 --- a/Project.toml +++ b/Project.toml @@ -5,11 +5,13 @@ version = "0.1.0" [deps] LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" +blis32_jll = "e47b3055-b30e-52b1-9cd4-aea7f6c39f40" blis_jll = "6136c539-28a5-5bf0-87cc-b183200dce32" [compat] +blis32_jll = "0.9" blis_jll = "0.9" -julia = "1" +julia = "1.6" [extras] LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" diff --git a/src/BLISBLAS.jl b/src/BLISBLAS.jl index 3e4d2ac..45e2393 100644 --- a/src/BLISBLAS.jl +++ b/src/BLISBLAS.jl @@ -1,5 +1,6 @@ module BLISBLAS +using blis32_jll using blis_jll using LinearAlgebra @@ -16,6 +17,11 @@ function set_num_threads(nthreads) end function __init__() + if blis32_jll.is_available() + BLAS.lbt_forward(blis32, clear=false) + else + @warn("blis32_jll artifact doesn't seem to be available for your platform!") + end if blis_jll.is_available() BLAS.lbt_forward(blis, clear=false) else