From dc736af8bb4fbaecac2f82649bbaf103d03634fe Mon Sep 17 00:00:00 2001 From: q66 Date: Tue, 9 Mar 2021 20:33:36 +0100 Subject: [PATCH] python3-scipy: discourage people from building ppc32 with openblas --- srcpkgs/python3-scipy/template | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/srcpkgs/python3-scipy/template b/srcpkgs/python3-scipy/template index c96b999a5fd..7976bc003ce 100644 --- a/srcpkgs/python3-scipy/template +++ b/srcpkgs/python3-scipy/template @@ -28,6 +28,13 @@ case "$XBPS_TARGET_MACHINE" in *) ;; esac +if [ "$build_option_openblas" ]; then + case "$XBPS_TARGET_MACHINE" in + ppc64*) ;; + ppc*) broken="numpy can't be built with openblas";; + esac +fi + LDFLAGS+=" -shared" # Tell numpy to build in parallel