File: PLATFORMS.md

package info (click to toggle)
acl2 8.0dfsg-1
  • links: PTS
  • area: main
  • in suites: buster
  • size: 226,956 kB
  • sloc: lisp: 2,678,900; ansic: 6,101; perl: 5,816; xml: 3,586; cpp: 2,624; ruby: 2,576; makefile: 2,443; sh: 2,312; python: 778; yacc: 764; ml: 763; awk: 260; csh: 186; php: 171; lex: 165; tcl: 44; java: 41; asm: 23; haskell: 17
file content (63 lines) | stat: -rw-r--r-- 2,690 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Shellpool Platforms
===================

Shellpool is meant to be very portable.  It currently depends on the following
Common Lisp libraries.  Normally you can install these automatically using
[quicklisp](http://www.quicklisp.org):

  - [trivial-features](http://www.cliki.net/trivial-features) for identifying OS
  - [cl-fad](http://weitz.de/cl-fad/) for handling temporary files
  - [bordeaux-threads](http://common-lisp.net/project/bordeaux-threads/) for multithreading
  - [bt-semaphore](https://github.com/rmoritz/bt-semaphore) for semaphores

Beyond these libraries Shellpool just needs `bash` and `pgrep`, which are
available on many systems.


## Supported Platforms

Shellpool has a reasonably good [test suite](test/) that can be used to help
ensure compatibility with your system.

 - **Linux**.  All tests should pass on CCL, SBCL, CMUCL, ABCL, Allegro, and
   Lispworks.  Note that for Lispworks you may need to run
   `(bt:start-multiprocessing)` before using Shellpool.

 - **FreeBSD**.  All tests should pass on CCL, SBCL, CMUCL, and ABCL.  Note
   that SBCL must be compiled with `--with-sb-thread`.

 - **MacOS**.  All tests should pass on CCL, SBCL, CMUCL, and ABCL.  Note
   that SBCL must be compiled with `--with-sb-thread`.

 - **Windows**.  All tests should pass on 32-bit CCL trunk on a Windows XP
   system with Cygwin installed and the Cygwin `procps` package installed (for
   `pgrep`).

   It is likely that there are problems that the test suite does not cover,
   e.g., interrupting native Windows applications will probably not work well.
   I have not tested other Lisps, msys, etc., but the CCL port may make such a
   task much easier.

 - **OpenBSD**.  All tests should pass on ABCL.  SBCL 1.2.7 doesn't compile for
   me when I try to enable threading, so it probably won't work.  I don't know
   of other Common Lisps for this platform.

When I re-run the test suite on various platforms, I often use Git tags to mark
the commits.  You can [inspect these
tags](https://github.com/jaredcdavis/shellpool/tags) to see detailed
information on the testing platforms, such as the Lisp and OS versions
involved.


## Not Supported

Shellpool will not currently work on CLISP or ECL because their `run-program`
commands lack `stderr` support.  (Shellpool currently depends on being able to
use both stderr and stdout to function.  It is probably not too difficult to
rework this to avoid needing stderr.)

It would likely be very easy to port shellpool to other Unix-like operating
systems that can run supported Lisps.  I would welcome patches that provide or
improve support for particular Lisps or operating systems, or for adding
additional test cases.