# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # py-llvmlite # py-llvmlite/Makefile # py-llvmlite/distinfo # py-llvmlite/pkg-descr # echo c - py-llvmlite mkdir -p py-llvmlite > /dev/null 2>&1 echo x - py-llvmlite/Makefile sed 's/^X//' >py-llvmlite/Makefile << '97010fd3d2fe2f8550e076cab5d4d211' X# Created by David Kalliecharan X# $FreeBSD$ X XPORTNAME= llvmlite XPORTVERSION= 0.13.0 XCATEGORIES= devel python XMASTER_SITES= CHEESESHOP XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} X XMAINTAINER= dave@dal.ca XCOMMENT= A lightweight LLVM python binding for writing JIT compilers X XLICENSE= BSD XLICENSE_FILE= ${WRKSRC}/LICENSE X X# Python 2.7,3.4+ XUSES= python XUSE_PYTHON= distutils autoplist X X.include X X# llvmlite-0.13.0 requires devel/llvm38 XLLVM_VER= 38 X X# Python 2.7 requires enum34, Python 3.4+ unecessary X.if ${PYTHON_REL} < 3400 XBUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enum34>0:devel/py-enum34 X.endif X XBUILD_DEPENDS+= llvm-config${LLVM_VER}:devel/llvm${LLVM_VER} X XMAKE_ENV= LLVM_CONFIG=${LOCALBASE}/bin/llvm-config${LLVM_VER} X X.include 97010fd3d2fe2f8550e076cab5d4d211 echo x - py-llvmlite/distinfo sed 's/^X//' >py-llvmlite/distinfo << '4a4c349adb291ae2603567c64293296f' XSHA256 (llvmlite-0.13.0.tar.gz) = f852be3391acb2e77ef484c5d0ff90e7cf2821dcf9575e358a1f08c274c582eb XSIZE (llvmlite-0.13.0.tar.gz) = 9220 4a4c349adb291ae2603567c64293296f echo x - py-llvmlite/pkg-descr sed 's/^X//' >py-llvmlite/pkg-descr << '0e337b0756e73bc806da5a74c1bc270c' XA lightweight LLVM python binding for writing JIT compilers X XThe old llvmpy binding exposes a lot of LLVM APIs but the mapping of C++-style memory management to Python is error prone. Numba and many JIT compilers do not need a full LLVM API. Only the IR builder, optimizer, and JIT compiler APIs are necessary. X Xllvmlite is a project originally tailored for Numba's needs, using the following approach: X X * A small C wrapper around the parts of the LLVM C++ API we need that are not already exposed by the LLVM C API. X * A ctypes Python wrapper around the C API. X * A pure Python implementation of the subset of the LLVM IR builder that we need for Numba. X XWWW: https://github.com/numba/llvmlite 0e337b0756e73bc806da5a74c1bc270c exit