babashka

https://github.com/babashka/babashka. Also see #sci, #nbb and #babashka-circleci-builds .
borkdude 2021-03-15T15:30:45.226800Z

This babashka binary should work on RaspberryPi 64bit! https://15839-201467090-gh.circle-artifacts.com/0/release/babashka-0.2.14-SNAPSHOT-linux-aarch64.tar.gz Anyone wants to try?

👏 1
✅ 2
dharrigan 2021-03-15T16:07:28.228100Z

Doesn't seem to work

dharrigan 2021-03-15T16:07:48.228300Z

Unless I'm doing something very wrong

dharrigan 2021-03-15T16:07:59.228500Z

❯ ./bb 
zsh: exec format error: ./bb

dharrigan 2021-03-15T16:08:15.228700Z

❯ file bb
bb: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=0cd3bbed3e8d1ae37a8546038d4cf2c8ebe8a184, for GNU/Linux 3.7.0, with debug_info, not stripped

dharrigan 2021-03-15T16:09:02.228900Z

Let me see...

dharrigan 2021-03-15T16:11:11.229700Z

Yeah, mymistake. Not in 64, I'm in armv7l

borkdude 2021-03-15T22:25:38.231300Z

Tomas Brejla 2021-03-16T12:18:59.004900Z

I wonder.. Is it better to have aarch64 static build or non-static one? The aarch64 build works fine on my raspberry. Just for fun, I also tried running it on my old android tablet (which is not rooted and is using Termux ). It didn't work, probably because missing glibc. I manually compiled static version for aarch64 and this one works just fine.

borkdude 2021-03-16T12:19:46.005100Z

We can add a static aarch64 build too

borkdude 2021-03-16T12:20:34.005400Z

I think it's good to have choices. Sometimes the static one doesn't work on all linuxes. I often get complaints about this in clj-kondo of people who try to run the linux static one

borkdude 2021-03-16T12:20:43.005600Z

while they should be running the dynamic one

borkdude 2021-03-16T12:21:55.005800Z

feel free to PR a circleci job with the static flag on

borkdude 2021-03-16T12:22:00.006Z

so we can also distribute that one

borkdude 2021-03-16T12:30:24.006200Z

btw, it might also be libc++ that's missing

borkdude 2021-03-15T22:32:51.231900Z

Note to package maintainers: archives for linux and macos are now in tar.gz and not in .zip format. Windows is still in .zip format.

💯 1
3