I'm trying to use Lisp on Apple silicon but can't still. Any recommendations?
Thank you.
I'm trying to use Lisp on Apple silicon but can't still. Any recommendations?
Thank you.
Hi Alan, Have you seen this reddit thread?
https://www.reddit.com/r/lisp/comments/jwqg8f/cl_implementation_support_for_apple_silicon/
On 2021-10-26 11:30 a.m., Alan Canales wrote:
I'm trying to use Lisp on Apple silicon but can't still. Any
recommendations?
Thank you.
I could not get clisp working (compilation failed)
I could install ccl, but I could not get it working (seems there is no
valid kernel for the M1).
So I guess, you have to use sbcl for the time being.
Stéphane
I'm trying to use Lisp on Apple silicon but can't still. Any recommendations?I looked through the ruby code on homebrew for clisp.
Thank you.
On Tuesday, October 26, 2021 at 4:30:37 PM UTC+1, alanraf...@gmail.com wrote:
I'm trying to use Lisp on Apple silicon but can't still. Any recommendations?
Thank you.I looked through the ruby code on homebrew for clisp.
So, I adapted that:
curl https://alpha.gnu.org/gnu/clisp/clisp-2.49.92.tar.bz2 -o clisp-2.49.92.tar.bz2
tar xf clisp-2.49.92.tar.bz2
cd clisp-2.49.92/src/gllib/
Edited "vma-iter.c" to delete this line (line 1330):
# if defined __ppc64__ || defined __x86_64__
and replaced it with:
# if defined __aarch64__ || defined __ppc64__ || defined __x86_64__
It compiled and passed a lot of tests and gives me:
usr~/clisp-2.49.92/src> file clisp
clisp: Mach-O 64-bit executable arm64
Steel Bank now has version 2.1.2 for macos M1. I've rebuilt sbcl 2.2.7
with it and taht passes regression tests.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 293 |
Nodes: | 16 (2 / 14) |
Uptime: | 234:21:02 |
Calls: | 6,624 |
Files: | 12,172 |
Messages: | 5,319,694 |