/
opam
33 lines (30 loc) · 1.07 KB
/
opam
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
opam-version: "2.0"
maintainer: ["David Kaloper Meršinjak <dk505@cam.ac.uk>"]
authors: ["David Kaloper Meršinjak <dk505@cam.ac.uk>"]
license: "ISC"
homepage: "https://github.com/pqwy/ocaml-papi"
doc: "https://pqwy.github.io/ocaml-papi/doc"
dev-repo: "git+https://github.com/pqwy/ocaml-papi.git"
bug-reports: "https://github.com/pqwy/ocaml-papi/issues"
synopsis: "Performance Application Programming Interface (PAPI) bindings"
build: [ [ "dune" "subst" ] {dev}
[ "dune" "build" "-p" name "-j" jobs ]
[ "dune" "runtest" "-p" name "-j" jobs ] {with-test} ]
depends: [
"ocaml" {< "4.14"}
"dune" {>= "1.7"}
"fmt" {with-test} ]
depexts: [
["libpapi-dev"] {os-family = "debian"}
["papi-devel"] {os-distribution = "centos"}
["papi"] {os-distribution = "arch"}
]
description: """
Papi provides OCaml bindings to PAPI, a C library for portable access to
hardware performance counters.
"""
url {
src:
"https://github.com/pqwy/ocaml-papi/releases/download/v0.1.1/papi-v0.1.1.tbz"
checksum: "md5=4acb07e494c1a2c0ff8244d042f02629"
}