pkgsrc/devel/py-llvmlite/Makefile
adam 0bf745f8a8 py-llvmlite: updated to 0.27.0
v0.27.0

This release updates llvmlite to LLVM 7. Note that LLVM 7.0.0 contains a critical bug that is resolved with a patch included in the llvmdev conda package recipe. The final release of LLVM 7.0.1 may also resolve the issue.

Add another thread for RPi builds.
llvm lld integration
Build LLD as part of the llvmdev package
Set up CI with Azure Pipelines
LLVM 7 support
2019-01-02 15:42:17 +00:00

33 lines
957 B
Makefile

# $NetBSD: Makefile,v 1.7 2019/01/02 15:42:17 adam Exp $
DISTNAME= llvmlite-0.27.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=l/llvmlite/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://llvmlite.pydata.org/
COMMENT= Lightweight LLVM Python binding for writing JIT compilers
LICENSE= 2-clause-bsd
USE_LANGUAGES= c++
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} == 27
DEPENDS+= ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34
.endif
pre-configure:
${LN} -f ${WRKSRC}/ffi/Makefile.freebsd ${WRKSRC}/ffi/Makefile.netbsd
post-install:
.if ${OPSYS} == "Darwin"
install_name_tool -id \
${PREFIX}/${PYSITELIB}/llvmlite/binding/libllvmlite.dylib \
${DESTDIR}${PREFIX}/${PYSITELIB}/llvmlite/binding/libllvmlite.dylib
.endif
BUILDLINK_API_DEPENDS.llvm+= llvm>=6.0.0
.include "../../lang/llvm/buildlink3.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"