[mlpack-svn] [MLPACK] #223: Boost.Math is a header-only library now
MLPACK Trac
trac at coffeetalk-1.cc.gatech.edu
Wed Aug 8 13:50:42 EDT 2012
#223: Boost.Math is a header-only library now
-----------------------------------------------------------------+----------
Reporter: rcurtin | Owner: rcurtin
Type: defect | Status: closed
Priority: major | Milestone: mlpack 1.0.2
Component: build system | Resolution: fixed
Keywords: cmake boost math header-only shared library linker | Blocking:
Blocked By: |
-----------------------------------------------------------------+----------
Changes (by rcurtin):
* status: new => closed
* resolution: => fixed
Comment:
1. Newer versions of math_c99.so still have things in them. For example,
1.48 has
{{{
:[ ryan @ greenstreet ]: $ readelf -Ws /usr/lib/libboost_math_c99.so |
grep math
119: 0000000000010f50 28 FUNC GLOBAL DEFAULT 12
_ZN5boost4math3tr18isfiniteIdEEbT_
131: 0000000000010f00 68 FUNC GLOBAL DEFAULT 12
_ZN5boost4math3tr110fpclassifyIdEEiT_
133: 0000000000010fa0 41 FUNC GLOBAL DEFAULT 12
_ZN5boost4math3tr18isnormalIdEEbT_
134: 0000000000010f70 24 FUNC GLOBAL DEFAULT 12
_ZN5boost4math3tr15isinfIdEEbT_
135: 0000000000010f90 8 FUNC GLOBAL DEFAULT 12
_ZN5boost4math3tr15isnanIdEEbT_
142: 0000000000010ef0 8 FUNC GLOBAL DEFAULT 12
_ZN5boost4math3tr17signbitIdEEbT_
}}}
and older versions have more, but it seems as though this stuff is not
needed for MLPACK; that is, when I remove -lboost_math_c99, there are no
problems.
2. Given that we don't need to link against it, we can just drop math_c99
from the Boost dependencies. This change was committed with r13371.
--
Ticket URL: <http://trac.research.cc.gatech.edu/fastlab/ticket/223#comment:1>
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