Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
build/pkgs/numpy/spkg-install.in: Fix 32bit build on x86_64
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Jun 29, 2022
1 parent 97557e1 commit 443b3d3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions build/pkgs/numpy/spkg-install.in
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,16 @@ else
export NUMPY_FCONFIG
fi

# Trac #32423: Fix 32-bit builds on x86_64
ARCH=$($CC -dumpmachine 2>/dev/null || echo unknown)
case "$ARCH" in
x86_64)
;;
*)
export NPY_DISABLE_SVML=1
;;
esac

################################################

# Trac #33138: numpy is a PEP 517 package, so the crucial "--build-option"s would be ignored.
Expand Down

0 comments on commit 443b3d3

Please sign in to comment.