Is the boost TR1 math package actually required?

Asked by Jonathan Underwood

I am in the process of packaging the FEniCS components for Fedora and EPEL. On RHEL6 in particular, with the currently shipped boost packages, CMake fails to find the math_tr1 boost libraries, as they're not properly included in the boost package, see:

https://bugzilla.redhat.com/show_bug.cgi?id=820670

However, grepping quickly through the source, I can't actually see anywhere where the TR1 boost libraries are actually used. The changelog shows some removal of TR1 boost usage in the past.

Is boost TR1 math still a requirement?

Question information

Language:
English Edit question
Status:
Answered
For:
DOLFIN Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Johan Hake (johan-hake) said :
#1

It is used to support code generation for Bessel functions. The only
time we need it is when forms with a bessel function is compiled. This
wont happen to often, but the runtime configure system is pour so we
added it to the CMake system, with the drawback of imposing a compile
time dependency on boost math...

Johan

On 05/12/2012 02:20 AM, Jonathan Underwood wrote:
> New question #196953 on DOLFIN:
> https://answers.launchpad.net/dolfin/+question/196953
>
> I am in the process of packaging the FEniCS components for Fedora and
> EPEL. On RHEL6 in particular, with the currently shipped boost
> packages, CMake fails to find the math_tr1 boost libraries, as
> they're not properly included in the boost package, see:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=820670
>
> However, grepping quickly through the source, I can't actually see
> anywhere where the TR1 boost libraries are actually used. The
> changelog shows some removal of TR1 boost usage in the past.
>
> Is boost TR1 math still a requirement?
>

Can you help with this problem?

Provide an answer of your own, or ask Jonathan Underwood for more information if necessary.

To post a message you must log in.