FreeBSD Bugzilla – Attachment 174358 Details for
Bug 211346
[NEW PORT] devel/py-llvmlite: Lightweight LLVM python binding for writing JIT compilers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[UPDATE+] py-llvmlite 0.13.0 shar archive
py-llvmlite.shar (text/plain), 3.44 KB, created by
David Kalliecharan
on 2016-09-04 00:45:42 UTC
(
hide
)
Description:
[UPDATE+] py-llvmlite 0.13.0 shar archive
Filename:
MIME Type:
Creator:
David Kalliecharan
Created:
2016-09-04 00:45:42 UTC
Size:
3.44 KB
patch
obsolete
># 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 ># py-llvmlite/files ># py-llvmlite/files/patch-ffi-Makefile.freebsd ># >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 <dave@dal.ca> >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 fortran >XUSE_PYTHON= distutils autoplist >X >X.include <bsd.port.pre.mk> >X# README mentions llvm38 requirement for llvmlite 0.13.0 >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 >XBROKEN_FreeBSD_9= Does not build on Freebsd 9.3, cannot locate cmath.h >X >Xpost-patch: >X# Requried, because Makefile.freebsd does not see VARS from this Makefile >X ${REINPLACE_CMD} -e "s|%%_GCC_VER%%|${_GCC_VER}|" ${WRKSRC}/ffi/Makefile.freebsd >X >X.include <bsd.port.post.mk> >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) = 92200 >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 >echo c - py-llvmlite/files >mkdir -p py-llvmlite/files > /dev/null 2>&1 >echo x - py-llvmlite/files/patch-ffi-Makefile.freebsd >sed 's/^X//' >py-llvmlite/files/patch-ffi-Makefile.freebsd << '5e35395f24c6400adac54654b7fb924a' >X--- ffi/Makefile.freebsd.orig 2016-09-03 17:26:16.399458000 +0000 >X+++ ffi/Makefile.freebsd 2016-09-03 17:26:38.057115000 +0000 >X@@ -1,7 +1,7 @@ >X >X CXX = clang++ -std=c++11 -stdlib=libc++ >X CXXFLAGS = $(LLVM_CXXFLAGS) >X-LDFLAGS = $(LLVM_LDFLAGS) >X+LDFLAGS = $(LLVM_LDFLAGS) -shared -Wl,-rpath=$(LOCALBASE)/lib/gcc%%_GCC_VER%% >X LIBS = $(LLVM_LIBS) >X INCLUDE = core.h >X SRC = assembly.cpp bitcode.cpp core.cpp initfini.cpp module.cpp value.cpp \ >5e35395f24c6400adac54654b7fb924a >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
dave
:
maintainer-approval?
(
pi
)
Actions:
View
Attachments on
bug 211346
:
172946
|
172979
|
172980
|
174256
| 174358