[mlpack] 44/58: Be quiet when finding things so as to not duplicate output.

Barak A. Pearlmutter barak+git at cs.nuim.ie
Tue Sep 9 13:19:42 UTC 2014


This is an automated email from the git hooks/post-receive script.

bap pushed a commit to branch svn-trunk
in repository mlpack.

commit 4b30142084985a26ff930d2e6a00249a8fe72c2f
Author: rcurtin <rcurtin at 9d5b8971-822b-0410-80eb-d18c1038ef23>
Date:   Fri Aug 22 20:57:50 2014 +0000

    Be quiet when finding things so as to not duplicate output.
    
    
    git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@17100 9d5b8971-822b-0410-80eb-d18c1038ef23
---
 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.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mlpack.git



More information about the debian-science-commits mailing list