clMathLibraries/clSPARSE

Possible overlinkage

ghisvail opened this issue · 2 comments

During my packaging effort for clSPARSE, the following warning was raised by the Debian tools:

dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libclsparse1/usr/lib/x86_64-linux-gnu/libclsparseTimer.so.0.10.1.0 was not linked against librt.so.1 (it uses none of the library's symbols)

which usually suggests the target is overlinked, but it could also be a false positive.

Please let me know.

kknox commented

The comment I made in the cmake file is that we use the rt library for the 'high precision timer'

However, when I look at the code in the timer class, it looks like right now it is just using gettimeofday()

Where is that defined in Debian?