openblas: build for ppc32, switch ppc64 BE to ppc970mp
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# Template file for 'openblas'
|
# Template file for 'openblas'
|
||||||
pkgname=openblas
|
pkgname=openblas
|
||||||
version=0.3.13
|
version=0.3.13
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="OpenBLAS-${version}"
|
wrksrc="OpenBLAS-${version}"
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_build_args=" HOSTCC=gcc USE_OPENMP=1"
|
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" ;;
|
i686*) make_build_args+=" BINARY=32 DYNAMIC_ARCH=1" ;;
|
||||||
x86_64*) make_build_args+=" BINARY=64 DYNAMIC_ARCH=1" ;;
|
x86_64*) make_build_args+=" BINARY=64 DYNAMIC_ARCH=1" ;;
|
||||||
ppc64le*) make_build_args+=" TARGET=POWER8 DYNAMIC_ARCH=1" ;;
|
ppc64le*) make_build_args+=" TARGET=POWER8 DYNAMIC_ARCH=1" ;;
|
||||||
ppc64*) make_build_args+=" TARGET=GENERIC DYNAMIC_ARCH=1" ;;
|
ppc64*) make_build_args+=" TARGET=PPC970MP" ;; # dynamic arch broken for <power6
|
||||||
ppc*) broken="64 bit ppc only" ;;
|
ppc*) make_build_args+=" TARGET=PPCG4" ;;
|
||||||
mips*) broken="Not supported" ;;
|
mips*) broken="Not supported" ;;
|
||||||
|
*) broken="Add your CPU" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
|
|||||||
Reference in New Issue
Block a user