[mlpack-git] master: Be quiet when finding things so as to not duplicate output. (cdfb98c)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 21:59:32 EST 2015


Repository : https://github.com/mlpack/mlpack

On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/904762495c039e345beba14c1142fd719b3bd50e...f94823c800ad6f7266995c700b1b630d5ffdcf40

>---------------------------------------------------------------

commit cdfb98c5cd9eae7bd885f2d0e361fddd266140fb
Author: Ryan Curtin <ryan at ratml.org>
Date:   Fri Aug 22 20:57:50 2014 +0000

    Be quiet when finding things so as to not duplicate output.


>---------------------------------------------------------------

cdfb98c5cd9eae7bd885f2d0e361fddd266140fb
 CMake/FindArmadillo.cmake | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/CMake/FindArmadillo.cmake b/CMake/FindArmadillo.cmake
index 288fc68..67ede3f 100644
--- a/CMake/FindArmadillo.cmake
+++ b/CMake/FindArmadillo.cmake
@@ -104,8 +104,11 @@ if(EXISTS "${ARMADILLO_INCLUDE_DIR}/armadillo_bits/config.hpp")
     if ((NOT "${ARMA_USE_LAPACK}" STREQUAL "") AND
         (NOT "${ARMA_USE_BLAS}" STREQUAL ""))
       # In order of preference: MKL, ACML, OpenBLAS, ATLAS
+      set(MKL_FIND_QUIETLY true)
       include(ARMA_FindMKL)
+      set(ACMLMP_FIND_QUIETLY true)
       include(ARMA_FindACMLMP)
+      set(ACML_FIND_QUIETLY true)
       include(ARMA_FindACML)
 
       if (MKL_FOUND)
@@ -134,8 +137,11 @@ if(EXISTS "${ARMADILLO_INCLUDE_DIR}/armadillo_bits/config.hpp")
     # If we haven't found BLAS, try.
     if (NOT "${ARMA_USE_BLAS}" STREQUAL "" AND NOT HAVE_BLAS)
       # Search for BLAS.
+      set(OpenBLAS_FIND_QUIETLY true)
       include(ARMA_FindOpenBLAS)
+      set(CBLAS_FIND_QUIETLY true)
       include(ARMA_FindCBLAS)
+      set(BLAS_FIND_QUIETLY true)
       include(ARMA_FindBLAS)
 
       if (OpenBLAS_FOUND)
@@ -166,7 +172,9 @@ if(EXISTS "${ARMADILLO_INCLUDE_DIR}/armadillo_bits/config.hpp")
     # If we haven't found LAPACK, try.
     if (NOT "${ARMA_USE_LAPACK}" STREQUAL "" AND NOT HAVE_LAPACK)
       # Search for LAPACK.
+      set(CLAPACK_FIND_QUIETLY true)
       include(ARMA_FindCLAPACK)
+      set(LAPACK_FIND_QUIETLY true)
       include(ARMA_FindLAPACK)
 
       # Only use ATLAS if OpenBLAS isn't being used.



More information about the mlpack-git mailing list