cffi-wrapper-file causes unnecessary recompilation of generated lisp files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
CFFI |
Triaged
|
Medium
|
Unassigned |
Bug Description
I notice a problem with osicat - every time the system is loaded, wrappers.lisp (and everything that depends on it) gets recompiled. It looks like the problem is caused by a cffi bug: compile-op's input file posix/wrappers.
CL-USER> (asdf:input-files 'asdf:compile-op (asdf:find-
(#P"/quicklisp/
CL-USER> (asdf:output-files 'asdf:compile-op (asdf:find-
(#P"/quicklisp/
#P"/quicklisp/
#P"/quicklisp/
".processed-
The .o and .so files are outputs of compile-op, because of
grovel/asdf.lisp:
;;; Declare the .o and .so files as compilation outputs,
;;; so they get picked up by bundle operations.
#.(when (version<= "3.1.6" (asdf-version))
'(defmethod output-files ((op compile-op) (c wrapper-file))
(
(declare (ignore generated-lisp c-file))
(values (append files (list lib-file o-file)) translatedp)))))
Changed in cffi: | |
status: | New → Triaged |
importance: | Undecided → Medium |
description: | updated |
Does this bug only affect ASDF <= 3.1.6?