Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] how to enabe TBB

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] how to enabe TBB


Chronological Thread 
  • From: Clément Jamin <>
  • To:
  • Subject: Re: [cgal-discuss] how to enabe TBB
  • Date: Mon, 20 Oct 2014 15:33:26 +0200

On Mon, Oct 20, 2014 at 3:22 PM, TomVD
<>
wrote:
> Dear CGAL mailing list,
>
> I'm very excited that the new release includes parallel triangulation,
> because that was the bottleneck in my numerical code. I'm currently trying
> to compile the CGAL-4.5 library, but I do not know how to enable the
> library. I've tried setting system variable $TBBROOT and $TBB_ARCH_PLATFORM
> (as indicated in the documentation), but the cmake command does not discover
> my custom location of the TBB library. I have also grepped the cmake files
> for TBB, but in the default library, there is no search for TBB.
> In what stage should I link to the TBB library? Should I only do it in the
> final compilation of my own code?

Yes, look at the CMakeLists.txt of the Triangulation_3 examples, it should
help.

> Or should I already link during the CGAL
> compilation time?

No, it's not necessary.

> I'm guessing it is the latter. How then do I force the
> cmake script to look for TBB?
>
> Thanks,
>
> Tom
>
>
>
> --
> View this message in context:
> http://cgal-discuss.949826.n4.nabble.com/how-to-enabe-TBB-tp4659985.html
> Sent from the cgal-discuss mailing list archive at Nabble.com.
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://sympa.inria.fr/sympa/info/cgal-discuss
>
>



Archive powered by MHonArc 2.6.18.

Top of Page