pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Import QBE compiler backend as wip/qbe



Module Name:	pkgsrc-wip
Committed By:	Charlotte Koch <dressupgeekout%gmail.com@localhost>
Pushed By:	cfkoch
Date:		Tue May 3 19:08:53 2022 -0700
Changeset:	a3fb2c784d1c7ad3b6d4eeca147a032f97b6adb6

Modified Files:
	Makefile
Added Files:
	qbe/DESCR
	qbe/Makefile
	qbe/PLIST

Log Message:
Import QBE compiler backend as wip/qbe

QBE aims to be a pure C embeddable backend that provides 70% of the
performance of advanced compilers in 10% of the code. Its small size serves
both its aspirations of correctness and our ability to understand, fix, and
improve it. It also serves its users by providing trivial integration and
great flexibility.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a3fb2c784d1c7ad3b6d4eeca147a032f97b6adb6

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile     |  1 +
 qbe/DESCR    |  5 +++++
 qbe/Makefile | 21 +++++++++++++++++++++
 qbe/PLIST    |  2 ++
 4 files changed, 29 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index cc88432d1b..6265bfbbf4 100644
--- a/Makefile
+++ b/Makefile
@@ -4962,6 +4962,7 @@ SUBDIR+=	pywm
 SUBDIR+=	pyzor
 SUBDIR+=	q
 SUBDIR+=	q2pro
+SUBDIR+=	qbe
 SUBDIR+=	qcdloop
 SUBDIR+=	qdevelop
 SUBDIR+=	qemu-git
diff --git a/qbe/DESCR b/qbe/DESCR
new file mode 100644
index 0000000000..6d3a868967
--- /dev/null
+++ b/qbe/DESCR
@@ -0,0 +1,5 @@
+QBE aims to be a pure C embeddable backend that provides 70% of the
+performance of advanced compilers in 10% of the code. Its small size serves
+both its aspirations of correctness and our ability to understand, fix, and
+improve it. It also serves its users by providing trivial integration and
+great flexibility.
diff --git a/qbe/Makefile b/qbe/Makefile
new file mode 100644
index 0000000000..8927de1f56
--- /dev/null
+++ b/qbe/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD$
+
+DISTNAME=	qbe-0
+CATEGORIES=	lang
+GIT_REPO=	git://c9x.me/qbe.git
+GIT_BRANCH=	master
+GIT_REVISION=	2caa26e388b1c904d2f12fb09f84df7e761d8331
+
+MAINTAINER=	dressupgeekout%gmail.com@localhost
+HOMEPAGE=	https://c9x.me/compile/
+COMMENT=	QBE compiler backend
+LICENSE=	mit
+
+USE_LANGUAGES=	c
+USE_TOOLS+=	gmake
+NO_CONFIGURE=	yes
+
+BUILD_TARGET=	obj/qbe
+
+.include "../../wip/mk/git-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/qbe/PLIST b/qbe/PLIST
new file mode 100644
index 0000000000..2c6c6a59e3
--- /dev/null
+++ b/qbe/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/qbe


Home | Main Index | Thread Index | Old Index