package/openblas: bump to version 0.3.6
PATCH 1/1 package/openblas: bump to version 0.3.6
- Remove second and third patches (already in version)
- Add an upstream patch to fix build with glibc < 2.5
Signed-off-by Fabrice Fontaine <[email protected]>
--- ...-argument-of-CPU_ISSET-for-glibc-2-5.patch | 36 +++++++++ ...REREQ-checks-to-avoid-breaking-non-g.patch | 73 ------------------- ...d-when-__GLIBC_PREREQ-is-not-defined.patch | 45 ------------ package/openblas/openblas.hash | 2 +- package/openblas/openblas.mk | 2 +- 5 files changed, 38 insertions(+), 120 deletions(-) create mode 100644 package/openblas/0002-Correct-argument-of-CPU_ISSET-for-glibc-2-5.patch delete mode 100644 package/openblas/0002-Rework-__GLIBC_PREREQ-checks-to-avoid-breaking-non-g.patch delete mode 100644 package/openblas/0003-Fix-build-when-__GLIBC_PREREQ-is-not-defined.patch
package/openblas/0002-Correct-argument-of-CPU_ISSET-for-glibc-2-5.patch new file +36 -0
@@ -0,0 +1,36 @@ +From b43c8382c885551b0f230c8493e79bf04d94e366 Mon Sep 17 00:00:00 2001 +From: Martin Kroeker <[email protected]> +Date: Wed, 1 May 2019 10:46:46 +0200 +Subject: [PATCH] Correct argument of CPU_ISSET for glibc <2.5 + +fixes #2104 + +Signed-off-by: Fabrice Fontaine <[email protected]> +[Retrieved from: +https://github.com/xianyi/OpenBLAS/commit/b43c8382c885551b0f230c8493e79bf04d94e366] +--- + driver/others/memory.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/driver/others/memory.c b/driver/others/memory.c +index ac8545f35..db14cde02 100644 +--- a/driver/others/memory.c ++++ b/driver/others/memory.c +@@ -229,7 +229,7 @@ int get_num_procs(void) { + n=0; + #if !__GLIBC_PREREQ(2, 6) + for (i=0;i<nums;i++) +- if (CPU_ISSET(i,cpuset)) n++; ++ if (CPU_ISSET(i,&cpuset)) n++; + nums=n; + #else + nums = CPU_COUNT(sizeof(cpuset),&cpuset); +@@ -1772,7 +1772,7 @@ int get_num_procs(void) { + n=0; + #if !__GLIBC_PREREQ(2, 6) + for (i=0;i<nums;i++) +- if (CPU_ISSET(i,cpuset)) n++; ++ if (CPU_ISSET(i,&cpuset)) n++; + nums=n; + #else + nums = CPU_COUNT(sizeof(cpuset),&cpuset);
package/openblas/0002-Rework-__GLIBC_PREREQ-checks-to-avoid-breaking-non-g.patch deleted +0 -73
73 lines not on this page · raw message
package/openblas/0003-Fix-build-when-__GLIBC_PREREQ-is-not-defined.patch deleted +0 -45
45 lines not on this page · raw message
package/openblas/openblas.hash +1 -1
@@ -1,3 +1,3 @@ # Locally calculated -sha256 5ef38b15d9c652985774869efd548b8e3e972e1e99475c673b25537ed7bcf394 openblas-v0.2.20.tar.gz +sha256 e64c8fe083832ffbc1459ab6c72f71d53afd3b36e8497c922a15a06b72e9002f openblas-v0.3.6.tar.gz sha256 190b5a9c8d9723fe958ad33916bd7346d96fab3c5ea90832bb02d854f620fcff LICENSE
package/openblas/openblas.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -OPENBLAS_VERSION = v0.2.20 +OPENBLAS_VERSION = v0.3.6 OPENBLAS_SITE = $(call github,xianyi,OpenBLAS,$(OPENBLAS_VERSION)) OPENBLAS_LICENSE = BSD-3-Clause OPENBLAS_LICENSE_FILES = LICENSE
Signature · 1 line
2.20.1
PATCH 1/1 package/openblas: bump to version 0.3.6
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fabrice" == Fabrice Fontaine <[email protected]> writes:
- Remove second and third patches (already in version)
- Add an upstream patch to fix build with glibc < 2.5Signed-off-by Fabrice Fontaine <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard