Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asdf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jan Moringen
asdf
Commits
d2991b32
Commit
d2991b32
authored
15 years ago
by
Francois-Rene Rideau
Browse files
Options
Downloads
Patches
Plain Diff
Avoid name clash in FASLs for different implementations.
Fix ECL compilation workaround.
parent
f23d0d05
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/compile-asdf.lisp
+6
-8
6 additions, 8 deletions
test/compile-asdf.lisp
test/script-support.lisp
+16
-1
16 additions, 1 deletion
test/script-support.lisp
with
22 additions
and
9 deletions
test/compile-asdf.lisp
+
6
−
8
View file @
d2991b32
...
@@ -20,17 +20,15 @@
...
@@ -20,17 +20,15 @@
(
compile-file
*asdf-lisp*
:output-file
tmp
))
(
compile-file
*asdf-lisp*
:output-file
tmp
))
(
declare
(
ignore
result
))
(
declare
(
ignore
result
))
(
cond
(
cond
#-
ecl
(
warnings-p
(
warnings-p
;;; ECL gives warnings that it shouldn't!
#+
ecl
(
leave-lisp
"ASDF compiled with warnings. Please fix ECL."
0
)
#-
ecl
(
leave-lisp
"Testsuite failed: ASDF compiled with warnings"
1
))
(
leave-lisp
"Testsuite failed: ASDF compiled with warnings"
1
))
(
errors-p
(
errors-p
(
leave-lisp
"Testsuite failed: ASDF compiled with ERRORS"
2
))
(
leave-lisp
"Testsuite failed: ASDF compiled with ERRORS"
2
))
(
t
(
t
#+
cl
isp
;; But for a bug in CLISP 2.48, we should use :if-exists :overwrite and be atomic
#+
e
cl
(
posix:copy-file
tmp
*asdf-fasl*
:method
:rename
)
(
when
warnings-p
#-
clisp
(
format
t
"~&ASDF compiled with warnings. Please fix ECL.~%"
))
(
renam
e-file
tmp
*asdf-fasl*
(
ignore-errors
(
delet
e-file
*asdf-fasl*
))
#+
clozure
:if-exists
#+
clozure
:rename-and-delete
)
(
rename-file
tmp
*asdf-fasl*
)
(
leave-lisp
"ASDF compiled cleanly"
0
)))))))
(
leave-lisp
"ASDF compiled cleanly"
0
)))))))
This diff is collapsed.
Click to expand it.
test/script-support.lisp
+
16
−
1
View file @
d2991b32
...
@@ -11,8 +11,23 @@
...
@@ -11,8 +11,23 @@
(
defvar
*asdf-fasl*
(
defvar
*asdf-fasl*
(
compile-file-pathname
(
compile-file-pathname
(
merge-pathnames
(
merge-pathnames
(
make-pathname
:directory
'
(
:relative
"tmp"
)
:defaults
*asdf-lisp*
)
(
make-pathname
:directory
'
(
:relative
"tmp"
)
:name
(
format
nil
"asdf-~(~A~)"
(
or
#+
allegro
(
format
nil
"~Alisp"
excl:*current-case-mode*
)
#+
armedbear
:abcl
#+
clisp
:clisp
#+
clozure
:ccl
#+
cmu
:cmucl
#+
corman
:cormanlisp
#+
digitool
:mcl
#+
ecl
:ecl
#+
gcl
:gcl
#+
lispworks
:lispworks
#+
sbcl
:sbcl
#+
scl
scl
))
:defaults
*asdf-lisp*
)
*asdf-lisp*
)))
*asdf-lisp*
)))
(
defun
load-asdf
()
(
defun
load-asdf
()
(
load
*asdf-fasl*
))
(
load
*asdf-fasl*
))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment