diff options
-rw-r--r-- | community/openblas/APKBUILD | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/community/openblas/APKBUILD b/community/openblas/APKBUILD index dcefcaa6cd..1fc323e2ff 100644 --- a/community/openblas/APKBUILD +++ b/community/openblas/APKBUILD @@ -33,6 +33,7 @@ _flags="USE_OPENMP=0 MAJOR_VERSION=3 NO_AFFINITY=1" case "$CARCH" in +ppc64le) _flags="$_flags NUM_THREADS=64";; # POWER machines are big *64) _flags="$_flags NUM_THREADS=32";; # match kernel's CONFIG_NR_CPUS *) _flags="$_flags NUM_THREADS=8";; # 32bit machines usually have less cores esac @@ -42,6 +43,7 @@ case "$CARCH" in x86*) _flags="$_flags TARGET=core2 DYNAMIC_ARCH=1";; armhf) _flags="$_flags TARGET=ARMV7 DYNAMIC_ARCH=0";; aarch64) _flags="$_flags TARGET=ARMV8 DYNAMIC_ARCH=0";; +ppc64le) _flags="$_flags TARGET=POWER8 DYNAMIC_ARCH=0";; *) _flags="$_flags DYNAMIC_ARCH=0";; esac |