Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
asdf
asdf
Commits
b5faa083
Commit
b5faa083
authored
Dec 09, 2012
by
Francois-Rene Rideau
Browse files
2.26.13: cleanup some old mess in how component-depends-on works.
parent
16510f59
Changes
3
Hide whitespace changes
Inline
Side-by-side
asdf.asd
View file @
b5faa083
...
...
@@ -14,7 +14,7 @@
:licence
"MIT"
:description
"Another System Definition Facility"
:long-description
"ASDF builds Common Lisp software organized into defined systems."
:version
"2.26.1
2
"
;; to be automatically updated by bin/bump-revision
:version
"2.26.1
3
"
;; to be automatically updated by bin/bump-revision
:depends-on
()
:components
((
:file
"asdf"
)))
...
...
asdf.lisp
View file @
b5faa083
;;; -*- mode: Common-Lisp; Base: 10 ; Syntax: ANSI-Common-Lisp ; coding: utf-8 -*-
;;; This is ASDF 2.26.1
2
: Another System Definition Facility.
;;; This is ASDF 2.26.1
3
: Another System Definition Facility.
;;;
;;; Feedback, bug reports, and patches are all welcome:
;;; please mail to <asdf-devel@common-lisp.net>.
...
...
@@ -118,7 +118,7 @@
;; "2.345.6" would be a development version in the official upstream
;; "2.345.0.7" would be your seventh local modification of official release 2.345
;; "2.345.6.7" would be your seventh local modification of development version 2.345.6
(
asdf-version
"2.26.1
2
"
)
(
asdf-version
"2.26.1
3
"
)
(
existing-asdf
(
find-class
'component
nil
))
(
existing-version
*asdf-version*
)
(
already-there
(
equal
asdf-version
existing-version
)))
...
...
@@ -2298,9 +2298,11 @@ Returns two values:
(
just-done
(
eq
mode
:just-done
))
(
out-files
(
output-files
o
c
))
(
in-files
(
input-files
o
c
))
(
file-op
(
and
out-files
t
))
(
null-op
(
and
(
null
out-files
)
(
null
in-files
)))
;;(image-op (and (null out-files) (not (null in-files))))
(
op-time
(
or
just-done
(
component-operation-time
o
c
)))
(
op-stamp
(
if
(
or
null-op
out-files
)
t
op-time
))
(
op-stamp
(
or
null-op
file-op
op-time
))
(
dep-stamp
(
stamps-latest
(
append
(
loop
:for
(
op
.
comps
)
:in
(
component-depends-on
o
c
)
...
...
@@ -2476,6 +2478,10 @@ Returns two values:
#+
mkcl
(
list
o
f
)
#-
(
or
ecl
mkcl
)
(
list
f
)))
(
defmethod
component-depends-on
((
o
compile-op
)
(
c
component
))
(
cons
`
(
load-op
,@
(
component-load-dependencies
c
))
(
call-next-method
)))
(
defmethod
perform
((
o
compile-op
)
(
c
static-file
))
(
declare
(
ignorable
o
c
))
nil
)
...
...
@@ -2523,6 +2529,10 @@ Returns two values:
:unless
(
string=
(
pathname-type
i
)
"fas"
)
:collect
(
compile-file-pathname
(
lispize-pathname
i
)))))
(
defmethod
component-depends-on
((
o
load-op
)
(
c
component
))
(
cons
`
(
load-op
,@
(
component-load-dependencies
c
))
(
call-next-method
)))
(
defmethod
perform
((
o
load-op
)
(
c
static-file
))
(
declare
(
ignorable
o
c
))
nil
)
...
...
@@ -2531,7 +2541,7 @@ Returns two values:
(
declare
(
ignorable
o
c
))
nil
)
(
defmethod
component-depends-on
((
o
load-op
)
(
c
component
))
(
defmethod
component-depends-on
((
o
load-op
)
(
c
source-file
))
(
declare
(
ignorable
o
))
(
cons
(
list
'compile-op
(
component-name
c
))
(
call-next-method
)))
...
...
@@ -2567,11 +2577,9 @@ Returns two values:
(
declare
(
ignorable
o
c
))
nil
)
;;; FIXME: We simply copy load-op's dependencies. This is Just Not Right.
(
defmethod
component-depends-on
((
o
load-source-op
)
(
c
component
))
(
loop
:with
what-would-load-op-do
=
(
component-depends-on
(
make-sub-operation
o
'load-op
)
c
)
:for
(
op
.
co
)
:in
what-would-load-op-do
:when
(
eq
op
'load-op
)
:collect
(
cons
'load-source-op
co
)))
(
cons
`
(
load-source-op
,@
(
component-load-dependencies
c
))
(
call-next-method
)))
(
defmethod
operation-description
((
o
load-source-op
)
c
)
(
declare
(
ignorable
o
))
...
...
@@ -2931,11 +2939,7 @@ Returns the new tree (which probably shares structure with the old one)"
:when
serial
:do
(
setf
*serial-depends-on*
name
))))
(
compute-module-components-by-name
ret
))
(
setf
(
component-load-dependencies
ret
)
depends-on
)
;; Used by POIU. ASDF3: rename to component-depends-on
(
setf
(
component-in-order-to
ret
)
(
union-of-dependencies
in-order-to
`
((
compile-op
(
load-op
,@
depends-on
))
(
load-op
(
load-op
,@
depends-on
)))))
(
setf
(
component-in-order-to
ret
)
in-order-to
)
(
%refresh-component-inline-methods
ret
rest
)
ret
)))
...
...
test/script-support.lisp
View file @
b5faa083
...
...
@@ -204,5 +204,5 @@ outputs a tag plus a list of variable and their values, returns the last value"
exprs)
(apply 'values ,res)))))
(DBG :cas o c just-done base-stamp stamp-lookup out-files in-files null-op op-time dep-stamp out-stamps in-stamps missing-in missing-out all-present earliest-out latest-in done-stamp (stamp<= latest-in earliest-out) (operation-done-p o c))
;
(DBG :cas o c just-done base-stamp stamp-lookup out-files in-files
file-op
null-op op-time dep-stamp out-stamps in-stamps missing-in missing-out all-present earliest-out latest-in done-stamp (stamp<= latest-in earliest-out) (operation-done-p o c))
|#
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment