Commit 3263043e authored by Charles Delort's avatar Charles Delort
Browse files

add openblas

parent 2b65fa16
......@@ -61,7 +61,7 @@ mark_as_advanced(ROOT_FOUND ROOTSYS ROOT_INCLUDE_DIR)
find_package(tbb)
find_package(vdt)
find_package(lzma)
find_package(blas)
find_package(openblas)
######################################################################
# Report findings
if(ROOT_FOUND)
......
# - Locate blaslibrary
# Defines:
# BLAS_FOUND
# BLAS_LIBRARIES
# BLAS_LIBRARY_DIRS (not cached)
find_library(BLAS_LIBRARIES NAMES blas)
get_filename_component(BLAS_LIBRARY_DIRS ${BLAS_LIBRARIES} PATH)
# handle the QUIETLY and REQUIRED arguments and set BLAS_FOUND to TRUE if
# all listed variables are TRUE
INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(BLAS DEFAULT_MSG BLAS_LIBRARIES)
mark_as_advanced(BLAS_FOUND BLAS_LIBRARIES)
# - Locate openblaslibrary
# Defines:
# OPENBLAS_FOUND
# OPENBLAS_LIBRARIES
# OPENBLAS_LIBRARY_DIRS (not cached)
find_library(OPENBLAS_LIBRARIES NAMES openblas)
get_filename_component(OPENBLAS_LIBRARY_DIRS ${OPENBLAS_LIBRARIES} PATH)
# handle the QUIETLY and REQUIRED arguments and set OPENBLAS_FOUND to TRUE if
# all listed variables are TRUE
INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(OPENBLAS DEFAULT_MSG OPENBLAS_LIBRARIES)
mark_as_advanced(OPENBLAS_FOUND OPENBLAS_LIBRARIES)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment