Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b75025d
commit 13972a5
Showing
7 changed files
with
73 additions
and
22 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 |
---|---|---|
@@ -1,9 +1,12 @@ | ||
_build | ||
.merlin | ||
.depend | ||
*.cm[aioxt] | ||
*.cmti | ||
*.cmx[as] | ||
*.[ao] | ||
*.so | ||
*.swp | ||
*~ | ||
*.inc | ||
/generate | ||
|
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 @@ | ||
(library | ||
(name pyml) | ||
(modules numpy py 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)) |
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 @@ | ||
(lang dune 1.6) |
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
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
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
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