Closed PhilipDeegan closed 2 weeks ago
I can reproduce this, but I can't fix it. TBB is not even a requirement of Tracy, but of gcc / libstdc++, which depends on it to implement parallel STL, but doesn't even try to link with it, leaving the situation to be handled by projects that want to take advantage of parallel algorithms. There is even no way to check whether the STL implementation in use depends on TBB or not. It's a mess.
The recommended way to deal with this is to install TBB through the package manager, so that it can be picked up by pkg-config (which is also not always provided, as far as I can remember, it has to be added manually by distribution packagers), instead of fetching it through CMake and building it manually.
The problem with building is in TBB itself, and there has been no new releases since 2021.12.0, as you can see at https://github.com/oneapi-src/oneTBB/releases.
As a workaround, you can try compiling Tracy with the NO_PARALLEL_SORT
define, which disables the use of parallel STL and removes the dependency on TBB. However, this is not currently exposed in the CMake build scripts, so some manual tinkering will be required.
With d9fe3ed9 you will be able to set NO_PARALLEL_STL
.
sounds like this can be closed so, I haven't checked but I will at some point
standard cmake config via
cd capture; mkdir build; cd build; cmake ..; make
gcc
tpp cmake config part