[mlpack-svn] [MLPACK] #312: CMake should link against Armadillo dependencies when ARMA_USE_WRAPPER is not defined

MLPACK Trac trac at coffeetalk-1.cc.gatech.edu
Sat Dec 28 13:56:12 EST 2013


#312: CMake should link against Armadillo dependencies when ARMA_USE_WRAPPER is
not defined
--------------------------+-------------------------------------------------
 Reporter:  rcurtin       |        Owner:  rcurtin                           
     Type:  enhancement   |       Status:  new                               
 Priority:  minor         |    Milestone:                                    
Component:  build system  |     Keywords:  cmake, armadillo, ARMA_USE_WRAPPER
 Blocking:                |   Blocked By:                                    
--------------------------+-------------------------------------------------
 If ARMA_USE_WRAPPER is not defined then -larmadillo is not useful and you
 have to link with -llapack and -lblas and whatever other dependencies.

 It should be possible to modify FindArmadillo.cmake to check whether or
 not ARMA_USE_WRAPPER is enabled, then look at ARMA_USE_LAPACK,
 ARMA_USE_BLAS, ARMA_USE_ARPACK, ARMA_USE_HDF5, and related variables to
 determine what needs to be linked against.  This will probably help solve
 a number of compilation and linking issues, especially with MKL.

 Related mailing list threads:

 https://mailman.cc.gatech.edu/pipermail/mlpack/2013-December/000190.html
 https://mailman.cc.gatech.edu/pipermail/mlpack/2013-November/000171.html

-- 
Ticket URL: <http://trac.research.cc.gatech.edu/fastlab/ticket/312>
MLPACK <www.fast-lab.org>
MLPACK is an intuitive, fast, and scalable C++ machine learning library developed at Georgia Tech.


More information about the mlpack-svn mailing list