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:
Jeremy Hansen 2023-09-22 17:05:38 -07:00 committed by Willy Sudiarto Raharjo
parent 514a6c8adc
commit ecfff269f0
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 3 additions and 14 deletions

View File

@ -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).

View File

@ -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