uiop.asd 2.37 KB
Newer Older
1 2 3
;;; -*- mode: lisp -*-
(in-package :asdf)

Francois-Rene Rideau's avatar
Francois-Rene Rideau committed
4 5
(unless (or #+asdf2 (version-satisfies (asdf:asdf-version) "2.11.4"))
6 7
  (error "UIOP requires ASDF 2.011.4 or later."))

(defun call-without-redefinition-warnings (thunk)
9 10 11
  (handler-bind (((or
                   #+allegro simple-warning
                   #+clozure ccl:compiler-warning
12 13
                   #+cmucl kernel:simple-style-warning
                   #-(or allegro clozure cmucl) warning)
14 15 16
    (funcall thunk)))

Francois-Rene Rideau's avatar
Francois-Rene Rideau committed
17 18 19 20 21 22 23 24 25 26 27 28
(defsystem "uiop"
  #+asdf3 :long-name #+asdf3 "Utilities for Implementation- and OS- Portability"
  :description "Portability library for Common Lisp programs"
  :long-description "UIOP provides runtime support for Common Lisp programs:
Basic general-purpose utilities that are in such a need that you can't portably construct a
complete program without using some of them. UIOP replaces ASDF/DRIVER and ASDF-UTILS, and offers a
superset of the functionality provided by CL-FAD, EXTERNAL-PROGRAM, TRIVIAL-SHELL, TRIVIAL-BACKTRACE
and a lot of the functionality formerly provided by CL-LAUNCH, XCVB-DRIVER, TRIVIAL-FEATURES,
plus a tiny subset of functionality from ALEXANDRIA and FARE-UTILS.
It is transcluded into asdf.lisp together with ASDF/DEFSYSTEM, so if you did (require \"asdf\")
you already have a matching UIOP loaded."
  :author "Francois-Rene Rideau"
  :licence "MIT"
30 31 32
  :class #+asdf3.1 package-system #-asdf3.1 system
  #+asdf3.1 :version #+asdf3.1 (:read-file-form "version.lisp" :at (2 2 2))
  #+asdf3 :encoding #+asdf3 :utf-8
  #+asdf3 :around-compile #+asdf3 call-without-redefinition-warnings
  ((:static-file "contrib/debug.lisp")
36 37 38
   (:file "package")
   (:file "common-lisp" :depends-on ("package"))
   (:file "utility" :depends-on ("common-lisp"))
   (:file "version" :depends-on ("utility"))
40 41 42 43 44 45
   (:file "os" :depends-on ("utility"))
   (:file "pathname" :depends-on ("utility" "os"))
   (:file "filesystem" :depends-on ("os" "pathname"))
   (:file "stream" :depends-on ("filesystem"))
   (:file "image" :depends-on ("stream"))
   (:file "lisp-build" :depends-on ("image"))
46 47
   (:file "launch-program" :depends-on ("stream"))
   (:file "run-program" :depends-on ("launch-program"))
   (:file "configuration" :depends-on ("image"))
   (:file "backward-driver" :depends-on ("lisp-build" "run-program" "configuration" "version"))
   (:file "driver" :depends-on ("backward-driver"))))