From 0c8c7e9371d11972f4a6012ef503ef3057c91364 Mon Sep 17 00:00:00 2001 Message-Id: <0c8c7e9371d11972f4a6012ef503ef3057c91364.1687459454.git.zimon.toutoune@gmail.com> From: Simon Tournier Date: Thu, 22 Jun 2023 20:31:26 +0200 Subject: [PATCH v3 1/2] gnu: openblas-ilp64: Install symlink to libopenblas. * gnu/packages/maths.scm (openblas-ilp64)[arguments]: Add phases for installing symlink to libopenblas. --- gnu/packages/maths.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index f5a2181905..5c39ab8b94 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -4646,7 +4646,13 @@ (define-public openblas-ilp64 (substitute-keyword-arguments (package-arguments openblas) ((#:make-flags flags #~'()) #~(append (list "INTERFACE64=1" "LIBNAMESUFFIX=ilp64") - #$flags)))) + #$flags)) + ((#:phases phases) + #~(modify-phases #$phases + (add-after 'install 'install-symlink + (lambda _ + (symlink "libopenblas_ilp64.so" + (string-append #$output "/lib/libopenblas.so")))))))) (synopsis "Optimized BLAS library based on GotoBLAS (ILP64 version)") (license license:bsd-3))) base-commit: 37c2e94cec6cb8b5e0e93e7b6c712c3b187ca5db -- 2.38.1