aboutsummaryrefslogtreecommitdiff
path: root/.builds/debian-aarch64.yml
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-05-09 14:02:25 -0700
committerMichael Forney <mforney@mforney.org>2019-05-09 14:02:33 -0700
commite76bd99a3f6963de58f661ca9141cd1a723db004 (patch)
treea6575d443aff7111778ac531175a0cb6302107b3 /.builds/debian-aarch64.yml
parent39cad4254c1b7ebab2d4e7bf46591452aaeda639 (diff)
Add Debian aarch64 continuous build
Diffstat (limited to '.builds/debian-aarch64.yml')
-rw-r--r--.builds/debian-aarch64.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.builds/debian-aarch64.yml b/.builds/debian-aarch64.yml
new file mode 100644
index 0000000..2d4f176
--- /dev/null
+++ b/.builds/debian-aarch64.yml
@@ -0,0 +1,25 @@
+image: debian/sid
+packages:
+- gcc-aarch64-linux-gnu
+- qemu-user
+sources:
+- https://git.sr.ht/~mcf/cc
+- https://git.sr.ht/~mcf/qbe
+environment:
+ PATH: $HOME/qbe/obj:$PATH
+tasks:
+- build: |
+ cd qbe
+ cat >config.h <<EOF
+ #define Defasm Gaself
+ #define Deftgt T_arm64
+ EOF
+ make
+ cd ../cc
+ ./configure \
+ --target=aarch64-linux-gnu \
+ --with-ldso=/usr/aarch64-linux-gnu/lib/ld-linux-aarch64.so.1 \
+ --with-gcc-libdir=/usr/lib/gcc-cross/aarch64-linux-gnu/8
+ make all check
+ make bootstrap LDFLAGS='-Wl,-rpath,/usr/aarch64-linux-gnu/lib'
+ file stage2/cc stage2/cc-qbe