diff --git a/package/openblas/0002-fix-position-of-endif-gemm3m-tests-should-not-be-run-in-cross-compiles.patch b/package/openblas/0002-fix-position-of-endif-gemm3m-tests-should-not-be-run-in-cross-compiles.patch new file mode 100644 index 0000000000..44883b2c26 --- /dev/null +++ b/package/openblas/0002-fix-position-of-endif-gemm3m-tests-should-not-be-run-in-cross-compiles.patch @@ -0,0 +1,33 @@ +From 48e017de095018c60d83355804a3075658b4970c Mon Sep 17 00:00:00 2001 +From: Martin Kroeker +Date: Fri, 5 Apr 2024 22:54:34 +0200 +Subject: [PATCH] fix position of endif - gemm3m tests should not be run in + cross-compiles + +Upstream: https://github.com/OpenMathLib/OpenBLAS/commit/48e017de095018c60d83355804a3075658b4970c +Signed-off-by: Fabrice Fontaine +--- + ctest/Makefile | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/ctest/Makefile b/ctest/Makefile +index bbaf96f8ed..6c7cc1ed56 100644 +--- a/ctest/Makefile ++++ b/ctest/Makefile +@@ -203,7 +203,6 @@ ifeq ($(BUILD_COMPLEX16),1) + OPENBLAS_NUM_THREADS=2 ./xzcblat3 < zin3 + endif + endif +-endif + + ifeq ($(SUPPORT_GEMM3M),1) + ifeq ($(USE_OPENMP), 1) +@@ -222,7 +221,7 @@ ifeq ($(BUILD_COMPLEX16),1) + endif + endif + endif +- ++endif + + +