| 1 |
(library |
| 2 |
(name coqperf) |
| 3 |
(synopsis "Instruction count using Linux perf.") |
| 4 |
(public_name rocq-runtime.perf) |
| 5 |
(wrapped false) |
| 6 |
(foreign_stubs (language c) (names perf)) |
| 7 |
; Just "linux" is not enough, see https://github.com/ocaml/dune/issues/4895. |
| 8 |
(enabled_if |
| 9 |
(or |
| 10 |
(= %{system} "linux") |
| 11 |
(= %{system} "linux_eabi") |
| 12 |
(= %{system} "linux_eabihf") |
| 13 |
(= %{system} "linux_elf") |
| 14 |
(= %{system} "elf")))) |
| 15 |
|
| 16 |
(deprecated_library_name |
| 17 |
(old_public_name coq-core.perf) |
| 18 |
(new_public_name rocq-runtime.perf)) |