Compile with ECL, and compile time templates with SBCL

This commit is contained in:
2026-07-04 21:39:18 +03:00
parent 4b1c0b146c
commit c00d9947b7
6 changed files with 38 additions and 10 deletions
+10 -1
View File
@@ -1,14 +1,23 @@
#-ecl
(require :asdf)
#+ecl
(load "~/.local/share/common-lisp/asdf-3.3.7/build/asdf.lisp")
(asdf:initialize-source-registry `(:source-registry (:tree ,(uiop:getcwd)) :ignore-inherited-configuration))
#+sb-core-compression
(defmethod asdf:perform ((o asdf:image-op) (c asdf:system))
(uiop:dump-image (asdf:output-file o c)
:executable t
:compression t))
(asdf:load-asd "lspack.asd")
(asdf:load-asd (uiop:merge-pathnames* "lspack.asd" (uiop:getcwd)))
(asdf:load-system "lspack/exe")
#-ecl
(lspack:load-templates)
(asdf:make "lspack/exe")
(quit)