commit 412901a

hovercats  ·  2024-01-18 20:50:40 +0000 UTC
parent a7c467d
qbe: import. bump to 1.1
6 files changed,  +23, -0
+3, -0
1@@ -122,3 +122,6 @@
2 [submodule "pkg/zlib/src"]
3 	path = pkg/zlib/src
4 	url = https://github.com/madler/zlib
5+[submodule "pkg/qbe/src"]
6+	path = pkg/qbe/src
7+	url = git://c9x.me/qbe.git
+1, -0
1@@ -37,6 +37,7 @@ subgen 'oksh'
2 subgen 'openbsd'
3 subgen 'openssh'
4 subgen 'pigz'
5+subgen 'qbe'
6 subgen 'rc'
7 subgen 'rcinit'
8 subgen 'rcsm'
+1, -0
1@@ -0,0 +1 @@
2+#define Deftgt T_amd64_sysv
+16, -0
 1@@ -0,0 +1,16 @@
 2+cflags{
 3+	'-std=c99', '-Wall', '-Wextra', '-Wpedantic',
 4+	'-Wno-format-overflow', '-Wno-format-truncation', '-Wno-maybe-uninitialized',
 5+	'-I $dir',
 6+}
 7+
 8+exe('qbe', [[
 9+	main.c util.c parse.c abi.c cfg.c mem.c ssa.c alias.c load.c
10+	copy.c fold.c simpl.c live.c spill.c rega.c emit.c
11+	amd64/(targ.c sysv.c isel.c emit.c)
12+	arm64/(targ.c abi.c isel.c emit.c)
13+	rv64/(targ.c abi.c isel.c emit.c)
14+]])
15+file('bin/qbe', '755', '$outdir/qbe')
16+
17+fetch 'git'
+1, -0
1@@ -0,0 +1 @@
2+Subproject commit f1b21d145ba03c6052b4b722dc457f8e944e6fca
+1, -0
1@@ -0,0 +1 @@
2+1.1 r0