Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TBB needs pkg-config or similar interface for easy embedding into applications #5

Closed
anton-malakhov opened this issue Dec 7, 2016 · 5 comments

Comments

@anton-malakhov
Copy link

anton-malakhov commented Dec 7, 2016

Continuum Analytics feedback: Exposing a pkg-config interface for TBB, or something similar (such as llvm-config), sounds like a good way to avoid hard-coding environment-related definitions in every third party project.
TBBROOT is not enough in order to configure application with correct compiler and linker flags needed to build an application which uses TBB.
See the issues related in this PR: numba/numba#2217 (review)

For more information see https://people.freedesktop.org/~dbn/pkg-config-guide.html
It can be done for binary TBB package and can be generated as yet another kind of tbbvars during the build from sources

@KFilipek
Copy link
Contributor

KFilipek commented Mar 9, 2021

Hi,
Are there still plans for introducing pkg-config files into TBB?
Few our engines depend on the TBB and pkg-config will significantly improve experience while working with custom installation paths.
Best regards,
Krzysztof Filipek

@AlexVeprev
Copy link
Contributor

Hi @KFilipek, thank you for reminding about this issue! I don't have any experience in writing pkg-config files, but I can investigate this topic. It may require some time since I'm pretty busy with other activities; feel free to submit a PR or just put a snapshot here if you already have something as your local solution.

karczex pushed a commit to karczex/oneTBB that referenced this issue Mar 11, 2021
karczex pushed a commit to karczex/oneTBB that referenced this issue Mar 11, 2021
FIX: uxlfoundation#5

Signed-off-by: Pawel Karczewski <[email protected]>
@AlexVeprev
Copy link
Contributor

@KFilipek, let me duplicate the question from PR #361:

Is it enough for you to have pkg-config support for build from sources only? Are you interested in having it in prebuilt packages from release page (not sure how to dynamically get prefix value in this case)?

@AlexVeprev
Copy link
Contributor

oneAPI packages (including oneTBB) now have support of pkg-config.

pavelkumbrasev added a commit that referenced this issue Jan 31, 2022
Signed-off-by: pavelkumbrasev <[email protected]>
pavelkumbrasev added a commit that referenced this issue Feb 4, 2022
Signed-off-by: pavelkumbrasev <[email protected]>
pavelkumbrasev added a commit that referenced this issue Feb 24, 2022
Signed-off-by: pavelkumbrasev <[email protected]>
@nh2
Copy link

nh2 commented Jul 19, 2022

oneAPI packages (including oneTBB) now have support of pkg-config.

Related PR: #452


How does it apply to tbbmalloc, can that also be easily configured/linked with using the added pkg-config support?

pavelkumbrasev added a commit that referenced this issue Nov 28, 2022
Signed-off-by: pavelkumbrasev <[email protected]>
pavelkumbrasev added a commit that referenced this issue Dec 2, 2022
Signed-off-by: pavelkumbrasev <[email protected]>
pavelkumbrasev added a commit that referenced this issue Dec 2, 2022
Signed-off-by: pavelkumbrasev <[email protected]>
pavelkumbrasev added a commit that referenced this issue Dec 6, 2022
Signed-off-by: pavelkumbrasev <[email protected]>
pavelkumbrasev added a commit that referenced this issue Jan 16, 2023
Signed-off-by: pavelkumbrasev <[email protected]>
pavelkumbrasev added a commit that referenced this issue Jan 31, 2023
Signed-off-by: pavelkumbrasev <[email protected]>
pavelkumbrasev added a commit that referenced this issue Mar 21, 2023
Signed-off-by: pavelkumbrasev <[email protected]>
pavelkumbrasev added a commit that referenced this issue Apr 3, 2023
Signed-off-by: pavelkumbrasev <[email protected]>
pavelkumbrasev added a commit that referenced this issue Apr 17, 2023
Signed-off-by: pavelkumbrasev <[email protected]>
pavelkumbrasev added a commit that referenced this issue May 5, 2023
Signed-off-by: pavelkumbrasev <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants