-
Notifications
You must be signed in to change notification settings - Fork 486
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
Replace deprecated tbb task for tbb >= 2021 #3174
Merged
scpeters
merged 23 commits into
gazebosim:gazebo11
from
traversaro:replace_deprecated_tbb_task
Mar 10, 2022
Merged
Changes from 2 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
b8b5650
Fix typo
alexdewar f216564
Remove TopicManagerProcessTask as it is unused
alexdewar 426c22e
Use oneapi::tbb::task_group instead of tbb::task if available
alexdewar fdbab59
Assign my copyright to OSRF
alexdewar c42bfe8
Add myself to AUTHORS
alexdewar 7a7fe64
We no longer need to restrict ourselves to tbb<2021
alexdewar 0c4b54f
Default to using tbb::task for older versions of TBB, to maintain ABI
alexdewar 309194b
Remove C++14-ism from TaskGroup.hh
alexdewar a9e9aed
Use C++ macros cf. CMakery to find TBB version
alexdewar d89a2b0
Replace use of tbb/version.h with tbb/tbb.h
alexdewar 212cf5e
Make sure that there are no ABI changes for tbb < 2021
traversaro 568bf9b
Fix indentation
traversaro 45f24b3
Update transport_pch.hh
traversaro a99a224
Fix linking problems
scpeters 6b0d230
Undef more emit symboles for tbb includes
scpeters bf5240a
Remove trailing whitespace
scpeters 6903800
Cleanup TAskGroup as it is used only if tbb>=2021
traversaro 73db7c7
If tbb >= 2021 add TBB::tbb to GAZEBO_LIBRARIES for downstream users
traversaro d32ae31
Fix CMake configuration failure with tbb 2020
traversaro f1fadd0
Fix GAZEBO_TRANSPORT_TASKGROUP_HH_ header guard
traversaro 8111c4f
For tbb >= 2021 make PublishTask::operator() const
traversaro 4fff786
Merge branch 'gazebo11' into replace_deprecated_tbb_task
traversaro 8f739f2
Unpin tbb-devel
traversaro File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I was a bit afraid of doing so as it changes also the case tbb<2021. Do you think that defining
emit
as empty is ok?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.
@traversaro
emit
is actually defined by Qt as empty too! It's just convention that it's used in Qt code as a pseudo-keyword.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.
Ahh, cool.
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.
I hadn't thought clearly about the implications; I was just trying to get to a working build. We can wrap in
#ifdef
s if neededThere 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.
@scpeters Yes but that shouldn't be necessary. As I said, qt just defines it as an empty macro too.