Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Sep 2019 21:43:34 +0000 (UTC)
From:      Dmitri Goutnik <dmgk@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r512756 - in head/devel: . gllvm
Message-ID:  <201909242143.x8OLhYAg063262@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909242143.x8OLhYAg063262>