aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2024-04-21 18:19:11 -0700
committerMichael Forney <mforney@mforney.org>2024-04-21 18:19:50 -0700
commitc819539b064e0cc4f71a8d48eddbeec5fbea1b86 (patch)
tree17819b1bfaadb02f65c541304d4a9c8b2be1b4e9
parent80678fabe1defdbbdb83a74c6fbe21ecdba0f766 (diff)
CI: Simplify alpine-aarch64.yml and debian-aarch64.yml
-rw-r--r--.builds/alpine-aarch64.yml9
-rw-r--r--.builds/debian-aarch64.yml9
2 files changed, 4 insertions, 14 deletions
diff --git a/.builds/alpine-aarch64.yml b/.builds/alpine-aarch64.yml
index 4045992..716573e 100644
--- a/.builds/alpine-aarch64.yml
+++ b/.builds/alpine-aarch64.yml
@@ -12,13 +12,8 @@ tasks:
tar --warning=no-unknown-keyword -xzf aarch64-linux-musl-cross.tgz
- build: |
PATH=$HOME/qbe:$HOME/aarch64-linux-musl-cross/bin:$PATH
- cd qbe
- cat >config.h <<EOF
- #define Defasm Gaself
- #define Deftgt T_arm64
- EOF
- make
- cd ../cproc
+ make -C qbe
+ cd cproc
./configure \
--target=aarch64-linux-musl \
--with-ldso="$HOME/aarch64-linux-musl-cross/aarch64-linux-musl/lib/libc.so"
diff --git a/.builds/debian-aarch64.yml b/.builds/debian-aarch64.yml
index 4de7e85..b341221 100644
--- a/.builds/debian-aarch64.yml
+++ b/.builds/debian-aarch64.yml
@@ -10,13 +10,8 @@ sources:
tasks:
- build: |
PATH=$HOME/qbe:$PATH
- cd qbe
- cat >config.h <<EOF
- #define Defasm Gaself
- #define Deftgt T_arm64
- EOF
- make
- cd ../cproc
+ make -C qbe
+ cd cproc
crtbegin=$(aarch64-linux-gnu-gcc -print-file-name=crtbegin.o)
./configure \
--target=aarch64-linux-gnu \