switch to .format()
This commit is contained in:
parent
0c6976a70d
commit
5b7ad87479
@ -9,7 +9,7 @@
|
||||
# autocmake.cfg configuration::
|
||||
#
|
||||
# docopt: --int64 Enable 64bit integers [default: False].
|
||||
# define: '-DENABLE_64BIT_INTEGERS=%s' % arguments['--int64']
|
||||
# define: '-DENABLE_64BIT_INTEGERS={0}'.format(arguments['--int64'])
|
||||
|
||||
option(ENABLE_64BIT_INTEGERS "Enable 64-bit integers" OFF)
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
# autocmake.cfg configuration::
|
||||
#
|
||||
# docopt: --accelerate Find and link to ACCELERATE [default: False].
|
||||
# define: '-DENABLE_ACCELERATE=%s' % arguments['--accelerate']
|
||||
# define: '-DENABLE_ACCELERATE={0}'.format(arguments['--accelerate'])
|
||||
# fetch: https://github.com/coderefinery/autocmake/raw/master/modules/find/find_libraries.cmake
|
||||
# https://github.com/coderefinery/autocmake/raw/master/modules/find/find_include_files.cmake
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
# autocmake.cfg configuration::
|
||||
#
|
||||
# docopt: --acml Find and link to ACML [default: False].
|
||||
# define: '-DENABLE_ACML=%s' % arguments['--acml']
|
||||
# define: '-DENABLE_ACML={0}'.format(arguments['--acml'])
|
||||
|
||||
option(ENABLE_ACML "Find and link to ACML" OFF)
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
# autocmake.cfg configuration::
|
||||
#
|
||||
# docopt: --atlas Find and link to ATLAS [default: False].
|
||||
# define: '-DENABLE_ATLAS=%s' % arguments['--atlas']
|
||||
# define: '-DENABLE_ATLAS={0}'.format(arguments['--atlas'])
|
||||
|
||||
option(ENABLE_ATLAS "Find and link to ATLAS" OFF)
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
# autocmake.cfg configuration::
|
||||
#
|
||||
# docopt: --blas Find and link to BLAS [default: False].
|
||||
# define: '-DENABLE_BLAS=%s' % arguments['--blas']
|
||||
# define: '-DENABLE_BLAS={0}'.format(arguments['--blas'])
|
||||
|
||||
option(ENABLE_BLAS "Find and link to BLAS" OFF)
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
# autocmake.cfg configuration::
|
||||
#
|
||||
# docopt: --cblas Find and link to CBLAS [default: False].
|
||||
# define: '-DENABLE_CBLAS=%s' % arguments['--cblas']
|
||||
# define: '-DENABLE_CBLAS={0}'.format(arguments['--cblas'])
|
||||
# fetch: https://github.com/coderefinery/autocmake/raw/master/modules/find/find_libraries.cmake
|
||||
# https://github.com/coderefinery/autocmake/raw/master/modules/find/find_include_files.cmake
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
# autocmake.cfg configuration::
|
||||
#
|
||||
# docopt: --goto Find and link to GOTO [default: False].
|
||||
# define: '-DENABLE_GOTO=%s' % arguments['--goto']
|
||||
# define: '-DENABLE_GOTO={0}'.format(arguments['--goto'])
|
||||
|
||||
option(ENABLE_GOTO "Find and link to GOTO" OFF)
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
# autocmake.cfg configuration::
|
||||
#
|
||||
# docopt: --lapack Find and link to LAPACK [default: False].
|
||||
# define: '-DENABLE_LAPACK=%s' % arguments['--lapack']
|
||||
# define: '-DENABLE_LAPACK={0}'.format(arguments['--lapack'])
|
||||
|
||||
option(ENABLE_LAPACK "Find and link to LAPACK" OFF)
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
# autocmake.cfg configuration::
|
||||
#
|
||||
# docopt: --lapacke Find and link to LAPACKE [default: False].
|
||||
# define: '-DENABLE_LAPACKE=%s' % arguments['--lapacke']
|
||||
# define: '-DENABLE_LAPACKE={0}'.format(arguments['--lapacke'])
|
||||
# fetch: https://github.com/coderefinery/autocmake/raw/master/modules/find/find_libraries.cmake
|
||||
# https://github.com/coderefinery/autocmake/raw/master/modules/find/find_include_files.cmake
|
||||
|
||||
|
@ -42,9 +42,9 @@
|
||||
# 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']
|
||||
# define: '-DENABLE_BLAS={0}'.format(arguments['--blas'])
|
||||
# '-DENABLE_LAPACK={0}'.format(arguments['--lapack'])
|
||||
# '-DMKL_FLAG={0}'.format(arguments['--mkl'])
|
||||
# '-DMATH_LIB_SEARCH_ORDER="MKL;ESSL;OPENBLAS;ATLAS;ACML;SYSTEM_NATIVE"'
|
||||
# '-DBLAS_LANG=Fortran'
|
||||
# '-DLAPACK_LANG=Fortran'
|
||||
|
@ -16,7 +16,7 @@
|
||||
# autocmake.cfg configuration::
|
||||
#
|
||||
# docopt: --mpi Enable MPI parallelization [default: False].
|
||||
# define: '-DENABLE_MPI=%s' % arguments['--mpi']
|
||||
# define: '-DENABLE_MPI={0}'.format(arguments['--mpi'])
|
||||
|
||||
option(ENABLE_MPI "Enable MPI parallelization" OFF)
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
# autocmake.cfg configuration::
|
||||
#
|
||||
# docopt: --omp Enable OpenMP parallelization [default: False].
|
||||
# define: '-DENABLE_OPENMP=%s' % arguments['--omp']
|
||||
# define: '-DENABLE_OPENMP={0}'.format(arguments['--omp'])
|
||||
|
||||
option(ENABLE_OPENMP "Enable OpenMP parallelization" OFF)
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
# autocmake.cfg configuration::
|
||||
#
|
||||
# docopt: --python=<PYTHON_INTERPRETER> The Python interpreter (development version) to use. [default: ''].
|
||||
# define: '-DPYTHON_INTERPRETER="%s"' % arguments['--python']
|
||||
# define: '-DPYTHON_INTERPRETER="{0}"'.format(arguments['--python'])
|
||||
|
||||
if("${PYTHON_INTERPRETER}" STREQUAL "")
|
||||
find_package(PythonInterp REQUIRED)
|
||||
|
Loading…
x
Reference in New Issue
Block a user