mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-13 11:30:35 +08:00
pythonPackages.kaldi-active-grammar: fix compatability with OpenBLAS v0.3.21
(cherry picked from commit 46c2da3f1e)
This commit is contained in:
committed by
github-actions[bot]
parent
78bb071a7f
commit
382eb08cb6
@@ -70,6 +70,20 @@ stdenv.mkDerivation rec {
|
||||
postPatch = ''
|
||||
# Replace the shebangs for the various build scripts
|
||||
patchShebangs src
|
||||
# Compatability with OpenBLAS 0.3.21
|
||||
substituteInPlace src/matrix/cblas-wrappers.h \
|
||||
--replace stptri_ LAPACK_stptri \
|
||||
--replace dtptri_ LAPACK_dtptri \
|
||||
--replace sgetrf_ LAPACK_sgetrf \
|
||||
--replace dgetrf_ LAPACK_dgetrf \
|
||||
--replace sgetri_ LAPACK_sgetri \
|
||||
--replace dgetri_ LAPACK_dgetri \
|
||||
--replace sgesvd_ LAPACK_sgesvd \
|
||||
--replace dgesvd_ LAPACK_dgesvd \
|
||||
--replace ssptri_ LAPACK_ssptri \
|
||||
--replace dsptri_ LAPACK_dsptri \
|
||||
--replace ssptrf_ LAPACK_ssptrf \
|
||||
--replace dsptrf_ LAPACK_dsptrf
|
||||
'';
|
||||
|
||||
configurePhase = ''
|
||||
|
||||
Reference in New Issue
Block a user