svn commit: r512756 - in head/devel: . gllvm
Dmitri Goutnik
dmgk at FreeBSD.org
Tue Sep 24 21:43:35 UTC 2019
Author: dmgk
Date: Tue Sep 24 21:43:34 2019
New Revision: 512756
URL: https://svnweb.freebsd.org/changeset/ports/512756
Log:
New port: devel/gllvm
gllvm provides tools for building whole-program (or whole-library) LLVM bitcode
files from an unmodified C or C++ source package. It is a drop-in replacement
for wllvm, that builds the bitcode in parallel, and is faster.
WWW: https://github.com/SRI-CSL/gllvm
Approved by: tz (mentor)
Differential Revision: https://reviews.freebsd.org/D21780
Added:
head/devel/gllvm/
head/devel/gllvm/Makefile (contents, props changed)
head/devel/gllvm/distinfo (contents, props changed)
head/devel/gllvm/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Tue Sep 24 21:40:28 2019 (r512755)
+++ head/devel/Makefile Tue Sep 24 21:43:34 2019 (r512756)
@@ -835,6 +835,7 @@
SUBDIR += glib20-reference
SUBDIR += glibmm
SUBDIR += glibmm-reference
+ SUBDIR += gllvm
SUBDIR += global
SUBDIR += glog
SUBDIR += glrparser
Added: head/devel/gllvm/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/gllvm/Makefile Tue Sep 24 21:43:34 2019 (r512756)
@@ -0,0 +1,40 @@
+# $FreeBSD$
+
+PORTNAME= gllvm
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.2.4
+CATEGORIES= devel
+
+MAINTAINER= dmgk at FreeBSD.org
+COMMENT= Whole Program LLVM: wllvm ported to Go
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= go
+
+USE_GITHUB= yes
+GH_ACCOUNT= SRI-CSL
+
+GO_PKGNAME= github.com/SRI-CSL/gllvm
+GO_TARGET= ./cmd/gclang++ \
+ ./cmd/gclang \
+ ./cmd/get-bc \
+ ./cmd/gsanity-check
+
+PLIST_FILES= ${GO_TARGET:C/.\/cmd/bin/}
+
+PORTDOCS= README.md
+PORTEXAMPLES= *
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
+post-install-EXAMPLES-on:
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
+
+.include <bsd.port.mk>
Added: head/devel/gllvm/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/gllvm/distinfo Tue Sep 24 21:43:34 2019 (r512756)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1569330759
+SHA256 (SRI-CSL-gllvm-v1.2.4_GH0.tar.gz) = 031e0091ccb4777a14ca10e02c5a95ecd4365dc9986c0fb570480fd323e33452
+SIZE (SRI-CSL-gllvm-v1.2.4_GH0.tar.gz) = 575770
Added: head/devel/gllvm/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/gllvm/pkg-descr Tue Sep 24 21:43:34 2019 (r512756)
@@ -0,0 +1,5 @@
+gllvm provides tools for building whole-program (or whole-library) LLVM bitcode
+files from an unmodified C or C++ source package. It is a drop-in replacement
+for wllvm, that builds the bitcode in parallel, and is faster.
+
+WWW: https://github.com/SRI-CSL/gllvm
More information about the svn-ports-head
mailing list