-
-
Notifications
You must be signed in to change notification settings - Fork 15.2k
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: Split into tbb_2020_3 and tbb_2021_8 #215689
Conversation
For some reason the build fails: #216403 (comment) Also, merge conflict. |
|
a5826c8
to
e58b743
Compare
Result of 1 package failed to build:
1 package built:
See build log: |
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.
GCC 12 isn't supported in v2021.8.0 according to uxlfoundation/oneTBB#823, and patches from uxlfoundation/oneTBB#866 doesn't seem to be applicable :(
@chuangzhu i see. v2021.8.0 supports
while v2020.3 supports
Source: https://github.com/oneapi-src/oneTBB/blob/v2020.3/doc/Release_Notes.txt#L93 So i think we should use the supported versions. I hope it's not an issue we have GCC 11.3.0 and GCC 9.5.0. I will do the change. |
This is based on PR NixOS#214762 by @mweinelt. For the new release 2021.8, see https://www.intel.com/content/www/us/en/developer/articles/release-notes/intel-oneapi-threading-building-blocks-release-notes.html https://github.com/oneapi-src/oneTBB/releases/tag/v2021.5.0 https://github.com/oneapi-src/oneTBB/releases/tag/v2021.6.0 https://github.com/oneapi-src/oneTBB/releases/tag/v2021.7.0 Due to the significant breakage due to the update to TBB 2021.8, instead split the tbb package into tbb_2020_3 and tbb_2021_8, with the default tbb aliased to tbb_2020_3 in order to minimize breakage.
Supported Compilers: - GNU Compilers (gcc) 4.8.5 - 11.1.1 Source: https://github.com/oneapi-src/oneTBB/blob/v2021.8.0/SYSTEM_REQUIREMENTS.md#supported-compilers Co-authored-by: Chuang Zhu <[email protected]>
Supported Compilers: - GNU Compilers (gcc) 4.8 - 9.1 Source: https://github.com/oneapi-src/oneTBB/blob/v2020.3/doc/Release_Notes.txt#L93 Also remove patch for GCC 13 compatibility as we don't use that (yet).
Can you not mention my account name in the commit message? It causes lots of sticky notifications, that I have to manually mark as read on every commit/branch/fork. Instead, please add me as co-author at the end of the commit message.
|
I followed the rebase instructions, but somehow everything is messed up. That is not intentional! |
I'm locking and closing this pull request, because through the rebase you inadvertently requested many maintainers for review, which subscribed them to update notifications, resulting in unnecessary spam inside everyone's inbox. While we can remove their review requests, we sadly cannot unsubscribe anyone. Please create a new pull request and for the next time remember to set your PR to draft status before rebasing. In draft status, you can preview the list of maintainers that are about to be requested for review, which allows you to sidestep this issue. |
Description of changes
This is based on PR #214762 by @mweinelt.
For the new release 2021.8, see
https://www.intel.com/content/www/us/en/developer/articles/release-notes/intel-oneapi-threading-building-blocks-release-notes.html
https://github.com/oneapi-src/oneTBB/releases/tag/v2021.5.0
https://github.com/oneapi-src/oneTBB/releases/tag/v2021.6.0
https://github.com/oneapi-src/oneTBB/releases/tag/v2021.7.0
Due to the significant breakage due to the update to TBB 2021.8, instead split the tbb package into tbb_2020_3 and tbb_2021_8, with the default tbb aliased to tbb_2020_3 in order to minimize breakage.
The reason I went for this change is that I'd like to package CCTag which depends on TBB 2021. To me this solution seems like a good way to bridge the time until the packages incompatible with TBB 2021.8, but I'm not sure if there are any guidelines regarding splitting packages like this. So please comment if this discouraged for some reason.
I hope I got the split right. In particular, I'm wondering if there's a better solution for sharing
meta
. Also, I'm open to suggestions regarding the versioned package naming scheme.Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)