File: meson.build

package info (click to toggle)
numpy 1%3A2.2.4%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 83,420 kB
  • sloc: python: 248,499; asm: 232,365; ansic: 216,874; cpp: 135,657; f90: 1,540; sh: 938; fortran: 558; makefile: 409; sed: 139; xml: 109; java: 92; perl: 79; cs: 54; javascript: 53; objc: 29; lex: 13; yacc: 9
file content (18 lines) | stat: -rw-r--r-- 725 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
source_root = meson.project_source_root()
mod_features = import('features')

VX = mod_features.new(
  'VX', 1, args: ['-mzvector', '-march=arch11'],
  test_code: files(source_root + '/numpy/distutils/checks/cpu_vx.c')[0],
)
VXE = mod_features.new(
  'VXE', 2, implies: VX, args: {'val': '-march=arch12', 'match': '-march=.*'},
  detect: {'val': 'VXE', 'match': 'VX'},
  test_code: files(source_root + '/numpy/distutils/checks/cpu_vxe.c')[0],
)
VXE2 = mod_features.new(
  'VXE2', 3, implies: VXE, args: {'val': '-march=arch13', 'match': '-march=.*'},
  detect: {'val': 'VXE2', 'match': 'VX.*'},
  test_code: files(source_root + '/numpy/distutils/checks/cpu_vxe2.c')[0],
)
S390X_FEATURES = {'VX': VX, 'VXE': VXE, 'VXE2': VXE2}