From ab6451ae660a5ec93afc212e224c92440c54dca7 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 7 Apr 2024 17:34:17 +0200 Subject: [PATCH] package/openblas: fix build Fix the following build failure raised since bump to version 0.3.27 in commit 59b48b5cff057f2429b1143d6f50c39d93ca8ef3: /bin/sh: ./xccblat3_3m: No such file or directory Fixes: 59b48b5cff057f2429b1143d6f50c39d93ca8ef3 - http://autobuild.buildroot.org/results/52acc2d95bbc07155b9d446ab8625f9c9eb81b52 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle --- ...-should-not-be-run-in-cross-compiles.patch | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 package/openblas/0002-fix-position-of-endif-gemm3m-tests-should-not-be-run-in-cross-compiles.patch 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 + + +