Commit e6e10a2e authored by PRUVOST Florent's avatar PRUVOST Florent

add messages to indicate that a cache variable is set for path to installed libraries

parent 2d2e102a
......@@ -136,6 +136,9 @@ endmacro()
if (NOT BLAS_FOUND)
set(BLAS_DIR "" CACHE PATH "Root directory of BLAS library")
if (NOT BLAS_FIND_QUIETLY)
message(STATUS "A cache variable, namely BLAS_DIR, has been set to specify the install directory of BLAS")
endif()
endif()
option(BLAS_VERBOSE "Print some additional information during BLAS
......
......@@ -52,6 +52,9 @@
if (NOT CBLAS_FOUND)
set(CBLAS_DIR "" CACHE PATH "Root directory of CBLAS library")
if (NOT CBLAS_FIND_QUIETLY)
message(STATUS "A cache variable, namely CBLAS_DIR, has been set to specify the install directory of CBLAS")
endif()
endif()
......
......@@ -50,6 +50,9 @@
if (NOT CHAMELEON_FOUND)
set(CHAMELEON_DIR "" CACHE PATH "Root directory of CHAMELEON library")
if (NOT CHAMELEON_FIND_QUIETLY)
message(STATUS "A cache variable, namely CHAMELEON_DIR, has been set to specify the install directory of CHAMELEON")
endif()
endif()
# Try to find CHAMELEON dependencies if specified as COMPONENTS during the call
......
......@@ -43,6 +43,9 @@
if (NOT FXT_FOUND)
set(FXT_DIR "" CACHE PATH "Root directory of FXT library")
if (NOT FXT_FIND_QUIETLY)
message(STATUS "A cache variable, namely FXT_DIR, has been set to specify the install directory of FXT")
endif()
endif()
# Optionally use pkg-config to detect include/library dirs (if pkg-config is available)
......
......@@ -44,6 +44,9 @@
if (NOT HWLOC_FOUND)
set(HWLOC_DIR "" CACHE PATH "Root directory of HWLOC library")
if (NOT HWLOC_FIND_QUIETLY)
message(STATUS "A cache variable, namely HWLOC_DIR, has been set to specify the install directory of HWLOC")
endif()
endif()
# Optionally use pkg-config to detect include/library dirs (if pkg-config is available)
......
......@@ -115,6 +115,9 @@ endmacro()
if (NOT LAPACK_FOUND)
set(LAPACK_DIR "" CACHE PATH "Root directory of LAPACK library")
if (NOT LAPACK_FIND_QUIETLY)
message(STATUS "A cache variable, namely LAPACK_DIR, has been set to specify the install directory of LAPACK")
endif()
endif (NOT LAPACK_FOUND)
option(LAPACK_VERBOSE "Print some additional information during LAPACK
......
......@@ -51,6 +51,9 @@
if (NOT LAPACKE_FOUND)
set(LAPACKE_DIR "" CACHE PATH "Root directory of LAPACKE library")
if (NOT LAPACKE_FIND_QUIETLY)
message(STATUS "A cache variable, namely LAPACKE_DIR, has been set to specify the install directory of LAPACKE")
endif()
endif()
# LAPACKE depends on LAPACK
......
......@@ -45,6 +45,9 @@
if(NOT MAGMA_FOUND)
set(MAGMA_DIR "" CACHE PATH "Root directory of MAGMA library")
if (NOT MAGMA_FIND_QUIETLY)
message(STATUS "A cache variable, namely MAGMA_DIR, has been set to specify the install directory of MAGMA")
endif()
endif(NOT MAGMA_FOUND)
......
......@@ -43,6 +43,12 @@
# (To distribute this file outside of Morse, substitute the full
# License text for the above reference.)
if (NOT METIS_FOUND)
set(METIS_DIR "" CACHE PATH "Root directory of METIS library")
if (NOT METIS_FIND_QUIETLY)
message(STATUS "A cache variable, namely METIS_DIR, has been set to specify the install directory of METIS")
endif()
endif()
# Looking for include
# -------------------
......
......@@ -43,6 +43,12 @@
# (To distribute this file outside of Morse, substitute the full
# License text for the above reference.)
if (NOT PARMETIS_FOUND)
set(PARMETIS_DIR "" CACHE PATH "Root directory of PARMETIS library")
if (NOT PARMETIS_FIND_QUIETLY)
message(STATUS "A cache variable, namely PARMETIS_DIR, has been set to specify the install directory of PARMETIS")
endif()
endif()
# PARMETIS depends on MPI
# try to find it specified as COMPONENTS during the call
......
......@@ -44,6 +44,12 @@
# (To distribute this file outside of Morse, substitute the full
# License text for the above reference.)
if (NOT PTSCOTCH_FOUND)
set(PTSCOTCH_DIR "" CACHE PATH "Root directory of PTSCOTCH library")
if (NOT PTSCOTCH_FIND_QUIETLY)
message(STATUS "A cache variable, namely PTSCOTCH_DIR, has been set to specify the install directory of PTSCOTCH")
endif()
endif()
# PTSCOTCH may depend on MPI and Threads
# try to find it specified as COMPONENTS during the call
......
......@@ -46,6 +46,9 @@
if (NOT QUARK_FOUND)
set(QUARK_DIR "" CACHE PATH "Root directory of QUARK library")
if (NOT QUARK_FIND_QUIETLY)
message(STATUS "A cache variable, namely QUARK_DIR, has been set to specify the install directory of QUARK")
endif()
endif()
# QUARK may depend on HWLOC
......
......@@ -44,6 +44,12 @@
# (To distribute this file outside of Morse, substitute the full
# License text for the above reference.)
if (NOT SCOTCH_FOUND)
set(SCOTCH_DIR "" CACHE PATH "Root directory of SCOTCH library")
if (NOT SCOTCH_FIND_QUIETLY)
message(STATUS "A cache variable, namely SCOTCH_DIR, has been set to specify the install directory of SCOTCH")
endif()
endif()
# SCOTCH may depend on Threads
# try to find it specified as COMPONENTS during the call
......
......@@ -52,6 +52,9 @@
if (NOT STARPU_FOUND)
set(STARPU_DIR "" CACHE PATH "Root directory of STARPU library")
if (NOT STARPU_FIND_QUIETLY)
message(STATUS "A cache variable, namely STARPU_DIR, has been set to specify the install directory of STARPU")
endif()
endif()
# STARPU may depend on other packages (HWLOC, MPI, CUDA, MAGMA, ...)
......
......@@ -45,7 +45,10 @@
if (NOT TMG_FOUND)
set(TMG_DIR "" CACHE PATH "Root directory of TMG library")
set(TMG_DIR "" CACHE PATH "Root directory of TMG library")
if (NOT TMG_FIND_QUIETLY)
message(STATUS "A cache variable, namely TMG_DIR, has been set to specify the install directory of TMG")
endif()
endif()
......
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