forked from ocaml/opam-repository
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ocaml#13819 from diml/release-spawn-0.13.0
[new release] spawn (0.13.0)
- Loading branch information
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |