mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-14 05:12:38 -08:00
Missing .fas files should trigger rebuild, or subsequent LOAD will fail.
This commit is contained in:
parent
bc74ead74f
commit
dda0b05e5b
1 changed files with 3 additions and 2 deletions
|
|
@ -22,14 +22,15 @@
|
|||
(setf (slot-value instance 'system-p) t))
|
||||
|
||||
(defmethod output-files ((o compile-op) (c cl-source-file))
|
||||
(list (compile-file-pathname (component-pathname c) :type :object)))
|
||||
(list (compile-file-pathname (component-pathname c) :type :object)
|
||||
(compile-file-pathname (component-pathname c) :type :fasl)))
|
||||
|
||||
(defmethod perform :after ((o compile-op) (c cl-source-file))
|
||||
;; 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)))
|
||||
(c:build-fasl output :lisp-files input)))
|
||||
(c:build-fasl output :lisp-files (remove "fas" input :key #'pathname-type :test #'string=))))
|
||||
|
||||
(defmethod perform ((o load-op) (c cl-source-file))
|
||||
(loop for i in (input-files o c)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue