Description of problem: tbb doesn't come with a pkgconfig file from upstream. However, debian (and therefore ubuntu) are shipping tbb.pc, which some downstream projects have started depending on. I am requesting that fedora follow suit, and work with upstream to provide the .pc file in the source distribution. For reference, the tbb.pc from ubuntu (downloaded at http://archive.ubuntu.com/ubuntu/pool/universe/t/tbb/tbb_4.0+r233-1.debian.tar.gz) looks like: prefix=/usr exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include Name: Threading Building Blocks Description: Intel's parallelism library for C++ URL: http://www.threadingbuildingblocks.org/ Version: 3.0+r018 Libs: -L${libdir} -ltbb Cflags: -I${includedir}
Agreed that this might be useful to do. I'll contact Intel and see if they would be willing to add the .pc file to their distribution. But I don't think it would be undue burden to carry that file downsteam in the mean time.
I'm spinning an update in rawhide that rebases to 4.0 update 4, and also provides the .pc files. I would prefer naming the .pc file libtbb.pc, as there are two other libraries libtbbmalloc and libtbbmalloc_proxy, but for sake of compatibility and consistency, I dropped the "lib" prefix. Would you please be so kind as to review whether it seems correct?
I just gave the 4.0.4 packages from rawhide a try. The pkgconfig files you've included look good, and work when tested with the projects I mentioned that look for them. Thanks for taking care of this.