- Notifications
You must be signed in to change notification settings - Fork 1.6k
/
Copy pathmeson.build
28 lines (21 loc) · 541 Bytes
/
meson.build
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
# cd build
# meson --buildtype release --prefix=$HOME/.local/lapack ..
# ninja
# ninja install
project('LAPACK', 'fortran',
default_options : ['default_library=static', 'libdir=lib/'],
version : '3.8.0')
subdir('BLAS/SRC')
subdir('SRC')
prec =get_option('realkind')
if prec =='d'
bsrc = DBLAS1 + DBLAS2 + DBLAS3
lsrc = DZLAUX + DSLASRC
elif prec =='s'
bsrc = SBLAS1 + SBLAS2 + SBLAS3
lsrc = SCLAUX + SLASRC
endif
blas =library('blas', bsrc,
install : true)
lapack =library('lapack', lsrc, ALLAUX,
install : true)