VTKm in ParaView/VTK fails to find TBB
When building example on
tylo, the examples build failed as follows:
Not searching for unused variables given on the command line. Internal cmake changing into directory: C:/dashboards/buildbot/2000d565/build/Examples/All Error: cmake execution failed CMake Error at C:/dashboards/buildbot/2000d565/source/VTK/ThirdParty/vtkm/vtk-m/CMake/FindTBB.cmake:80 (message): Required library TBB not found. Call Stack (most recent call first): C:/dashboards/buildbot/2000d565/source/VTK/ThirdParty/vtkm/vtk-m/CMake/FindTBB.cmake:287 (findpkg_finish) C:/dashboards/buildbot/2000d565/source/VTK/ThirdParty/vtkm/vtk-m/CMake/VTKmDeviceAdapters.cmake:22 (find_package) C:/dashboards/buildbot/2000d565/source/VTK/ThirdParty/vtkm/vtk-m/CMake/VTKmWrappers.cmake:23 (include)
While we can always pass TBB_ROOT down from ParaViewConfig to VTKm config, shouldn't VTKm keep track of its own TBB?
Tylo is presently circumventing this issue by setting TBB_ROOT env variable.