ports/lang/julia/files/patch-stdlib_LinearAlgebra_test_blas.jl
Hiroo Ono 7c2e16a817 lang/julia: update to 1.10.5
Release notes at
	https://discourse.julialang.org/t/julia-v1-10-5-has-been-released/118720

Also:
- reorganize some lines to pet portlint
- regenerate the patches
- don’t depend on suitesparse-config but on UMFPACK (including CHOLMOD) and SPQR
- replace mbedtls2 by mbedtls3 and remove deprecation
- allow to upgrade gmp and mpfr from Makefile
- fix USE_LDCONFIG
- apply the patch from PR 286169
- add a pkg-message about certificate error.

PR:		281237 + 286169
Reported by:	Hiroo Ono <hiroo.ono+freebsd (at) gmail.com> and Trond Endrestøl <Trond.Endrestol (at) ximalas.info>
2025-05-18 18:42:44 +02:00

14 lines
720 B
Julia

--- stdlib/LinearAlgebra/test/blas.jl.orig 2024-08-27 21:19:31 UTC
+++ stdlib/LinearAlgebra/test/blas.jl
@@ -730,7 +730,9 @@ 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_" : ""))
+ # openblas does not implement cblas_ddot64_.
+ # dot_sym = dlsym(dlopen(Base.libblas_name), "cblas_ddot" * (Sys.WORD_SIZE == 64 ? "64_" : ""))
+ dot_sym = dlsym(dlopen(Base.libblas_name), "cblas_ddot")
@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