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
Pascal J. Bourguignon
asdf
Commits
63ce1e4e
Commit
63ce1e4e
authored
15 years ago
by
Francois-Rene Rideau
Browse files
Options
Downloads
Patches
Plain Diff
lispize any pathname we pass through compile-file-pathname.
parent
44762754
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
asdf.lisp
+12
-8
12 additions, 8 deletions
asdf.lisp
with
12 additions
and
8 deletions
asdf.lisp
+
12
−
8
View file @
63ce1e4e
...
...
@@ -693,6 +693,9 @@ actually-existing directory."
:defaults
p
)
sofar
)))))))
(
defun
lispize-pathname
(
input-file
)
(
make-pathname
:type
"lisp"
:defaults
input-file
))
;;;; -------------------------------------------------------------------------
;;;; Classes, Conditions
...
...
@@ -1484,7 +1487,7 @@ recursive calls to traverse.")
;; Note how we use OUTPUT-FILES to find the binary locations
;; This allows the user to override the names.
(
let*
((
input
(
output-files
o
c
))
(
output
(
compile-file-pathname
(
first
input
)
:type
:fasl
)))
(
output
(
compile-file-pathname
(
lispize-pathname
(
first
input
)
)
:type
:fasl
)))
(
c:build-fasl
output
:lisp-files
(
remove
"fas"
input
:key
#'
pathname-type
:test
#'
string=
))))
(
defmethod
perform
:after
((
operation
operation
)
(
c
component
))
...
...
@@ -1518,11 +1521,12 @@ recursive calls to traverse.")
(
error
'compile-error
:component
c
:operation
operation
)))))
(
defmethod
output-files
((
operation
compile-op
)
(
c
cl-source-file
))
#-
:broken-fasl-loader
(
list
#-
ecl
(
compile-file-pathname
(
component-pathname
c
))
#+
ecl
(
compile-file-pathname
(
component-pathname
c
)
:type
:object
)
#+
ecl
(
compile-file-pathname
(
component-pathname
c
)
:type
:fasl
))
#+
:broken-fasl-loader
(
list
(
component-pathname
c
)))
(
let
((
p
(
lispize-pathname
(
component-pathname
c
))))
#-
:broken-fasl-loader
(
list
#-
ecl
(
compile-file-pathname
p
)
#+
ecl
(
compile-file-pathname
p
:type
:object
)
#+
ecl
(
compile-file-pathname
p
:type
:fasl
))
#+
:broken-fasl-loader
(
list
p
)))
(
defmethod
perform
((
operation
compile-op
)
(
c
static-file
))
nil
)
...
...
@@ -1545,7 +1549,7 @@ recursive calls to traverse.")
#-
ecl
(
mapcar
#'
load
(
input-files
o
c
))
#+
ecl
(
loop
:for
i
:in
(
input-files
o
c
)
:unless
(
string=
(
pathname-type
i
)
"fas"
)
:collect
(
let
((
output
(
compile-file-pathname
i
)))
:collect
(
let
((
output
(
compile-file-pathname
(
lispize-pathname
i
)
)))
(
load
output
))))
(
defmethod
perform-with-restarts
(
operation
component
)
...
...
@@ -2506,7 +2510,7 @@ return the configuration"
(
defun
compile-file-pathname*
(
input-file
&rest
keys
)
(
apply-output-translations
(
apply
#'
compile-file-pathname
(
truenamize
(
mak
e-pathname
:type
"lisp"
:defaults
input-file
))
(
truenamize
(
lispiz
e-pathname
input-file
))
keys
)))
;;;; -----------------------------------------------------------------
...
...
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