You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

meson.build 541 B

12345678910111213141516171819202122232425262728
  1. # cd build
  2. # meson --buildtype release --prefix=$HOME/.local/lapack ..
  3. # ninja
  4. # ninja install
  5. project('LAPACK', 'fortran',
  6. default_options : ['default_library=static', 'libdir=lib/'],
  7. version : '3.8.0')
  8. subdir('BLAS/SRC')
  9. subdir('SRC')
  10. prec = get_option('realkind')
  11. if prec == 'd'
  12. bsrc = DBLAS1 + DBLAS2 + DBLAS3
  13. lsrc = DZLAUX + DSLASRC
  14. elif prec == 's'
  15. bsrc = SBLAS1 + SBLAS2 + SBLAS3
  16. lsrc = SCLAUX + SLASRC
  17. endif
  18. blas = library('blas', bsrc,
  19. install : true)
  20. lapack = library('lapack', lsrc, ALLAUX,
  21. install : true)