File: dune

package info (click to toggle)
pyml 20200518-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 608 kB
  • sloc: ml: 6,229; ansic: 1,610; makefile: 1,224; sh: 13
file content (43 lines) | stat: -rw-r--r-- 949 bytes parent folder | download | duplicates (2)
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
34
35
36
37
38
39
40
41
42
43
(library
  (name pyml)
  (modules numpy py pycaml pyml_arch pytypes pywrappers)
  (c_names numpy_stubs pyml_stubs)
  (wrapped false)
  (libraries bigarray stdcompat pyutils))

(executables
  (names generate)
  (modules generate)
  (libraries stdcompat pyutils))

(library
  (name pyutils)
  (modules pyutils)
  (wrapped false)
  (libraries stdcompat unix))

(rule
  (targets pywrappers.ml pyml.h pyml_dlsyms.inc pyml_wrappers.inc)
  (deps (:gen generate.exe))
  (action (run %{gen})))

(rule
  (targets pyml_arch.ml)
  (deps (:pyml_arch pyml_arch_%{ocaml-config:system}.ml))
  (action (copy %{pyml_arch} pyml_arch.ml)))

(library
  (name pyml_tests_common)
  (modules pyml_tests_common)
  (wrapped false)
  (libraries pyml stdcompat))

(test
  (name numpy_tests)
  (modules numpy_tests)
  (libraries pyml pyml_tests_common stdcompat pyutils))

(test
  (name pyml_tests)
  (modules pyml_tests)
  (libraries pyml pyml_tests_common stdcompat pyutils))