tbb_2021: 2021.11.0 -> 2021.13.0; shorten name; move to by-name#402508
Conversation
There was a problem hiding this comment.
I would rather we add this an optional separate version, like the others, until we know that changing the default TBB won't cause breakage elsewhere. This seems to have been an issue a few times and I'm not sure of a good policy for how to decide when to change it globally. @Ericson2314 any thoughts about this?
There was a problem hiding this comment.
Note that changing this version would also cause tbb_2021_11, which is a top-level alias that many other packages reference directly, to install this version tbb_2021_13:
So I think the best thing to do here is to keep the default.nix here as-is, then add 2021_13.nix under the tbb/ dir as a new version. Then add a new top-level alias for it in the same spot that I link to.
Can you make that change @Saterfield990?
Then either in a separate commit or PR we can update all existing packages that reference tbb_2021_11 to use tbb_2021_13, and if there is breakage found, at least those dependent packages can roll back to _11.
There was a problem hiding this comment.
I believe these patches are still needed with this version (from last year) to fix the MinGW builds. You can try cross-compiling for MinGW to double check but pretty sure we want to keep these. They were added to the definition here recently, I think after this PR was originally submitted.
There was a problem hiding this comment.
I just tried building this locally for MinGW and it seems to work without these patches. Also looking upstream it appears they have been applied. So I think it's safe to keep these removed after all.
There was a problem hiding this comment.
It does not build with those patches since it complains they were applied already.
There was a problem hiding this comment.
This one it looks like we don't need with this version though:
Consolidated all into tbb_{2022,2021,2020} PR
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.