v0.38.0 (January 13, 2022) This release makes llvmlite compatible with Python 3.10. It also adds an abiname option to the target machine creation interface that mimics the same in LLVM. Further, a large number of functions are added to the IR API to support common uses of constant expressions. Finally, a number of bugs were fixed!
36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.22 2022/01/14 19:49:10 adam Exp $
|
|
|
|
DISTNAME= llvmlite-0.38.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=l/llvmlite/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://llvmlite.readthedocs.io/
|
|
COMMENT= Lightweight LLVM Python binding for writing JIT compilers
|
|
LICENSE= 2-clause-bsd
|
|
|
|
USE_LANGUAGES= c++14
|
|
|
|
# officially supports llvm 11 as of 0.37.0
|
|
MAKE_ENV+= LLVMLITE_SKIP_LLVM_VERSION_CHECK=1
|
|
# unable to pass LLVM bit-code files to linker
|
|
MAKE_ENV.NetBSD+= CXX_FLTO_FLAGS=
|
|
MAKE_ENV.NetBSD+= LD_FLTO_FLAGS=
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
|
|
pre-configure:
|
|
${SED} -e 's/ -stdlib=libc++//' ${WRKSRC}/ffi/Makefile.freebsd > ${WRKSRC}/ffi/Makefile.netbsd
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
post-install:
|
|
.if ${OPSYS} == "Darwin"
|
|
install_name_tool -id \
|
|
${PREFIX}/${PYSITELIB}/llvmlite/binding/libllvmlite.dylib \
|
|
${DESTDIR}${PREFIX}/${PYSITELIB}/llvmlite/binding/libllvmlite.dylib
|
|
.endif
|
|
|
|
.include "../../lang/llvm/buildlink3.mk"
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|