ya.make 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  1. PY2_LIBRARY()
  2. LICENSE(BSD-3-Clause)
  3. PROVIDES(numpy)
  4. VERSION(1.16.6)
  5. NO_COMPILER_WARNINGS()
  6. PEERDIR(
  7. contrib/libs/clapack
  8. contrib/python/numpy/py2/numpy/core/src/multiarray
  9. contrib/python/numpy/py2/numpy/core/src/umath
  10. contrib/python/numpy/py2/numpy/fft
  11. contrib/python/numpy/py2/numpy/linalg
  12. contrib/python/numpy/py2/numpy/random/mtrand
  13. )
  14. ADDINCL(
  15. contrib/python/numpy/include/numpy/core
  16. contrib/python/numpy/include/numpy/core/include
  17. FOR cython contrib/python/numpy/include/numpy/core/include
  18. contrib/python/numpy/include/numpy/core/include/numpy
  19. contrib/python/numpy/include/numpy/core/src
  20. contrib/python/numpy/include/numpy/core/src/common
  21. contrib/python/numpy/include/numpy/core/src/multiarray
  22. contrib/python/numpy/include/numpy/core/src/npymath
  23. contrib/python/numpy/include/numpy/core/src/npysort
  24. )
  25. CFLAGS(
  26. -DHAVE_CBLAS
  27. -DHAVE_NPY_CONFIG_H=1
  28. -DNO_ATLAS_INFO=1
  29. -D_FILE_OFFSET_BITS=64
  30. -D_LARGEFILE64_SOURCE=1
  31. -D_LARGEFILE_SOURCE=1
  32. )
  33. NO_CHECK_IMPORTS(
  34. numpy.__init__
  35. numpy.core.code_generators.generate_numpy_api
  36. numpy.core.cversions
  37. numpy.core.setup
  38. numpy.distutils.*
  39. numpy.doc.*
  40. numpy.lib.__init__
  41. numpy.ma.version
  42. numpy.matrixlib.__init__
  43. numpy.testing.*
  44. )
  45. NO_LINT()
  46. PY_SRCS(
  47. TOP_LEVEL
  48. numpy/__config__.py
  49. numpy/__init__.py
  50. numpy/_distributor_init.py
  51. numpy/_globals.py
  52. numpy/_pytesttester.py
  53. numpy/compat/__init__.py
  54. numpy/compat/_inspect.py
  55. numpy/compat/py3k.py
  56. numpy/core/__init__.py
  57. numpy/core/_add_newdocs.py
  58. numpy/core/_aliased_types.py
  59. numpy/core/_dtype.py
  60. numpy/core/_dtype_ctypes.py
  61. numpy/core/_internal.py
  62. numpy/core/_methods.py
  63. numpy/core/_string_helpers.py
  64. numpy/core/_type_aliases.py
  65. numpy/core/arrayprint.py
  66. numpy/core/code_generators/generate_numpy_api.py
  67. numpy/core/cversions.py
  68. numpy/core/defchararray.py
  69. numpy/core/einsumfunc.py
  70. numpy/core/fromnumeric.py
  71. numpy/core/function_base.py
  72. numpy/core/getlimits.py
  73. numpy/core/info.py
  74. numpy/core/machar.py
  75. numpy/core/memmap.py
  76. numpy/core/multiarray.py
  77. numpy/core/numeric.py
  78. numpy/core/numerictypes.py
  79. numpy/core/overrides.py
  80. numpy/core/records.py
  81. numpy/core/setup.py
  82. numpy/core/setup_common.py
  83. numpy/core/shape_base.py
  84. numpy/core/umath.py
  85. numpy/core/umath_tests.py
  86. numpy/ctypeslib.py
  87. numpy/distutils/__config__.py
  88. numpy/distutils/__init__.py
  89. numpy/distutils/__version__.py
  90. numpy/distutils/_shell_utils.py
  91. numpy/distutils/ccompiler.py
  92. numpy/distutils/command/__init__.py
  93. numpy/distutils/command/autodist.py
  94. numpy/distutils/command/bdist_rpm.py
  95. numpy/distutils/command/build.py
  96. numpy/distutils/command/build_clib.py
  97. numpy/distutils/command/build_ext.py
  98. numpy/distutils/command/build_py.py
  99. numpy/distutils/command/build_scripts.py
  100. numpy/distutils/command/build_src.py
  101. numpy/distutils/command/config.py
  102. numpy/distutils/command/config_compiler.py
  103. numpy/distutils/command/develop.py
  104. numpy/distutils/command/egg_info.py
  105. numpy/distutils/command/install.py
  106. numpy/distutils/command/install_clib.py
  107. numpy/distutils/command/install_data.py
  108. numpy/distutils/command/install_headers.py
  109. numpy/distutils/command/sdist.py
  110. numpy/distutils/compat.py
  111. numpy/distutils/conv_template.py
  112. numpy/distutils/core.py
  113. numpy/distutils/cpuinfo.py
  114. numpy/distutils/exec_command.py
  115. numpy/distutils/extension.py
  116. numpy/distutils/fcompiler/__init__.py
  117. numpy/distutils/fcompiler/absoft.py
  118. numpy/distutils/fcompiler/compaq.py
  119. numpy/distutils/fcompiler/environment.py
  120. numpy/distutils/fcompiler/g95.py
  121. numpy/distutils/fcompiler/gnu.py
  122. numpy/distutils/fcompiler/hpux.py
  123. numpy/distutils/fcompiler/ibm.py
  124. numpy/distutils/fcompiler/intel.py
  125. numpy/distutils/fcompiler/lahey.py
  126. numpy/distutils/fcompiler/mips.py
  127. numpy/distutils/fcompiler/nag.py
  128. numpy/distutils/fcompiler/none.py
  129. numpy/distutils/fcompiler/pathf95.py
  130. numpy/distutils/fcompiler/pg.py
  131. numpy/distutils/fcompiler/sun.py
  132. numpy/distutils/fcompiler/vast.py
  133. numpy/distutils/from_template.py
  134. numpy/distutils/info.py
  135. numpy/distutils/intelccompiler.py
  136. numpy/distutils/lib2def.py
  137. numpy/distutils/line_endings.py
  138. numpy/distutils/log.py
  139. numpy/distutils/mingw32ccompiler.py
  140. numpy/distutils/misc_util.py
  141. numpy/distutils/msvc9compiler.py
  142. numpy/distutils/msvccompiler.py
  143. numpy/distutils/npy_pkg_config.py
  144. numpy/distutils/numpy_distribution.py
  145. numpy/distutils/pathccompiler.py
  146. numpy/distutils/system_info.py
  147. numpy/distutils/unixccompiler.py
  148. numpy/doc/__init__.py
  149. numpy/doc/basics.py
  150. numpy/doc/broadcasting.py
  151. numpy/doc/byteswapping.py
  152. numpy/doc/constants.py
  153. numpy/doc/creation.py
  154. numpy/doc/dispatch.py
  155. numpy/doc/glossary.py
  156. numpy/doc/indexing.py
  157. numpy/doc/internals.py
  158. numpy/doc/misc.py
  159. numpy/doc/structured_arrays.py
  160. numpy/doc/subclassing.py
  161. numpy/doc/ufuncs.py
  162. numpy/dual.py
  163. numpy/lib/__init__.py
  164. numpy/lib/_datasource.py
  165. numpy/lib/_iotools.py
  166. numpy/lib/_version.py
  167. numpy/lib/arraypad.py
  168. numpy/lib/arraysetops.py
  169. numpy/lib/arrayterator.py
  170. numpy/lib/financial.py
  171. numpy/lib/format.py
  172. numpy/lib/function_base.py
  173. numpy/lib/histograms.py
  174. numpy/lib/index_tricks.py
  175. numpy/lib/info.py
  176. numpy/lib/mixins.py
  177. numpy/lib/nanfunctions.py
  178. numpy/lib/npyio.py
  179. numpy/lib/polynomial.py
  180. numpy/lib/recfunctions.py
  181. numpy/lib/scimath.py
  182. numpy/lib/shape_base.py
  183. numpy/lib/stride_tricks.py
  184. numpy/lib/twodim_base.py
  185. numpy/lib/type_check.py
  186. numpy/lib/ufunclike.py
  187. numpy/lib/user_array.py
  188. numpy/lib/utils.py
  189. numpy/ma/__init__.py
  190. numpy/ma/bench.py
  191. numpy/ma/core.py
  192. numpy/ma/extras.py
  193. numpy/ma/mrecords.py
  194. numpy/ma/testutils.py
  195. numpy/ma/timer_comparison.py
  196. numpy/ma/version.py
  197. numpy/matlib.py
  198. numpy/matrixlib/__init__.py
  199. numpy/matrixlib/defmatrix.py
  200. numpy/polynomial/__init__.py
  201. numpy/polynomial/_polybase.py
  202. numpy/polynomial/chebyshev.py
  203. numpy/polynomial/hermite.py
  204. numpy/polynomial/hermite_e.py
  205. numpy/polynomial/laguerre.py
  206. numpy/polynomial/legendre.py
  207. numpy/polynomial/polynomial.py
  208. numpy/polynomial/polyutils.py
  209. numpy/random/__init__.py
  210. numpy/random/info.py
  211. numpy/testing/__init__.py
  212. numpy/testing/_private/__init__.py
  213. numpy/testing/_private/decorators.py
  214. numpy/testing/_private/noseclasses.py
  215. numpy/testing/_private/nosetester.py
  216. numpy/testing/_private/parameterized.py
  217. numpy/testing/_private/utils.py
  218. numpy/testing/decorators.py
  219. numpy/testing/noseclasses.py
  220. numpy/testing/nosetester.py
  221. numpy/testing/print_coercion_tables.py
  222. numpy/testing/utils.py
  223. numpy/version.py
  224. )
  225. SRCS(
  226. # numpy/core/src/common/python_xerbla.c is defined in blas.
  227. numpy/core/src/dummymodule.c
  228. numpy/core/src/common/npy_longdouble.c
  229. numpy/core/src/common/mem_overlap.c
  230. numpy/core/src/common/ucsnarrow.c
  231. numpy/core/src/common/array_assign.c
  232. numpy/core/src/common/cblasfuncs.c
  233. numpy/core/src/common/ufunc_override.c
  234. numpy/core/src/common/numpyos.c
  235. numpy/core/src/npymath/halffloat.c
  236. numpy/core/src/npymath/ieee754.c
  237. numpy/core/src/npymath/npy_math.c
  238. numpy/core/src/npymath/npy_math_complex.c
  239. numpy/core/src/npysort/binsearch.c
  240. numpy/core/src/npysort/heapsort.c
  241. numpy/core/src/npysort/mergesort.c
  242. numpy/core/src/npysort/quicksort.c
  243. numpy/core/src/npysort/selection.c
  244. numpy/f2py/src/fortranobject.c
  245. )
  246. END()
  247. RECURSE(
  248. numpy/core/src/multiarray
  249. numpy/core/src/umath
  250. numpy/f2py
  251. numpy/fft
  252. numpy/linalg
  253. numpy/random/mtrand
  254. )