You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
For now, vtk package which installed by vcpkg always use Sequential as backend, however, when compiling and installing vtk locally, you can choose tbb or openmp as the backend of vtkSMPTools to obtain better performance. I think vcpkg should support this feature.
Proposed solution
Add one or two features for VTK, so that user can choose which SMP backend to use.
Describe alternatives you've considered
The only alternative I can find is compile VTK locally, but this will increase the difficulty of environmental consistency in teamwork, so we don't want give up vcpkg.
Additional context
No response
The text was updated successfully, but these errors were encountered:
When I compile vtkSMPTools locally with -DVTK_SMP_IMPLEMENTATION_TYPE=TBB and -DVTK_SMP_ENABLE_TBB=ON options, a compilation error will occur. Is there no problem with your local compilation?
vtkSMPToolsAPI.cxx.obj : error LNK2005: "public: __cdecl vtk::detail::smp::vtkSMPToolsImpl<2>::vtkSMPToolsImpl<2>(void)" (??0?$vtkSMPToolsImpl@$01@smp@detail@vtk@@QEAA@XZ) already defined in vtkSMPToolsImpl.cxx.obj
Creating library lib\vtkCommonCore-9.3d.lib and object lib\vtkCommonCore-9.3d.exp
bin\vtkCommonCore-9.3d.dll : fatal error LNK1169: one or more multiply defined symbols found
Is your feature request related to a problem? Please describe.
For now, vtk package which installed by vcpkg always use Sequential as backend, however, when compiling and installing vtk locally, you can choose tbb or openmp as the backend of vtkSMPTools to obtain better performance. I think vcpkg should support this feature.
Proposed solution
Add one or two features for VTK, so that user can choose which SMP backend to use.
Describe alternatives you've considered
The only alternative I can find is compile VTK locally, but this will increase the difficulty of environmental consistency in teamwork, so we don't want give up vcpkg.
Additional context
No response
The text was updated successfully, but these errors were encountered: