Closed nandeekan-nvidia closed 1 month ago
I haven't encountered this issue in my environment, though it makes sense. Could you try adding pthread to the cpp_tests/CMakeLists.txt:
target_link_libraries(pytimeloop_cpptest PRIVATE
${LIBTIMELOOP}
config++
yaml-cpp
rt
define_gterminate
pytimeloop
Threads::Threads)
and let me know if that fixes the issue? I can't test it on my own since I didn't encounter the problem.
It looks like the library
pthread
is missing as a dependency from the CMakeLists.txt files. The module does not install unless it is added.Without it, I see the error: