Skip to content

Commit

Permalink
Merge pull request #42 from jprjr/add-aarch64
Browse files Browse the repository at this point in the history
add aarch64
  • Loading branch information
jprjr authored Jan 22, 2017
2 parents b2ae800 + 66071e4 commit e70c219
Show file tree
Hide file tree
Showing 10 changed files with 105 additions and 0 deletions.
1 change: 1 addition & 0 deletions skarnet-builder/build-latest
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions skarnet-builder/sysdeps/aarch64-linux-musl/socket.lib
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions skarnet-builder/sysdeps/aarch64-linux-musl/spawn.lib
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions skarnet-builder/sysdeps/aarch64-linux-musl/sysclock.lib
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

43 changes: 43 additions & 0 deletions skarnet-builder/sysdeps/aarch64-linux-musl/sysdeps
Original file line number Diff line number Diff line change
@@ -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
54 changes: 54 additions & 0 deletions skarnet-builder/sysdeps/aarch64-linux-musl/sysdeps.h
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions skarnet-builder/sysdeps/aarch64-linux-musl/tainnow.lib
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions skarnet-builder/sysdeps/aarch64-linux-musl/target
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
aarch64-linux-musl
1 change: 1 addition & 0 deletions skarnet-builder/sysdeps/aarch64-linux-musl/timer.lib
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions skarnet-builder/sysdeps/aarch64-linux-musl/util.lib
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

0 comments on commit e70c219

Please sign in to comment.