projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a550431
)
Fix detection of POWER architecture in c_check.
author
Sébastien Villemot
<sebastien@debian.org>
Mon, 9 Nov 2015 17:36:04 +0000
(18:36 +0100)
committer
Sébastien Villemot
<sebastien@debian.org>
Mon, 9 Nov 2015 17:36:04 +0000
(18:36 +0100)
This is necessary to avoid the false detection of a cross-compiling
environment.
c_check
patch
|
blob
|
history
diff --git
a/c_check
b/c_check
index
d694e74
..
bcf4c2c
100644
(file)
--- a/
c_check
+++ b/
c_check
@@
-6,6
+6,7
@@
$hostarch = `uname -m | sed -e s/i.86/x86/`;chop($hostarch);
$hostarch = "x86_64" if ($hostarch eq "amd64");
$hostarch = "arm" if ($hostarch =~ /^arm.*/);
$hostarch = "arm64" if ($hostarch eq "aarch64");
+$hostarch = "power" if ($hostarch =~ /^(powerpc|ppc).*/);
$binary = $ENV{"BINARY"};