Give up on building with ECL
author |
Steve Losh <steve@stevelosh.com> |
date |
Tue, 08 Mar 2022 23:49:49 -0500 |
parents |
024e32992c58
|
children |
002aae48b9ff
|
branches/tags |
(none) |
files |
.hgignore Makefile bin/cacl-ccl bin/cacl-ecl src/build-binary.lisp |
Changes
--- a/.hgignore Tue Mar 08 22:02:54 2022 -0500
+++ b/.hgignore Tue Mar 08 23:49:49 2022 -0500
@@ -1,8 +1,4 @@
syntax: glob
scratch.lisp
-cacl-abcl
-cacl-sbcl
-cacl-ecl
-cacl-ccl
build
--- a/Makefile Tue Mar 08 22:02:54 2022 -0500
+++ b/Makefile Tue Mar 08 23:49:49 2022 -0500
@@ -1,6 +1,6 @@
.PHONY: all
-all: build/cacl-sbcl build/cacl-ccl build/cacl-abcl build/cacl-ecl build/cacl.1
+all: build/cacl-sbcl build/cacl-ccl build/cacl-abcl build/cacl.1
# Build -----------------------------------------------------------------------
lisps := $(shell ffind '\.(asd|lisp)$$')
@@ -15,9 +15,6 @@
ccl --load "src/build-binary.lisp"
cp bin/cacl-ccl build/
-build/cacl-ecl: build $(lisps)
- cp bin/cacl-ecl build/
-
build/cacl-abcl: build $(lisps) bin/cacl-abcl
cp bin/cacl-abcl build/
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/cacl-ccl Tue Mar 08 23:49:49 2022 -0500
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+
+set -euo pipefail
+cd "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
+ccl-raw -I cacl-ccl.image -- "$@"
--- a/bin/cacl-ecl Tue Mar 08 22:02:54 2022 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-#!/usr/bin/env bash
-
-ecl -eval '(progn (ql:quickload :cacl))' -eval '(cacl:toplevel)' -eval '(si:exit)'
--- a/src/build-binary.lisp Tue Mar 08 22:02:54 2022 -0500
+++ b/src/build-binary.lisp Tue Mar 08 23:49:49 2022 -0500
@@ -28,9 +28,3 @@
"build/cacl-ccl.image"
:toplevel-function #'cacl:toplevel
:purify t))
-
-#+ecl
-(asdf:make-build :cacl
- :type :program
- :move-here #P"./"
- :epilogue-code '(cacl:toplevel))