Bug 825402 - RFE: Provide a pkgconfig file with tbb
RFE: Provide a pkgconfig file with tbb
Product: Fedora
Classification: Fedora
Component: tbb (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Petr Machata
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-05-25 19:21 EDT by Rich Mattes
Modified: 2015-05-04 21:36 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-08-01 20:03:50 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Rich Mattes 2012-05-25 19:21:31 EDT
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:


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}
Comment 1 Petr Machata 2012-06-04 15:53:57 EDT
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.
Comment 2 Petr Machata 2012-06-07 16:00:12 EDT
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?
Comment 3 Rich Mattes 2012-06-10 14:32:30 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.