mirror of
https://gitlab.com/vindarel/ciel.git
synced 2026-01-15 22:01:01 -08:00
To fix compilation error on SBCL v2.3.10 See issue https://github.com/ciel-lang/CIEL/issues/38
54 lines
1.7 KiB
Makefile
54 lines
1.7 KiB
Makefile
LISP ?= sbcl
|
|
|
|
all: build
|
|
|
|
# Install some Quicklisp dependencies.
|
|
ql-deps:
|
|
# 2023-03: we want str:ensure-suffix, not yet in Quicklisp.
|
|
git clone https://github.com/vindarel/cl-str/ ~/quicklisp/local-projects/cl-str
|
|
# 2023-05: log4cl doesn't compile on SBCL v2.3.4
|
|
# See issue https://github.com/ciel-lang/CIEL/issues/24
|
|
# This has been fixed upstream, not yet in Quicklisp
|
|
git clone https://github.com/sharplispers/log4cl ~/quicklisp/local-projects/log4cl
|
|
|
|
# 2023-11: The symbol SB-INT:TRULY-DYNAMIC-EXTENT is absent since at least
|
|
# SBCL v2.3.10, which was required in older versions of cl-environments
|
|
# and cl-form-types.
|
|
# See issue https://github.com/ciel-lang/CIEL/issues/38
|
|
# This has been fixed upstream, not yet in Quicklisp
|
|
git clone https://github.com/alex-gutev/cl-environments ~/quicklisp/local-projects/cl-environments
|
|
git clone https://github.com/alex-gutev/cl-form-types ~/quicklisp/local-projects/cl-form-types
|
|
|
|
# Install some system dependencies.
|
|
debian-deps:
|
|
apt-get install -y libmagic-dev libinotifytools0
|
|
|
|
macos-deps:
|
|
echo "fsevent (for file-notify)"
|
|
|
|
run:
|
|
$(LISP) --load ciel.asd \
|
|
--eval '(asdf:load-system :ciel)' \
|
|
--eval '(in-package:ciel-user)'
|
|
|
|
image:
|
|
$(LISP) --load build-image.lisp
|
|
|
|
build:
|
|
$(LISP) --non-interactive \
|
|
--eval '(ql:quickload :deploy)' \
|
|
--eval '(ql:quickload "cl+ssl")' \
|
|
--load ciel.asd \
|
|
--load build-config.lisp \
|
|
--eval '(ql:quickload :swank)' \
|
|
--eval '(push :deploy-console *features*)' \
|
|
--eval '(ql:quickload :ciel)' \
|
|
--eval '(ql:quickload :ciel/repl)' \
|
|
--eval '(asdf:make :ciel/repl)' \
|
|
--eval '(quit)'
|
|
|
|
gen-dependencies-list:
|
|
./find-dependencies.lisp > docs/dependencies.md
|
|
|
|
serve-docs:
|
|
docsify serve docs/
|