File: meson.build

package info (click to toggle)
scipy 1.10.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 284,824 kB
  • sloc: cpp: 2,176,247; python: 253,822; ansic: 151,905; fortran: 93,071; javascript: 32,693; f90: 1,092; makefile: 630; cs: 534; sh: 516; pascal: 466; csh: 135; xml: 56; perl: 54
file content (38 lines) | stat: -rw-r--r-- 694 bytes parent folder | download
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
odrpack = static_library('odrpack',
  [
    'odrpack/d_lpk.f',
    'odrpack/d_mprec.f',
    'odrpack/d_odr.f',
    'odrpack/dlunoc.f'
  ],
  fortran_args: _fflag_Wno_conversion,  # silence "conversion from REAL(8) to INTEGER(4)"
)

py3.extension_module('__odrpack',
  '__odrpack.c',
  link_with: odrpack,
  include_directories: inc_np,
  link_args: version_link_args,
  c_args: numpy_nodepr_api,
  dependencies: [blas],
  install: true,
  link_language: 'fortran',
  subdir: 'scipy/odr'
)


python_sources = [
  '__init__.py',
  '_add_newdocs.py',
  '_models.py',
  '_odrpack.py',
  'models.py',
  'odrpack.py'
]

py3.install_sources(
  python_sources,
  subdir: 'scipy/odr'
)

subdir('tests')