Code Monkey home page Code Monkey logo

findtbb's People

Watchers

 avatar

findtbb's Issues

Various changes made to the module

I have made several changes to the module including:
-Support for MSVC10
-Detecting whether the TBB_COMPILER and TBB_ARCHITECTURE variables were 
actually set by the user before parsing them
-Searching in both the paths specified by TBB_ARCH_PLATFORM and the 
TBB_COMPILER and TBB_ARCHITECTURE variables as well as in default paths and the 
paths in LIBRARY_PATH and LD_LIBRARY_PATH which are now the sole places where 
tbbvars.sh registers it's paths on Linux
-Fixed the semantics of the PATHS and HINTS variables being sent to the find_ 
commands
-Various other little changes, I marked them all with # My change:

Feel free to incorporate any/all of these changes into the project and thank 
you for taking your time to put this online. If at any point in the future you 
wish to donate the module to the public domain, I would be more than happy.

Original issue reported on code.google.com by [email protected] on 3 Apr 2011 at 1:09

Attachments:

Detect malloc proxy + MSVC11 + Make use of the CMake "optimized" and "debug" keywords to reduce the number of variables

Hi,
I'm using this FindTBB for the CGAL project. Thank you for the work you did. I 
modified the file in order to:

1. Add support for the TBB malloc proxy.

2. Add support for MSVC11 (VC++ 2012).

3. Use the CMake "optimized" and "debug" keywords in TBB_LIBRARIES and 
TBB_LIBRARY_DIRS, so that it covers both release and debug version of TBB. The 
variables are now:
#TBB_INCLUDE_DIRS, where to find task_scheduler_init.h, etc.
#TBB_LIBRARY_DIRS, where to find TBB libraries (both release and debug 
versions, using "optimized" and "debug" CMake keywords).
#TBB_INSTALL_DIR, the base TBB install directory.
#TBB_LIBRARIES, all the TBB libraries (both release and debug versions, using 
"optimized" and "debug" CMake keywords).
# TBB_RELEASE_LIBRARY, the TBB release library
# TBB_MALLOC_RELEASE_LIBRARY, the TBB release malloc library
# TBB_MALLOCPROXY_RELEASE_LIBRARY, the TBB release malloc_proxy library
# TBB_DEBUG_LIBRARY, the TBB debug library
# TBB_MALLOC_DEBUG_LIBRARY, the TBB debug malloc library
# TBB_MALLOCPROXY_DEBUG_LIBRARY, the TBB debug malloc_proxy library
#TBB_FOUND, If false, don't try to use TBB.
#TBB_INTERFACE_VERSION, as defined in tbb/tbb_stddef.h

For example, on my computer, TBB_LIBRARIES now contains:
optimized;D:/tbb/lib/intel64/vc11/tbb.lib;optimized;D:/tbb/lib/intel64/vc11/tbbm
alloc.lib;optimized;D:/tbb/lib/intel64/vc11/tbbmalloc_proxy.lib;debug;D:/tbb/lib
/intel64/vc11/tbb_debug.lib;debug;D:/tbb/lib/intel64/vc11/tbbmalloc_debug.lib;de
bug;D:/tbb/lib/intel64/vc11/tbbmalloc_proxy_debug.lib

You'll find my FindTBB.cmake attached if you're interested.
Best regards,
Clement.

Original issue reported on code.google.com by [email protected] on 23 Jan 2013 at 4:40

Attachments:

Add support for "from source" builds of TBB

Hi,
I don't know about windows, but certainly on linux I actually prefer to use the 
source package of TBB. This avoids having to remember whether your CPU is 
ia32/ia64/intel64, and ensures compatibility with your installed version of GCC 
(though I guess that's probably not an issue in practice).

Anyway, if you're interested, I would suggest adding support for such an 
installation by checking for definition of the cmake variable TBB_SRC_DIR,
which contains the path to the untarred TBB directory (user must have run 
'make' already). 

I attach the FindTBB.cmake I've been using, if you're interested in integrating 
it into your all singing version.

Best wishes,
Tim.


Original issue reported on code.google.com by [email protected] on 28 Feb 2012 at 7:46

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.