From c8696859e495cce977189d4157256c4c7f356b29 Mon Sep 17 00:00:00 2001 From: Chengyu HAN Date: Thu, 16 Jan 2025 15:41:17 +0800 Subject: [PATCH] test: use `BLAS.libblastrampoline` `Base.libblas_name` will be removed. xref: JuliaLang/julia#50699 --- test/blas.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/blas.jl b/test/blas.jl index 80494da7..ff1d8bab 100644 --- a/test/blas.jl +++ b/test/blas.jl @@ -776,7 +776,7 @@ end # Make sure we can use `Base.libblas_name`. Avoid causing # https://github.com/JuliaLang/julia/issues/48427 again. @testset "libblas_name" begin - dot_sym = dlsym(dlopen(Base.libblas_name), "cblas_ddot" * (Sys.WORD_SIZE == 64 ? "64_" : "")) + dot_sym = dlsym(dlopen(BLAS.libblastrampoline), "cblas_ddot" * (Sys.WORD_SIZE == 64 ? "64_" : "")) @test 23.0 === @ccall $(dot_sym)(2::Int, [2.0, 3.0]::Ref{Cdouble}, 1::Int, [4.0, 5.0]::Ref{Cdouble}, 1::Int)::Cdouble end