Mercurial > mxe-octave
view src/mingw-lapack-1-xerbla.patch @ 5978:1569a1d140ae
octave-launch: Set number of OpenBLAS threads to number of cores (bug #61208).
* installer-files/octave-launch.c (get_num_physical_cores): New function to get
number of physical processor cores.
(wmain): Set OPENBLAS_NUM_THREADS to number of physical processor cores for
performance.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Thu, 25 Nov 2021 18:37:52 +0100 |
parents | 6777c50b3249 |
children |
line wrap: on
line source
diff -ur lapack-3.8.0.orig/SRC/CMakeLists.txt lapack-3.8.0/SRC/CMakeLists.txt --- lapack-3.8.0.orig/SRC/CMakeLists.txt 2018-11-07 11:53:43.333467954 -0500 +++ lapack-3.8.0/SRC/CMakeLists.txt 2018-11-07 11:55:33.212104761 -0500 @@ -37,7 +37,7 @@ set(ALLAUX ilaenv.f ilaenv2stage.f ieeeck.f lsamen.f iparmq.f iparam2stage.F ilaprec.f ilatrans.f ilauplo.f iladiag.f chla_transtype.f la_xisnan.F90 - ../INSTALL/ilaver.f ../INSTALL/lsame.f xerbla.f xerbla_array.f + ../INSTALL/ilaver.f ../INSTALL/lsame.f xerbla_array.f ../INSTALL/slamch.f) set(SCLAUX diff -ur lapack-3.8.0.orig/SRC/Makefile lapack-3.8.0/SRC/Makefile --- lapack-3.8.0.orig/SRC/Makefile 2018-11-07 11:53:43.337468050 -0500 +++ lapack-3.8.0/SRC/Makefile 2018-11-07 11:56:19.701220847 -0500 @@ -69,7 +69,7 @@ .o.mod: @true -ALLAUX = ilaenv.o ilaenv2stage.o ieeeck.o lsamen.o xerbla.o xerbla_array.o \ +ALLAUX = ilaenv.o ilaenv2stage.o ieeeck.o lsamen.o xerbla_array.o \ iparmq.o iparam2stage.o la_xisnan.o \ ilaprec.o ilatrans.o ilauplo.o iladiag.o chla_transtype.o \ ../INSTALL/ilaver.o ../INSTALL/lsame.o ../INSTALL/slamch.o