Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorect TBB test in cmake scripts #688

Closed
yurivict opened this issue Apr 1, 2020 · 4 comments
Closed

Incorect TBB test in cmake scripts #688

yurivict opened this issue Apr 1, 2020 · 4 comments

Comments

@yurivict
Copy link

yurivict commented Apr 1, 2020

CMake Error at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
  Could NOT find TBB (missing: Tbb_LIB_COMPONENTS tbbmalloc_proxy) (found
  suitable version "2019.0", minimum required is "2017.0")
@aflecken
Copy link

aflecken commented May 6, 2020

also having this issue with 2018.0

EDIT: i solved this by just removing tbbmalloc_proxy from the _TBB_COMPONENT_LIST in build/FindTBB.cmake.

I have a feeling that this may be related to the fact that tbbmalloc_proxy isn't actually a library, just an include file, so for example in line 238 of FindTBB.cmake

foreach(COMPONENT ${TBB_FIND_COMPONENTS})
  find_library(Tbb_${COMPONENT}_LIBRARY ${COMPONENT}
    ${_FIND_TBB_ADDITIONAL_OPTIONS}
    PATHS ${_TBB_LIBRARYDIR_SEARCH_DIRS}
    PATH_SUFFIXES ${TBB_PATH_SUFFIXES}
  )

seems like it would fail if COMPONENT is tbbmalloc_proxy.

I could be completely wrong, but I did just successfully build it.

@Idclip
Copy link
Contributor

Idclip commented Jun 12, 2020

@yurivict / @aflecken what platforms are you running into this issue on, are you both on FreeBSD?

@yurivict
Copy link
Author

I am on FreeBSD.

@Idclip
Copy link
Contributor

Idclip commented Jul 20, 2020

Resolved by #749

@Idclip Idclip closed this as completed Jul 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants