Git Product home page Git Product logo

findtbb's People

Contributors

benjaminw3 avatar justusc avatar pwm1234-sri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

findtbb's Issues

treatment of TBBROOT

Hello,

What is the expected layout of TBBROOT. Suppose I installed in

/opt/tbb_install
    include/
    lib/

then $TBBROOT=/opt/tbb_install is what should be used. Is this correct?

I'm trying to debug this locally, but the brew installed TBB is always getting found over the custom one regardless of what TBBROOT actually is.

cmake error when installing/exporting target that uses tbb

I just ran into a problem using the FindTBB tbb target. When I put tbb into the target link libraries of my project, I was getting a cmake error (well it was printed out as an error, but the cmake configure step seemed to generate everything) when calling install export. The error said that I was "exporting a target that had a dependency on the tbb target which was not also exported." I think this is because the tbb target is made with an add_library call for a real library rather than an imported library. I made a pull request with changes that made this error/warning go away.

Imported target totally ignores TBB_USE_DEBUG_BUILD

When using TBB_LIBRARIES one could simply set TBB_USE_DEBUG_BUILD=off to prevent linking against TBB debug libraries no matter what CMake configuration is set.
No luck if you want to use the imported target tbb.

TBB_LIBRARIES only contains debug libs

Thanks for this great module to find TBB...

TBB_LIBRARIES seems to only contain the debug libs?

TBB FOUND: TRUE
TBB VERSION: 4.4
TBB LIBRARIES: E:/library/development/tbb/tbb44_20160526oss/lib/intel64/vc14/tbb_preview_debug.libE:/library/development/tbb/tbb44_20160526oss/lib/intel64/vc14/tbbmalloc_debug.libE:/library/development/tbb/tbb44_20160526oss/lib/intel64/vc14/tbb_debug.lib

I haven't set to use TBB_USE_DEBUG_BUILD but CMake is configuring a Debug build option (along with Release) and that seems to trigger this conditional to never get to the release built components.

# Set the library to be used for the component
if(NOT TBB_${_comp}_LIBRARY)
   if(TBB_USE_DEBUG_BUILD AND TBB_${_comp}_LIBRARY_DEBUG)
     set(TBB_${_comp}_LIBRARY "${TBB_${_comp}_LIBRARY_DEBUG}")
   elseif(TBB_${_comp}_LIBRARY_RELEASE)
     set(TBB_${_comp}_LIBRARY "${TBB_${_comp}_LIBRARY_RELEASE}")
   elseif(TBB_${_comp}_LIBRARY_DEBUG)
     set(TBB_${_comp}_LIBRARY "${TBB_${_comp}_LIBRARY_DEBUG}")
   endif()
endif()

Not finding TBB correctly on Ubuntu 16.04 LTS

After upgrading my Ubuntu 14 to 16.04 LTS, FindTBB started to output the following error. The libtbb-dev package is installed (apt-get was used for that). Also, I'm using an updated version of FindTBB.cmake.

Could NOT find TBB (missing: TBB_LIBRARIES) (found version "4.4") Call Stack (most recent call first): /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE) cmake/FindTBB.cmake:256 (find_package_handle_standard_args) CMakeLists.txt:11 (find_package)

can you support oneTBB

  • it always complains that
    CMake Error at C:/Users/user/Documents/github/FindTBB-master/FindTBB.cmake:187 (file):
    file failed to open for reading (No such file or directory):
    
     C:/Users/user/Documents/github/oneapi-tbb-2021.1.1/include/tbb/tbb_stddef.h
    Call Stack (most recent call first):
    CMakeLists.txt:39 (find_package)
    
  • For https://github.com/oneapi-src/oneTBB There is no such header file

References to tbb-NOTFOUND.obj

When I try to use TBB with my CMake project like this:

list(APPEND CMAKE_MODULE_PATH "<path to FindTBB module>")

find_package(TBB REQUIRED)

add_executable(myapp myapp.cc)
target_link_libraries(myapp tbb)

It in the end tries to link tbb-NOTFOUND.obj (which of course fails).

Could NOT find TBB (missing: TBB_LIBRARIES tbbmalloc tbbmalloc_proxy tbb_preview) (found version "4.4")

i got this while run

`cmake_minimum_required(VERSION 2.8)
project(MyProject)

list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules/")

find_package(TBB COMPONENTS tbbmalloc tbbmalloc_proxy tbb_preview)

add_executable(myapp myapp)
target_include_directories(myapp PRIVATE ${TBB_INCLUDE_DIRS})
target_compile_definitions(myapp PRIVATE ${TBB_DEFINITIONS})
target_link_libraries(myapp ${TBB_LIBRARIES})`

this killing my i searched all google no solution

using ubuntu

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.