Compiling on Apple Silicon machines
Roberto Avanzi <[email protected]> Fri, 25 Jun 2021 15:21:52 +0200
| Newsgroups | gmane.lisp.clisp.devel |
|---|---|
| Message-ID | <CAO2jjAHFGMrSvOJRdRb2px+bA1QGOe6Z+H5uqdAvuwDyzQQmqg@mail.gmail.com> |
I have downloaded the current sources (2.49.93+) and I have first
compiled it with --enable-compatibility, and then I tried adding more
modules and features.
Finally, I added
# Mac OS X/arm64
darwin*--arm64)
XCFLAGS="$XCFLAGS -DNO_ASM"
;;
to src/makemake.in (just after the corresponding block for Mac OS
X/x86_64) and CLISP compiles even with generational garbage
collection. It passes all tests except some socket related ones which
seems to be known to give problems under macOS anyway also with intel
CPUs. I was able to compile and run xindy.
My configuration command is
./configure --with-libreadline-prefix=/opt/homebrew/opt/readline/ \
--with-libiconv-prefix=/opt/homebrew/opt/libiconv/ \
--with-module=libsvm --with-module=rawsock \
--with-module=pari --with-libpari-prefix=/opt/homebrew/opt/pari/ \
--cbc my-build-with-pari
- just to show which modules I load - and everything seems to run smoothly.
I therefore suggest to perform the above addition to src/makemake.in
Roberto
_______________________________________________
clisp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-devel