openblas/fix-arm64-cpuid-return.patch
Dmitry Roshchin 48de63cb9e Accepting request 533655 from home:eeich:hpc_alt
- Generate baselib.conf dynamically and only for the non-HPC
  builds: this avoids issues with the source validator.

- Convert openblas to multibuild.
- Add HPC build using environment modules.
  (FATE#321708).
- fix-arm64-cpuid-return.patch
  Fix CPUID detection on ARM (From OHPC).

OBS-URL: https://build.opensuse.org/request/show/533655
OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=55
2017-10-16 15:00:39 +00:00

26 lines
584 B
Diff

From 63d4fcdecd40cb9eee8228680521ff93a80a8e11 Mon Sep 17 00:00:00 2001
From: Eric Van Hensbergen <eric.vanhensbergen@arm.com>
Date: Tue, 23 Aug 2016 11:29:27 -0500
Subject: [PATCH] fix-arm64-cpuid-return
---
cpuid_arm64.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpuid_arm64.c b/cpuid_arm64.c
index c7a27f8..95fc708 100644
--- a/cpuid_arm64.c
+++ b/cpuid_arm64.c
@@ -59,7 +59,7 @@ int get_feature(char *search)
fclose(infile);
- if( p == NULL ) return;
+ if( p == NULL ) return(0);
t = strtok(p," ");
while( t = strtok(NULL," "))
--
2.7.4