33 lines
1.2 KiB
INI
33 lines
1.2 KiB
INI
[project]
|
|
name: example
|
|
|
|
[fc]
|
|
source: ../../../modules/fc.cmake
|
|
docopt: --fc=<FC> Fortran compiler [default: gfortran].
|
|
--extra-fc-flags=<EXTRA_FCFLAGS> Extra Fortran compiler flags [default: ''].
|
|
export: 'FC=%s' % arguments['--fc']
|
|
define: '-DEXTRA_FCFLAGS="%s"' % arguments['--extra-fc-flags']
|
|
|
|
[int64]
|
|
source: ../../../modules/int64.cmake
|
|
docopt: --int64 Enable 64bit integers [default: False].
|
|
define: '-DENABLE_64BIT_INTEGERS=%s' % arguments['--int64']
|
|
|
|
[math_libs]
|
|
source: ../../../modules/math_libs.cmake
|
|
docopt: --blas=<BLAS> Detect and link BLAS library (auto or off) [default: auto].
|
|
--lapack=<LAPACK> Detect and link LAPACK library (auto or off) [default: auto].
|
|
--mkl=<MKL> Pass MKL flag to the Intel compiler and linker and skip BLAS/LAPACK detection (sequential, parallel, cluster, or off) [default: off].
|
|
define: '-DENABLE_BLAS=%s' % arguments['--blas']
|
|
'-DENABLE_LAPACK=%s' % arguments['--lapack']
|
|
'-DMKL_FLAG=%s' % arguments['--mkl']
|
|
'-DMATH_LIB_SEARCH_ORDER="MKL;ESSL;ATLAS;ACML;SYSTEM_NATIVE"'
|
|
'-DBLAS_LANG=Fortran'
|
|
'-DLAPACK_LANG=Fortran'
|
|
|
|
[default_build_paths]
|
|
source: ../../../modules/default_build_paths.cmake
|
|
|
|
[src]
|
|
source: ../../../modules/src.cmake
|