forked from owlbarn/owl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_oasis
332 lines (294 loc) · 10.7 KB
/
_oasis
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
# +-------------------------------------------------------------------+
# | Package parameters |
# +-------------------------------------------------------------------+
OASISFormat: 0.4
Name: owl
Version: 0.1
Description: Owl is an OCaml library for scientific computing
Synopsis: Scientific computing library
Authors: Liang Wang (ryanrhymes@gmail.com)
License: MIT
Plugins: META (0.4)
OCamlVersion: >= 4.04
BuildTools: ocamlbuild
Homepage: https://github.com/ryanrhymes/owl
# +-------------------------------------------------------------------+
# | Pre- & Post-build |
# +-------------------------------------------------------------------+
PreBuildCommand: echo "Start compiling Owl ..."
PostBuildCommand: cp script/owl_* ${bindir};
echo "Phew ... it is done!"
# +-------------------------------------------------------------------+
# | Core library |
# +-------------------------------------------------------------------+
Library owl
Path: lib
BuildTools: ocamlbuild, ocamldoc
Modules: Owl,
Owl_const,
Owl_types,
Owl_utils,
Owl_maths,
Owl_stats,
Owl_dense,
### Core components ###
Owl_operator,
Owl_dense_ndarray,
Owl_dense_ndarray_generic,
Owl_dense_matrix,
Owl_dense_matrix_generic,
Owl_dense_vector,
Owl_dense_vector_generic,
Owl_sparse,
Owl_sparse_ndarray,
Owl_sparse_ndarray_generic,
Owl_sparse_matrix,
Owl_sparse_matrix_generic,
Owl_algodiff,
Owl_algodiff_generic,
Owl_algodiff_numerical,
Owl_fft,
Owl_cblas,
Owl_lapacke,
Owl_linalg,
Owl_linalg_generic,
Owl_cluster,
Owl_optimise,
Owl_regression,
Owl_plot,
Owl_dataset,
Owl_toplevel,
### NLP, Topic models ###
nlp/Owl_nlp,
nlp/Owl_nlp_lda,
nlp/Owl_nlp_tfidf,
nlp/Owl_nlp_corpus,
nlp/Owl_nlp_vocabulary,
### Neural network ###
neural/Owl_neural,
neural/Owl_neural_neuron,
neural/Owl_neural_graph,
neural/Owl_neural_feedforward,
neural/Owl_neural_optimise,
neural/Owl_neural_parallel,
### Experimental ###
ext/Owl_ext,
Owl_parallel
InternalModules: Owl_cblas_generated,
Owl_lapacke_generated,
Owl_conv,
Owl_dense_common,
Owl_dense_ndarray_a,
Owl_dense_ndarray_s,
Owl_dense_ndarray_d,
Owl_dense_ndarray_c,
Owl_dense_ndarray_z,
Owl_dense_matrix_s,
Owl_dense_matrix_d,
Owl_dense_matrix_c,
Owl_dense_matrix_z,
Owl_dense_vector_s,
Owl_dense_vector_d,
Owl_dense_vector_c,
Owl_dense_vector_z,
Owl_sparse_common,
Owl_sparse_ndarray_s,
Owl_sparse_ndarray_d,
Owl_sparse_ndarray_c,
Owl_sparse_ndarray_z,
Owl_sparse_matrix_s,
Owl_sparse_matrix_d,
Owl_sparse_matrix_c,
Owl_sparse_matrix_z,
Owl_sparse_dok_matrix,
Owl_pretty,
Owl_slicing,
Owl_linalg_s,
Owl_linalg_d,
Owl_linalg_c,
Owl_linalg_z,
ext/Owl_ext_types,
ext/Owl_ext_lifts,
ext/Owl_ext_uniop,
ext/Owl_ext_binop,
ext/Owl_ext_dense_ndarray,
ext/Owl_ext_dense_matrix,
### Backend modules ###
backend/Owl_backend_gsl_maths,
backend/Owl_backend_gsl_stats,
backend/Owl_backend_gsl_linalg,
# Others
nlp/Owl_nlp_utils,
nlp/Owl_nlp_similarity
CSources: owl_macros.h,
owl_dense_common_c.c,
owl_dense_common_vec_cmp.c,
owl_dense_common_vec_map.c,
owl_dense_common_vec_fold.c,
owl_dense_common_vec_combine.c,
cblas.h,
lapacke.h,
lapacke_config.h,
lapacke_mangling.h,
owl_cblas_generated_stub.c,
owl_lapacke_generated_stub.c
CCOpt: -I$pkg_ctypes
BuildDepends: str, ctypes, ctypes.stubs, plplot, dolog,
eigen, gsl
if system(linux) || system(linux_elf)
CCOpt+: -g -O3 -Ofast
CCLib+: -L/usr/lib
-lopenblas
-llapacke
if system(macosx)
CCOpt+: -O3
CCLib+: -L/usr/local/opt/openblas/lib
-L/usr/local/lib/gcc/7
-framework Accelerate
-lopenblas
-lgfortran
# +-------------------------------------------------------------------+
# | Zoo system |
# +-------------------------------------------------------------------+
Library owl_zoo
Path: zoo
BuildTools: ocamlbuild, ocamldoc
Modules: Owl_zoo_toplevel
BuildDepends: owl, ocaml-compiler-libs, ocaml-compiler-libs.toplevel,
dolog
# +-------------------------------------------------------------------+
# | Performance tests |
# +-------------------------------------------------------------------+
Library perf_common
Install: false
Path: perftest
Modules: Perf_common
# Executable perf_dense_real
# Path: perftest
# CompiledObject: best
# MainIs: perf_dense_real.ml
# BuildDepends: owl
# Executable perf_sparse_real
# Path: perftest
# CompiledObject: best
# MainIs: perf_sparse_real.ml
# BuildDepends: owl
# Executable perf_sparse_complex
# Path: perftest
# CompiledObject: best
# MainIs: perf_sparse_complex.ml
# BuildDepends: owl
# Executable perf_dense_ndarray
# Path: perftest
# CompiledObject: best
# MainIs: perf_dense_ndarray.ml
# BuildDepends: owl
# Executable perf_dense_matrix
# Path: perftest
# CompiledObject: best
# MainIs: perf_dense_matrix.ml
# BuildDepends: owl
# Executable perf_sparse_ndarray
# Path: perftest
# CompiledObject: best
# MainIs: perf_sparse_ndarray.ml
# BuildDepends: owl
# Executable perf_sparse_matrix
# Path: perftest
# CompiledObject: best
# MainIs: perf_sparse_matrix.ml
# BuildDepends: owl
Executable perf_specific_fun
Path: perftest
CompiledObject: best
MainIs: perf_specific_fun.ml
BuildDepends: owl
# +-------------------------------------------------------------------+
# | Executables |
# +-------------------------------------------------------------------+
Executable owl
Path: zoo
CompiledObject: byte
MainIs: owl_zoo.ml
BuildDepends: owl, owl_zoo
# Executable test_sgd
# Path: examples
# CompiledObject: best
# MainIs: test_sgd.ml
# BuildDepends: owl
# Executable test_kmeans
# Path: examples
# CompiledObject: best
# MainIs: test_kmeans.ml
# BuildDepends: owl
# Executable test_log
# Path: examples
# CompiledObject: best
# MainIs: test_log.ml
# BuildDepends: owl
# Executable test_svm
# Path: examples
# CompiledObject: best
# MainIs: test_svm.ml
# BuildDepends: owl
# Executable test_lda
# Path: examples
# CompiledObject: best
# MainIs: test_lda.ml
# BuildDepends: owl
# Executable test_mnist
# Path: examples
# CompiledObject: best
# MainIs: test_mnist.ml
# BuildDepends: owl
Executable test_neural
Path: examples
CompiledObject: best
MainIs: test_neural.ml
BuildDepends: owl
# Executable test_lstm
# Path: examples
# CompiledObject: best
# MainIs: test_lstm.ml
# BuildDepends: owl
# Executable test_tfidf
# Path: examples
# CompiledObject: best
# MainIs: test_tfidf.ml
# BuildDepends: owl
# +-------------------------------------------------------------------+
# | Test |
# +-------------------------------------------------------------------+
Executable test_runner
Path: unittest
MainIs: test_runner.ml
Build$: flag(tests)
Custom: true
CompiledObject: best
Install: false
BuildDepends: owl,
alcotest
Test lib_test
Run$: flag(tests)
Command: $test_runner
WorkingDirectory: unittest
# +-------------------------------------------------------------------+
# | Document |
# +-------------------------------------------------------------------+
AlphaFeatures: ocamlbuild_more_args
Document owldoc
Title: API reference for Owl
Type: ocamlbuild (0.4)
InstallDir: doc
BuildTools: ocamldoc
XOCamlBuildPath: .
XOCamlBuildLibraries: owl
XOCamlbuildExtraArgs: "-docflags '-colorize-code -keep-code -charset utf-8'"
# +-------------------------------------------------------------------+
# | Misc |
# +-------------------------------------------------------------------+
SourceRepository head
Type: git
Location: https://github.com/ryanrhymes/owl.git
Browser: https://github.com/ryanrhymes/owl
Branch: master