-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
CMake: add option TBB_INSTALL #800
Conversation
Hi @phprus, I'd like to double check that I got the use case properly: you want to have oneTBB added into your project with |
I use this patch (and set TBB_INSTALL to OFF) and custom |
Ping? |
f55b315
to
a9742c0
Compare
Rebased onto current master. |
a9742c0
to
8043a0e
Compare
Rebased |
8043a0e
to
f93dc4e
Compare
@pavelkumbrasev, @isaevil what do you think about this PR? |
f93dc4e
to
fc9b259
Compare
@pavelkumbrasev, @isaevil, @kboyarinov |
fc9b259
to
e3664da
Compare
Rebased |
e3664da
to
ac43785
Compare
ac43785
to
891f63f
Compare
Rebased and ping. |
891f63f
to
61518db
Compare
61518db
to
9bf5871
Compare
Signed-off-by: Vladislav Shchapov <[email protected]>
9bf5871
to
3f1f948
Compare
Rebased to resolve conflicts with current master. Request review @isaevil, @pavelkumbrasev, @dnmokhov, @ilya-lavrenov |
@phprus can you just use |
@ilya-lavrenov, Thank you for your reply!
I need build/run all tests and Since the build system has the |
Why do you need to build tests when TBB (or other external project) is used as submodule and included into main project via
It allows. But there are some corner cases (like we had with pugixml zeux/pugixml#585 in OpenVINO). |
We try to run tests for all dependencies. Sometimes this helps to find bugs in dependencies. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Vladislav Shchapov [email protected]
Description
Make installation optional.
In the case of including oneTBB using add_subdirectory, it may require a custom installation rules.
Fixes # - issue number(s) if exists
Type of change
Choose one or multiple, leave empty if none of the other choices apply
Add a respective label(s) to PR if you have permissions
Tests
Documentation
Breaks backward compatibility
Notify the following users
List users with
@
to send notificationsOther information