-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update contrib/asdf to newer upstream version ... fix loopiness ... add test-op definitions ... quote evaluation of *central-registry* components to make it more useful when a core is dumped containing asdf Rewrite asdf-using contrib makefiles to use common asdf-module.mk ... and their .asd files to define test-op
- Loading branch information
Showing
7 changed files
with
41 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
CC=gcc | ||
export CC | ||
|
||
all: | ||
$(MAKE) -C ../asdf | ||
echo "(asdf:operate 'asdf:load-op :$(SYSTEM) :force t)" | \ | ||
$(SBCL) --eval '(load "../asdf/asdf")' | ||
|
||
test: all | ||
echo "(asdf:operate (quote asdf:load-op) :$(SYSTEM)) "\ | ||
"(asdf:operate (quote asdf:test-op) :$(SYSTEM))" | \ | ||
$(SBCL) --eval '(load "../asdf/asdf")' | ||
|
||
|
||
install: | ||
tar cf - . | ( cd $(INSTALL_DIR) && tar xpvf - ) | ||
( cd $(SBCL_HOME)/systems && ln -fs ../$(SYSTEM)/$(SYSTEM).asd . ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,2 @@ | ||
SYSTEM=sb-bsd-sockets | ||
CC=gcc | ||
export CC | ||
|
||
all: | ||
$(MAKE) -C ../asdf | ||
echo "(asdf:operate 'asdf:load-op :$(SYSTEM) :force t)" | \ | ||
$(SBCL) --eval '(load "../asdf/asdf")' | ||
|
||
test: all | ||
echo "(asdf:operate 'asdf:load-op :$(SYSTEM)) \ | ||
(or (rt:do-tests) (error \"test failed, cannot install\"))" | \ | ||
$(SBCL) --eval '(load "../asdf/asdf")' | ||
|
||
|
||
install: | ||
tar cf - . | ( cd $(INSTALL_DIR) && tar xpvf - ) | ||
( cd $(SBCL_HOME)/systems && ln -fs ../$(SYSTEM)/$(SYSTEM).asd . ) | ||
include ../asdf-module.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,2 @@ | ||
# FIXME I: This is more-or-less an exact copy of sb-bsd-sockets's | ||
# Makefile. Maybe we should have a vanilla-asdf-module.mk? | ||
# | ||
# FIXME II: The thing that is preventing this is the use of RT as a | ||
# regression tester... since we ask that modules do regression tests, | ||
# maybe we should provide a regression test framework (in SB-RT, perhaps)? | ||
|
||
SYSTEM=sb-rotate-byte | ||
|
||
all: | ||
$(MAKE) -C ../asdf | ||
echo "(asdf:operate 'asdf:load-op :$(SYSTEM) :force t)" | \ | ||
$(SBCL) --eval '(load "../asdf/asdf")' | ||
|
||
test: all | ||
echo "(asdf:operate 'asdf:load-op :$(SYSTEM)) \ | ||
(load (compile-file \"rotate-byte-tests.lisp\"))" | \ | ||
$(SBCL) --eval '(load "../asdf/asdf")' | ||
|
||
|
||
install: | ||
tar cf - . | ( cd $(INSTALL_DIR) && tar xpvf - ) | ||
( cd $(SBCL_HOME)/systems && ln -fs ../$(SYSTEM)/$(SYSTEM).asd . ) | ||
include ../asdf-module.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters