Mercurial > mxe-octave
changeset 7170:2ec65af75357
OpenBLAS: Disable utests for all target platforms if no CBLAS is built.
* openblas-1-no-utest.patch: Add new patch.
* mingw-openblas-1-xerbla.patch: Remove part of the patch that was moved to new
file.
* dist-files.mk: Add new file to list.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 13 Apr 2024 18:30:02 +0200 |
parents | 962a17e87a98 |
children | 63fcc61da276 |
files | dist-files.mk src/mingw-openblas-1-xerbla.patch src/openblas-1-no-utest.patch |
diffstat | 3 files changed, 16 insertions(+), 15 deletions(-) [+] |
line wrap: on
line diff
--- a/dist-files.mk Fri Apr 12 12:39:01 2024 -0400 +++ b/dist-files.mk Sat Apr 13 18:30:02 2024 +0200 @@ -559,6 +559,7 @@ openal-1-fixes.patch \ openal-test.c \ openal.mk \ + openblas-1-no-utest.patch \ openblas.mk \ opencore-amr.mk \ opencsg-1-fixes.patch \
--- a/src/mingw-openblas-1-xerbla.patch Fri Apr 12 12:39:01 2024 -0400 +++ b/src/mingw-openblas-1-xerbla.patch Sat Apr 13 18:30:02 2024 +0200 @@ -61,18 +61,3 @@ parameter.$(PSUFFIX) : parameter.c ../../param.h $(CC) $(PFLAGS) -c $< -o $(@F) -diff -u OpenBLAS-0.3.27.orig/Makefile OpenBLAS-0.3.27/Makefile ---- OpenBLAS-0.3.27.orig/Makefile 2024-04-08 12:41:16.789561544 -0400 -+++ OpenBLAS-0.3.27/Makefile 2024-04-08 12:46:51.778557670 -0400 -@@ -168,10 +168,10 @@ - $(MAKE) -C test all - endif - endif -+ifneq ($(NO_CBLAS), 1) - ifneq ($(ONLY_CBLAS), 1) - $(MAKE) -C utest all - endif --ifneq ($(NO_CBLAS), 1) - ifneq ($(ONLY_CBLAS), 1) - $(MAKE) -C ctest all - endif
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/openblas-1-no-utest.patch Sat Apr 13 18:30:02 2024 +0200 @@ -0,0 +1,15 @@ +diff -u OpenBLAS-0.3.27.orig/Makefile OpenBLAS-0.3.27/Makefile +--- OpenBLAS-0.3.27.orig/Makefile 2024-04-08 12:41:16.789561544 -0400 ++++ OpenBLAS-0.3.27/Makefile 2024-04-08 12:46:51.778557670 -0400 +@@ -168,10 +168,10 @@ + $(MAKE) -C test all + endif + endif ++ifneq ($(NO_CBLAS), 1) + ifneq ($(ONLY_CBLAS), 1) + $(MAKE) -C utest all + endif +-ifneq ($(NO_CBLAS), 1) + ifneq ($(ONLY_CBLAS), 1) + $(MAKE) -C ctest all + endif