Switch to sionescu/cl-travis
[bordeaux-threads.git] / bordeaux-threads.asd
blob5c6dc9307dff18b34020d1048eef44f3d2195c44
1 ;;;; -*- Mode: Lisp; indent-tabs-mode: nil -*-
3 #|
4 Copyright 2006,2007 Greg Pfeil
6 Distributed under the MIT license (see LICENSE file)
7 |#
9 (eval-when (:compile-toplevel :load-toplevel :execute)
10   #+(or armedbear
11         (and allegro multiprocessing)
12         (and clisp mt)
13         (and openmcl openmcl-native-threads)
14         (and cmu mp)
15         corman
16         (and ecl threads)
17         mkcl
18         lispworks
19         (and digitool ccl-5.1)
20         (and sbcl sb-thread)
21         scl)
22   (pushnew :thread-support *features*))
24 (defsystem :bordeaux-threads
25   :author "Greg Pfeil <greg@technomadic.org>"
26   :licence "MIT"
27   :description "Bordeaux Threads makes writing portable multi-threaded apps simple."
28   :version (:read-file-form "version.sexp")
29   :depends-on (:alexandria
30                #+(and allegro (version>= 9))       (:require "smputil")
31                #+(and allegro (not (version>= 9))) (:require "process")
32                #+corman                            (:require "threads"))
33   :components ((:module "src"
34                 :serial t
35                 :components
36                 ((:file "pkgdcl")
37                  (:file "bordeaux-threads")
38                  (:file #+(and thread-support armedbear) "impl-abcl"
39                         #+(and thread-support allegro)   "impl-allegro"
40                         #+(and thread-support clisp)     "impl-clisp"
41                         #+(and thread-support openmcl)   "impl-clozure"
42                         #+(and thread-support cmu)       "impl-cmucl"
43                         #+(and thread-support corman)    "impl-corman"
44                         #+(and thread-support ecl)       "impl-ecl"
45                         #+(and thread-support mkcl)      "impl-mkcl"
46                         #+(and thread-support lispworks) "impl-lispworks"
47                         #+(and thread-support digitool)  "impl-mcl"
48                         #+(and thread-support sbcl)      "impl-sbcl"
49                         #+(and thread-support scl)       "impl-scl"
50                         #-thread-support                 "impl-null")
51                  #+(and thread-support lispworks (not lispworks6))
52                  (:file "impl-lispworks-condition-variables")
53                  #+(and thread-support digitool)
54                  (:file "condition-variables")
55                  (:file "default-implementations")))))
57 (defsystem :bordeaux-threads/test
58   :author "Greg Pfeil <greg@technomadic.org>"
59   :description "Bordeaux Threads test suite."
60   :licence "MIT"
61   :version (:read-file-form "version.sexp")
62   :depends-on (:bordeaux-threads :fiveam)
63   :components ((:module "test"
64                 :components ((:file "bordeaux-threads-test")))))
66 (defmethod perform ((o test-op) (c (eql (find-system :bordeaux-threads))))
67   (load-system :bordeaux-threads/test :force '(:bordeaux-threads/test))
68   (uiop:symbol-call :5am :run! :bordeaux-threads))