Browse Source
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>
pull/207/head
Jeremy Hansen
2 years ago
committed by
Willy Sudiarto Raharjo
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with
3 additions and
14 deletions
-
python/python3-llvmlite/README
-
python/python3-llvmlite/python3-llvmlite.SlackBuild
|
|
@ -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 |
|
|
|