clMathLibraries / clSPARSE

a software library containing Sparse functions written in OpenCL
Apache License 2.0
173 stars 60 forks source link

Possible overlinkage #195

Open ghisvail opened 7 years ago

ghisvail commented 7 years ago

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 7 years ago

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?

ghisvail commented 7 years ago

in glibc?