add untested modules for acml, atlas, and goto

This commit is contained in:
Radovan Bast 2015-09-19 16:00:48 +02:00
parent 9e32dd790d
commit aff9a9034c
5 changed files with 72 additions and 6 deletions

22
modules/math/acml.cmake Normal file
View File

@ -0,0 +1,22 @@
#.rst:
#
# Find and link to ACML.
#
# Variables defined::
#
# ACML_FOUND
# ACML_LIBRARIES
# ACML_INCLUDE_DIR
#
# autocmake.cfg configuration::
#
# docopt: --acml Find and link to ACML [default: False].
# define: '-DENABLE_ACML=%s' % arguments['--acml']
option(ENABLE_ACML "Find and link to ACML" OFF)
if(ENABLE_ACML)
set(BLA_VENDOR "ACML")
find_package(BLAS REQUIRED)
unset(BLA_VENDOR)
endif()

22
modules/math/atlas.cmake Normal file
View File

@ -0,0 +1,22 @@
#.rst:
#
# Find and link to ATLAS.
#
# Variables defined::
#
# ATLAS_FOUND
# ATLAS_LIBRARIES
# ATLAS_INCLUDE_DIR
#
# autocmake.cfg configuration::
#
# docopt: --atlas Find and link to ATLAS [default: False].
# define: '-DENABLE_ATLAS=%s' % arguments['--atlas']
option(ENABLE_ATLAS "Find and link to ATLAS" OFF)
if(ENABLE_ATLAS)
set(BLA_VENDOR "ATLAS")
find_package(BLAS REQUIRED)
unset(BLA_VENDOR)
endif()

View File

@ -4,9 +4,9 @@
#
# Variables defined::
#
# BLAS_FOUND - describe me, uncached
# BLAS_LIBRARIES - describe me, uncached
# BLAS_INCLUDE_DIR - describe me, uncached
# BLAS_FOUND
# BLAS_LIBRARIES
# BLAS_INCLUDE_DIR
#
# autocmake.cfg configuration::
#

22
modules/math/goto.cmake Normal file
View File

@ -0,0 +1,22 @@
#.rst:
#
# Find and link to Goto BLAS.
#
# Variables defined::
#
# GOTO_FOUND
# GOTO_LIBRARIES
# GOTO_INCLUDE_DIR
#
# autocmake.cfg configuration::
#
# docopt: --goto Find and link to GOTO [default: False].
# define: '-DENABLE_GOTO=%s' % arguments['--goto']
option(ENABLE_GOTO "Find and link to GOTO" OFF)
if(ENABLE_GOTO)
set(BLA_VENDOR "Goto")
find_package(BLAS REQUIRED)
unset(BLA_VENDOR)
endif()

View File

@ -4,9 +4,9 @@
#
# Variables defined::
#
# LAPACK_FOUND - describe me, uncached
# LAPACK_LIBRARIES - describe me, uncached
# LAPACK_INCLUDE_DIR - describe me, uncached
# LAPACK_FOUND
# LAPACK_LIBRARIES
# LAPACK_INCLUDE_DIR
#
# autocmake.cfg configuration::
#