tbordeaux-threads.asd - clic - Clic is an command line interactive client for gopher written in Common LISP (HTM) git clone git://bitreich.org/clic/ git://hg6vgqziawt5s4dj.onion/clic/ (DIR) Log (DIR) Files (DIR) Refs (DIR) Tags (DIR) LICENSE --- tbordeaux-threads.asd (3097B) --- 1 ;;;; -*- Mode: Lisp; indent-tabs-mode: nil -*- 2 3 #| 4 Copyright 2006,2007 Greg Pfeil 5 6 Distributed under the MIT license (see LICENSE file) 7 |# 8 9 #.(unless (or #+asdf3.1 (version<= "3.1" (asdf-version))) 10 (error "You need ASDF >= 3.1 to load this system correctly.")) 11 12 (eval-when (:compile-toplevel :load-toplevel :execute) 13 #+(or armedbear 14 (and allegro multiprocessing) 15 (and clisp mt) 16 (and openmcl openmcl-native-threads) 17 (and cmu mp) 18 corman 19 (and ecl threads) 20 genera 21 mkcl 22 lispworks 23 (and digitool ccl-5.1) 24 (and sbcl sb-thread) 25 scl) 26 (pushnew :thread-support *features*)) 27 28 (defsystem :bordeaux-threads 29 :author "Greg Pfeil <greg@technomadic.org>" 30 :licence "MIT" 31 :description "Bordeaux Threads makes writing portable multi-threaded apps simple." 32 :version (:read-file-form "version.sexp") 33 :depends-on (:alexandria 34 #+(and allegro (version>= 9)) (:require "smputil") 35 #+(and allegro (not (version>= 9))) (:require "process") 36 #+corman (:require "threads")) 37 :components ((:static-file "version.sexp") 38 (:module "src" 39 :serial t 40 :components 41 ((:file "pkgdcl") 42 (:file "bordeaux-threads") 43 (:file #+(and thread-support armedbear) "impl-abcl" 44 #+(and thread-support allegro) "impl-allegro" 45 #+(and thread-support clisp) "impl-clisp" 46 #+(and thread-support openmcl) "impl-clozure" 47 #+(and thread-support cmu) "impl-cmucl" 48 #+(and thread-support corman) "impl-corman" 49 #+(and thread-support ecl) "impl-ecl" 50 #+(and thread-support genera) "impl-genera" 51 #+(and thread-support mkcl) "impl-mkcl" 52 #+(and thread-support lispworks) "impl-lispworks" 53 #+(and thread-support digitool) "impl-mcl" 54 #+(and thread-support sbcl) "impl-sbcl" 55 #+(and thread-support scl) "impl-scl" 56 #-thread-support "impl-null") 57 #+(and thread-support lispworks (or lispworks4 lispworks5)) 58 (:file "impl-lispworks-condition-variables") 59 #+(and thread-support digitool) 60 (:file "condition-variables") 61 (:file "default-implementations"))))) 62 63 (defsystem :bordeaux-threads/test 64 :author "Greg Pfeil <greg@technomadic.org>" 65 :description "Bordeaux Threads test suite." 66 :licence "MIT" 67 :version (:read-file-form "version.sexp") 68 :depends-on (:bordeaux-threads :fiveam) 69 :components ((:module "test" 70 :components ((:file "bordeaux-threads-test"))))) 71 72 (defmethod perform ((o test-op) (c (eql (find-system :bordeaux-threads)))) 73 (load-system :bordeaux-threads/test) 74 (symbol-call :5am :run! :bordeaux-threads))