# 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# $FreeBSD: $ X XPORTNAME= llvmlite XPORTVERSION= 0.12.1 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 X XUSES= python:2.7-3.3 XUSE_PYTHON= distutils autoplist X XLLVM_VER= 37 X XBUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}enum34>0:${PORTSDIR}/devel/py-enum34 \ X 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.12.1.tar.gz) = 3ce71beebd4cbc7a49abe4eadfc99725477fd43caeb7405650ebb746c7a1d0df XSIZE (llvmlite-0.12.1.tar.gz) = 88271 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