python/python3-llvmlite: Script cleanup + README notes.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
514a6c8adc
commit
ecfff269f0
|
@ -8,3 +8,6 @@ are not already exposed by the LLVM C API.
|
|||
-A ctypes Python wrapper around the C API.
|
||||
-A pure Python implementation of the subset of the LLVM IR builder that
|
||||
we need for Numba.
|
||||
|
||||
NOTE: Unable to support newer versions than 0.40.1 due to requiring a
|
||||
newer LLVM than included in Slackware (needs >= 14.0).
|
||||
|
|
|
@ -47,20 +47,6 @@ TMP=${TMP:-/tmp/SBo}
|
|||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i586" ]; then
|
||||
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
else
|
||||
SLKCFLAGS="-O2"
|
||||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
|
|
Loading…
Reference in New Issue