openblas: build for ppc32, switch ppc64 BE to ppc970mp

This commit is contained in:
q66 2021-03-09 19:47:32 +01:00
parent 33ef1cc630
commit 03f1481405
1 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'openblas'
pkgname=openblas
version=0.3.13
revision=1
revision=2
wrksrc="OpenBLAS-${version}"
build_style=gnu-makefile
make_build_args=" HOSTCC=gcc USE_OPENMP=1"
@ -23,9 +23,10 @@ case "${XBPS_TARGET_MACHINE}" in
i686*) make_build_args+=" BINARY=32 DYNAMIC_ARCH=1" ;;
x86_64*) make_build_args+=" BINARY=64 DYNAMIC_ARCH=1" ;;
ppc64le*) make_build_args+=" TARGET=POWER8 DYNAMIC_ARCH=1" ;;
ppc64*) make_build_args+=" TARGET=GENERIC DYNAMIC_ARCH=1" ;;
ppc*) broken="64 bit ppc only" ;;
ppc64*) make_build_args+=" TARGET=PPC970MP" ;; # dynamic arch broken for <power6
ppc*) make_build_args+=" TARGET=PPCG4" ;;
mips*) broken="Not supported" ;;
*) broken="Add your CPU" ;;
esac
post_extract() {