Upgrade ASDF and introduce a new ECL extension, which are prebuilt systems.

This commit is contained in:
Juan Jose Garcia Ripoll 2010-03-13 14:45:12 +01:00
parent cbc50ceab2
commit 2f68e36135
3 changed files with 734 additions and 415 deletions

View file

@ -254,10 +254,10 @@
(defclass compiled-file (component) ())
(defmethod component-relative-pathname ((component compiled-file))
(compile-file-pathname
(merge-component-relative-pathname
(slot-value component 'relative-pathname)
(component-name component)
"fas")))
(merge-component-name-type
(or (slot-value component 'relative-pathname)
(component-name component))
:type "fas")))
(defmethod output-files (o (c compiled-file))
nil)
@ -270,6 +270,30 @@
(defmethod perform (o (c compiled-file))
nil)
;;;
;;; Pre-built systems
;;;
(defclass prebuilt-system (system)
((static-library :accessor prebuilt-system-static-library :initarg :lib)))
(defmethod output-files ((o lib-op) (c prebuilt-system))
(list (compile-file-pathname (prebuilt-system-static-library c) :type :lib)))
(defmethod perform ((o lib-op) (c prebuilt-system))
(car (output-files o c)))
(defmethod component-depends-on ((o lib-op) (c prebuilt-system))
nil)
(defmethod bundle-sub-operations ((o lib-op) (c prebuilt-system))
nil)
(defmethod bundle-sub-operations ((o monolithic-lib-op) (c prebuilt-system))
(error "Prebuilt system ~S shipped with ECL can not be used in a monolithic library operation." c))
(defmethod bundle-sub-operations ((o monolithic-bundle-op) (c prebuilt-system))
nil)
;;;
;;; Final integration steps
;;;

File diff suppressed because it is too large Load diff

View file

@ -22,6 +22,9 @@ ECL 10.3.2:
- FFI:CLINES admits @lisp-object notation in the strings.
- ECL's contributed modules can now be used in standalone programs, for they
are now stored both in FASL form and as statically linked libraries.
ECL 10.3.1:
===========