zfp
zfp copied to clipboard
Please add pkg-config .pc file
Something like this:
Name: zfp
Description: Library for compressed numerical arrays that support high throughput read and write random access
Requires:
Version: 0.5.3
Libs: -L/usr/local/lib -lzfp
Cflags: -I/usr/local/include
Thanks for the suggestion. I do not have any experience with pkg-config, but from a quick glance at the documentation I would suggest adding this to the repo:
% cat zfp.pc prefix=/usr/local includedir=${prefix}/include libdir=${prefix}/lib
Name: zfp Description: Library for compressed numerical arrays that support high throughput read and write random access URL: https://github.com/LLNL/zfp Requires: Version: 0.5.3 Cflags: -I${includedir} Libs: -L${libdir} -lzfp
One concern is how this interacts with CMake on Linux, where libzfp.so gets installed under /usr/local/lib64. Do you have any suggestions on how to deal with this? Will pkg-config find it there even when libdir=/usr/local/lib?
I'd like to go ahead and close out this issue, but am unsure how to best address it. @ast, if you could submit a .pc file that works with CMake, then I'd be happy to include it in the repo.
Sorry forgot about this! I'll use zfp again in a project I'm working on in august. If you can keep the issue open until the middle of august I'll see if I can come up with something. It's a pretty standard thing so I'm sure there's some functionality in Cmake for generating the pkg-config file.
Specifically I'll experiment with using zfp for streaming a real time power density spectrum (1d array).
ping @ast ;-)
That's amazing!