File: dune

package info (click to toggle)
ocaml-multicore-bench 0.1.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 320 kB
  • sloc: ml: 1,476; sh: 60; makefile: 6
file content (21 lines) | stat: -rw-r--r-- 354 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
(* -*- tuareg -*- *)

let maybe_domain_shims_and_threads =
  if Jbuild_plugin.V1.ocaml_version < "5" then "domain_shims threads.posix"
  else ""

let () =
  Jbuild_plugin.V1.send
  @@ {|

(test
 (name main)
 (action
  (run %{test} -brief))
 (libraries
  multicore-bench
  backoff
  unix
  multicore-magic |}
  ^ maybe_domain_shims_and_threads ^ {| ))
|}