Skip to content

Commit

Permalink
Merge pull request ocaml#13819 from diml/release-spawn-0.13.0
Browse files Browse the repository at this point in the history
[new release] spawn (0.13.0)
  • Loading branch information
avsm authored Apr 4, 2019
2 parents c261c4e + abcccf7 commit 9982ecb
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions packages/spawn/spawn.0.13.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
opam-version: "2.0"
maintainer: "[email protected]"
authors: ["Jane Street Group, LLC <[email protected]>"]
homepage: "https://github.com/janestreet/spawn"
bug-reports: "https://github.com/janestreet/spawn/issues"
dev-repo: "git+https://github.com/janestreet/spawn.git"
doc: "https://janestreet.github.io/spawn/"
license: "Apache-2.0"
build: [
["dune" "build" "-p" name "-j" jobs]
# We don't test with OCaml < 4.04 as older versions of ppx_expect
# don't work with dune
["dune" "runtest" "-p" name "-j" jobs] {with-test & ocaml >= "4.04" }
]
depends: [
"dune" {build}
"ppx_expect" {with-test}
"ocaml" {>= "4.02.3"}
]
synopsis: "Spawning sub-processes"
description: """
Spawn is a small library exposing only one functionality: spawning sub-process.

It has three main goals:

1. provide missing features of Unix.create_process such as providing a
working directory

2. provide better errors when a system call fails in the
sub-process. For instance if a command is not found, you get a proper
[Unix.Unix_error] exception

3. improve performances by using vfork when available. It is often
claimed that nowadays fork is as fast as vfork, however in practice
fork takes time proportional to the process memory while vfork is
constant time. In application using a lot of memory, vfork can be
thousands of times faster than fork.
"""
url {
src:
"https://github.com/janestreet/spawn/releases/download/v0.13.0/spawn-v0.13.0.tbz"
checksum: "md5=6eaadbf8f9231415b51658da6b8b090f"
}

0 comments on commit 9982ecb

Please sign in to comment.