[mlpack-svn] [MLPACK] #223: Boost.Math is a header-only library now

MLPACK Trac trac at coffeetalk-1.cc.gatech.edu
Thu Apr 12 11:16:20 EDT 2012


#223: Boost.Math is a header-only library now
--------------------------+-------------------------------------------------
 Reporter:  rcurtin       |        Owner:  rcurtin                                           
     Type:  defect        |       Status:  new                                               
 Priority:  major         |    Milestone:  mlpack 1.0.2                                      
Component:  build system  |     Keywords:  cmake boost math header-only shared library linker
 Blocking:                |   Blocked By:                                                    
--------------------------+-------------------------------------------------
 As of Boost 1.37 or so (a long time ago), Boost.Math became a header-only
 library.  Most distributions still provide a libboost-math-c99.so, but
 some (RHEL5 and RHEL6 base packages -- not ATrpms or other third-party
 repositories) do not, because it's header-only.  Some investigation needs
 to happen here to figure out how to handle this:

 1. Why do most repositories still provide a shared library for Boost.Math
 if it is header-only?  What's in it?

 2. CMake should look for the shared library; if it does not find it, it
 should search for the Boost.Math headers.  If those aren't found, the
 configuration should fail; otherwise, it should be successful.

 Currently, a build on RHEL5 or RHEL6 without third-party repositories
 fails because there is no shared library for Boost.Math.

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


More information about the mlpack-svn mailing list