sbcl-termux-build icon indicating copy to clipboard operation
sbcl-termux-build copied to clipboard

Prebuilt SBCL binary for Android (Termux)

#+TITLE: SBCL Termux Build This repository contains the script for building SBCL on Android with Termux, as well as the prebuilt binary for ARM64.

  • Requirement Install ~zstd~ before getting started, which is required by ~SB-CORE-COMPRESSION~ since 2.2.6:

#+BEGIN_SRC sh apt-get install zstd #+END_SRC

  • Usage Download and extract the prebuilt SBCL for Termux, which is available on the [[https://github.com/bohonghuang/sbcl-termux-build/releases][Release]] page:

#+BEGIN_SRC sh curl -OL "https://github.com/bohonghuang/sbcl-termux-build/releases/download/2.3.3/sbcl-2.3.3-arm64-termux.tar.zst" unzstd -c "sbcl-2.3.3-arm64-termux.tar.zst" | tar -xf - cd "sbcl-2.3.3" #+END_SRC

Now you can run SBCL with:

#+BEGIN_SRC sh sh run-sbcl.sh #+END_SRC

If it runs without problems, install SBCL with:

#+BEGIN_SRC sh sh install.sh #+END_SRC

  • Reference
  • [[https://bugs.launchpad.net/sbcl/+bug/1956852]] /for building SBCL using ECL on Android with Termux/