diff --git a/skarnet-builder/build-latest b/skarnet-builder/build-latest index c8b2e27..5f9f37a 100755 --- a/skarnet-builder/build-latest +++ b/skarnet-builder/build-latest @@ -44,6 +44,7 @@ s6-rc # platform declare -A targets targets[arm-linux-musleabihf]=armhf +targets[aarch64-linux-musl]=aarch64 targets[x86_64-linux-musl]=amd64 targets[i486-linux-musl]=x86 diff --git a/skarnet-builder/sysdeps/aarch64-linux-musl/socket.lib b/skarnet-builder/sysdeps/aarch64-linux-musl/socket.lib new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/skarnet-builder/sysdeps/aarch64-linux-musl/socket.lib @@ -0,0 +1 @@ + diff --git a/skarnet-builder/sysdeps/aarch64-linux-musl/spawn.lib b/skarnet-builder/sysdeps/aarch64-linux-musl/spawn.lib new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/skarnet-builder/sysdeps/aarch64-linux-musl/spawn.lib @@ -0,0 +1 @@ + diff --git a/skarnet-builder/sysdeps/aarch64-linux-musl/sysclock.lib b/skarnet-builder/sysdeps/aarch64-linux-musl/sysclock.lib new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/skarnet-builder/sysdeps/aarch64-linux-musl/sysclock.lib @@ -0,0 +1 @@ + diff --git a/skarnet-builder/sysdeps/aarch64-linux-musl/sysdeps b/skarnet-builder/sysdeps/aarch64-linux-musl/sysdeps new file mode 100644 index 0000000..329a956 --- /dev/null +++ b/skarnet-builder/sysdeps/aarch64-linux-musl/sysdeps @@ -0,0 +1,43 @@ +target: aarch64-linux-musl +clockrt: yes +clockmon: yes +posixspawn: yes +timer: yes +endianness: little +sizeofushort: 2 +sizeofuint: 4 +sizeofulong: 8 +sizeofgid: 4 +sizeoftime: 8 +accept4: yes +ancilautoclose: no +cmsgcloexec: yes +devurandom: yes +eproto: yes +eventfd: yes +flock: yes +getpeereid: no +sopeercred: yes +getpeerucred: no +ipv6: yes +malloc0: yes +msgdontwait: yes +nbwaitall: yes +openat: yes +linkat: yes +pipe2: yes +ppoll: yes +revoke: no +sendfile: yes +setgroups: yes +settimeofday: yes +signalfd: no +splice: yes +strcasestr: yes +strnlen: yes +uint64t: yes +futimens: yes +futimes: yes +arc4random: no +getrandom: no +itimer: yes diff --git a/skarnet-builder/sysdeps/aarch64-linux-musl/sysdeps.h b/skarnet-builder/sysdeps/aarch64-linux-musl/sysdeps.h new file mode 100644 index 0000000..c0baa45 --- /dev/null +++ b/skarnet-builder/sysdeps/aarch64-linux-musl/sysdeps.h @@ -0,0 +1,54 @@ +/* ISC license. */ + +#ifndef SYSDEPS_H +#define SYSDEPS_H + +#define SKALIBS_TARGET "aarch64-linux-musl" +#define SKALIBS_HASCLOCKRT +#define SKALIBS_HASCLOCKMON +#define SKALIBS_HASPOSIXSPAWN +#define SKALIBS_HASTIMER +#define SKALIBS_ENDIANNESS "little" +#define SKALIBS_SIZEOFUSHORT 2 +#define SKALIBS_USHORT_BITS 16 +#define SKALIBS_SIZEOFUINT 4 +#define SKALIBS_UINT_BITS 32 +#define SKALIBS_SIZEOFULONG 8 +#define SKALIBS_ULONG_BITS 64 +#define SKALIBS_SIZEOFGID 4 +#define SKALIBS_GID_BITS 32 +#define SKALIBS_SIZEOFTIME 8 +#define SKALIBS_TIME_BITS 64 +#define SKALIBS_HASACCEPT4 +#undef SKALIBS_HASANCILAUTOCLOSE +#define SKALIBS_HASCMSGCLOEXEC +#define SKALIBS_HASDEVURANDOM +#define SKALIBS_HASEPROTO +#define SKALIBS_HASEVENTFD +#define SKALIBS_HASFLOCK +#undef SKALIBS_HASGETPEEREID +#define SKALIBS_HASSOPEERCRED +#undef SKALIBS_HASGETPEERUCRED +#define SKALIBS_HASIPV6 +#define SKALIBS_HASMALLOC0 +#define SKALIBS_HASMSGDONTWAIT +#define SKALIBS_HASNBWAITALL +#define SKALIBS_HASOPENAT +#define SKALIBS_HASLINKAT +#define SKALIBS_HASPIPE2 +#define SKALIBS_HASPPOLL +#undef SKALIBS_HASREVOKE +#define SKALIBS_HASSENDFILE +#define SKALIBS_HASSETGROUPS +#define SKALIBS_HASSETTIMEOFDAY +#undef SKALIBS_HASSIGNALFD +#define SKALIBS_HASSPLICE +#define SKALIBS_HASSTRCASESTR +#define SKALIBS_HASSTRNLEN +#define SKALIBS_HASUINT64T +#define SKALIBS_HASFUTIMENS +#define SKALIBS_HASFUTIMES +#undef SKALIBS_HASARC4RANDOM +#undef SKALIBS_HASGETRANDOM +#define SKALIBS_HASITIMER +#endif diff --git a/skarnet-builder/sysdeps/aarch64-linux-musl/tainnow.lib b/skarnet-builder/sysdeps/aarch64-linux-musl/tainnow.lib new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/skarnet-builder/sysdeps/aarch64-linux-musl/tainnow.lib @@ -0,0 +1 @@ + diff --git a/skarnet-builder/sysdeps/aarch64-linux-musl/target b/skarnet-builder/sysdeps/aarch64-linux-musl/target new file mode 100644 index 0000000..32aa1dd --- /dev/null +++ b/skarnet-builder/sysdeps/aarch64-linux-musl/target @@ -0,0 +1 @@ +aarch64-linux-musl diff --git a/skarnet-builder/sysdeps/aarch64-linux-musl/timer.lib b/skarnet-builder/sysdeps/aarch64-linux-musl/timer.lib new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/skarnet-builder/sysdeps/aarch64-linux-musl/timer.lib @@ -0,0 +1 @@ + diff --git a/skarnet-builder/sysdeps/aarch64-linux-musl/util.lib b/skarnet-builder/sysdeps/aarch64-linux-musl/util.lib new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/skarnet-builder/sysdeps/aarch64-linux-musl/util.lib @@ -0,0 +1 @@ +