convert more modules to yaml
This commit is contained in:
parent
ac03dc7998
commit
51cdb55c53
@ -5,10 +5,11 @@
|
|||||||
# Git repository version and status information
|
# Git repository version and status information
|
||||||
# to the program output.
|
# to the program output.
|
||||||
#
|
#
|
||||||
# autocmake.cfg configuration::
|
# autocmake.yml configuration::
|
||||||
#
|
#
|
||||||
# fetch: https://github.com/coderefinery/autocmake/raw/master/modules/git_info/git_info_sub.cmake
|
# fetch:
|
||||||
# https://github.com/coderefinery/autocmake/raw/master/modules/git_info/git_info.h.in
|
# - "https://github.com/coderefinery/autocmake/raw/master/modules/git_info/git_info_sub.cmake"
|
||||||
|
# - "https://github.com/coderefinery/autocmake/raw/master/modules/git_info/git_info.h.in"
|
||||||
|
|
||||||
# CMAKE_CURRENT_LIST_DIR is undefined in CMake 2.8.2
|
# CMAKE_CURRENT_LIST_DIR is undefined in CMake 2.8.2
|
||||||
# see https://public.kitware.com/Bug/print_bug_page.php?bug_id=11675
|
# see https://public.kitware.com/Bug/print_bug_page.php?bug_id=11675
|
||||||
|
@ -6,10 +6,10 @@
|
|||||||
#
|
#
|
||||||
# CMAKE_Fortran_FLAGS
|
# CMAKE_Fortran_FLAGS
|
||||||
#
|
#
|
||||||
# autocmake.cfg configuration::
|
# autocmake.yml configuration::
|
||||||
#
|
#
|
||||||
# docopt: --int64 Enable 64bit integers [default: False].
|
# docopt: "--int64 Enable 64bit integers [default: False]."
|
||||||
# define: '-DENABLE_64BIT_INTEGERS={0}'.format(arguments['--int64'])
|
# define: "'-DENABLE_64BIT_INTEGERS={0}'.format(arguments['--int64'])"
|
||||||
|
|
||||||
option(ENABLE_64BIT_INTEGERS "Enable 64-bit integers" OFF)
|
option(ENABLE_64BIT_INTEGERS "Enable 64-bit integers" OFF)
|
||||||
|
|
||||||
|
@ -37,18 +37,20 @@
|
|||||||
# MKL_ROOT
|
# MKL_ROOT
|
||||||
# MKLROOT
|
# MKLROOT
|
||||||
#
|
#
|
||||||
# autocmake.cfg configuration::
|
# autocmake.yml configuration::
|
||||||
#
|
#
|
||||||
# docopt: --blas=<BLAS> Detect and link BLAS library (auto or off) [default: auto].
|
# docopt:
|
||||||
# --lapack=<LAPACK> Detect and link LAPACK library (auto or off) [default: auto].
|
# - "--blas=<BLAS> Detect and link BLAS 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].
|
# - "--lapack=<LAPACK> Detect and link LAPACK library (auto or off) [default: auto]."
|
||||||
# define: '-DENABLE_BLAS={0}'.format(arguments['--blas'])
|
# - "--mkl=<MKL> Pass MKL flag to the Intel compiler and linker and skip BLAS/LAPACK detection (sequential, parallel, cluster, or off) [default: off]."
|
||||||
# '-DENABLE_LAPACK={0}'.format(arguments['--lapack'])
|
# define:
|
||||||
# '-DMKL_FLAG={0}'.format(arguments['--mkl'])
|
# - "'-DENABLE_BLAS={0}'.format(arguments['--blas'])"
|
||||||
# '-DMATH_LIB_SEARCH_ORDER="MKL;ESSL;OPENBLAS;ATLAS;ACML;SYSTEM_NATIVE"'
|
# - "'-DENABLE_LAPACK={0}'.format(arguments['--lapack'])"
|
||||||
# '-DBLAS_LANG=Fortran'
|
# - "'-DMKL_FLAG={0}'.format(arguments['--mkl'])"
|
||||||
# '-DLAPACK_LANG=Fortran'
|
# - "'-DMATH_LIB_SEARCH_ORDER=\"MKL;ESSL;OPENBLAS;ATLAS;ACML;SYSTEM_NATIVE\"'"
|
||||||
# warning: 'This module is deprecated and will be removed in future versions'
|
# - "'-DBLAS_LANG=Fortran'"
|
||||||
|
# - "'-DLAPACK_LANG=Fortran'"
|
||||||
|
# warning: "This module is deprecated and will be removed in future versions"
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
# ENABLE_STATIC_LINKING
|
# ENABLE_STATIC_LINKING
|
||||||
|
@ -13,10 +13,10 @@
|
|||||||
# CMAKE_C_FLAGS
|
# CMAKE_C_FLAGS
|
||||||
# CMAKE_CXX_FLAGS
|
# CMAKE_CXX_FLAGS
|
||||||
#
|
#
|
||||||
# autocmake.cfg configuration::
|
# autocmake.yml configuration::
|
||||||
#
|
#
|
||||||
# docopt: --mpi Enable MPI parallelization [default: False].
|
# docopt: "--mpi Enable MPI parallelization [default: False]."
|
||||||
# define: '-DENABLE_MPI={0}'.format(arguments['--mpi'])
|
# define: "'-DENABLE_MPI={0}'.format(arguments['--mpi'])"
|
||||||
|
|
||||||
option(ENABLE_MPI "Enable MPI parallelization" OFF)
|
option(ENABLE_MPI "Enable MPI parallelization" OFF)
|
||||||
|
|
||||||
|
@ -13,10 +13,10 @@
|
|||||||
# CMAKE_C_FLAGS
|
# CMAKE_C_FLAGS
|
||||||
# CMAKE_CXX_FLAGS
|
# CMAKE_CXX_FLAGS
|
||||||
#
|
#
|
||||||
# autocmake.cfg configuration::
|
# autocmake.yml configuration::
|
||||||
#
|
#
|
||||||
# docopt: --omp Enable OpenMP parallelization [default: False].
|
# docopt: "--omp Enable OpenMP parallelization [default: False]."
|
||||||
# define: '-DENABLE_OPENMP={0}'.format(arguments['--omp'])
|
# define: "'-DENABLE_OPENMP={0}'.format(arguments['--omp'])"
|
||||||
|
|
||||||
option(ENABLE_OPENMP "Enable OpenMP parallelization" OFF)
|
option(ENABLE_OPENMP "Enable OpenMP parallelization" OFF)
|
||||||
|
|
||||||
|
@ -15,10 +15,10 @@
|
|||||||
# PYTHON_VERSION_MINOR - Python minor version found e.g. 5
|
# PYTHON_VERSION_MINOR - Python minor version found e.g. 5
|
||||||
# PYTHON_VERSION_PATCH - Python patch version found e.g. 2
|
# PYTHON_VERSION_PATCH - Python patch version found e.g. 2
|
||||||
#
|
#
|
||||||
# autocmake.cfg configuration::
|
# autocmake.yml configuration::
|
||||||
#
|
#
|
||||||
# docopt: --python=<PYTHON_INTERPRETER> The Python interpreter (development version) to use. [default: ''].
|
# docopt: "--python=<PYTHON_INTERPRETER> The Python interpreter (development version) to use. [default: '']."
|
||||||
# define: '-DPYTHON_INTERPRETER="{0}"'.format(arguments['--python'])
|
# define: "'-DPYTHON_INTERPRETER=\"{0}\"'.format(arguments['--python'])"
|
||||||
|
|
||||||
if("${PYTHON_INTERPRETER}" STREQUAL "")
|
if("${PYTHON_INTERPRETER}" STREQUAL "")
|
||||||
find_package(PythonInterp REQUIRED)
|
find_package(PythonInterp REQUIRED)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user