# HG changeset patch # User Markus Mützel # Date 1713025802 -7200 # Node ID 2ec65af75357fb4c2dfa50ebace0d57bdd7fba73 # Parent 962a17e87a9844fb57f7a8d32972b5b306d3554a 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. diff -r 962a17e87a98 -r 2ec65af75357 dist-files.mk --- 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 \ diff -r 962a17e87a98 -r 2ec65af75357 src/mingw-openblas-1-xerbla.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 diff -r 962a17e87a98 -r 2ec65af75357 src/openblas-1-no-utest.patch --- /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