From a473d562ffdd745285fa6c82ba9a8d7e421e8bca Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 17 Sep 2023 21:12:35 +0200 Subject: [PATCH] gnu: openblas-ilp64: Add symbol suffix. * gnu/packages/maths.scm (openblas-ilp64)[arguments]<#:make-flags>: Add the symbol '64_' as suffix. --- gnu/packages/maths.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 62d4adfbd1..91133f721a 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -4635,7 +4635,10 @@ (define-public openblas-ilp64 (arguments (substitute-keyword-arguments (package-arguments openblas) ((#:make-flags flags #~'()) - #~(append (list "INTERFACE64=1" "LIBNAMESUFFIX=ilp64") + ;; These should be '64' but julia hardcodes '64_'. + #~(append (list "INTERFACE64=1" + "SYMBOLSUFFIX=64_" + "LIBPREFIX=libopenblas64_") #$flags)))) (synopsis "Optimized BLAS library based on GotoBLAS (ILP64 version)") (license license:bsd-3)))