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
Allow installing both port:tbb and port:onetbb #16915
Conversation
Notifying maintainers: |
Very happy to see someone segregate the TBB ports, allowing them to finally co-exist. Ditto for updating the various ports. Great stuff Kirill! |
I did a quick high-level review of the various Portfile changes, and added comments. But no serious concerns overall. Anyone else? |
@mascguy thanks for review. Almost all commits from this PRs is parts from another ones which I've mentored inside the first commit. It explains "wired" bump of revisions ;) |
All dependencies of this PR have been merged. So, it is ready. @mascguy may I ask you to reivew it? |
Yahoo! Thanks @mascguy! |
I guess it was one of the longest PR that I've done so far :) |
Great work as always Kirill, thank you for everything you do! |
I noticed this moved onetbb to libexec as well. Is this necessary since tbb is already moved there? |
Yes, we need to move all versions to |
and some magic in cmake level allows to not touch any port which is used OneTBB. Thus, now we have ability to keep old version OneTBB for ports which for some reason need it. |
Kirill, I noticed one potential issue: It looks like the CMake files are being installed in two places, for
|
@mascguy it isn't an issue. It was made for propose. Why? To avoid supply each port with the path to the right OneTBB.
:) This migration is transparant for any port which is compatible with OneTBB and uses CMake. I assume it is majority of ports. |
Description
Here a PR on which I've worked for last weeks.
The goal is allow to install both
tbb
andonetbb
port on the same machine, and it forces to add installing bothoce
andopencascade
.It is based on serveral PRs which I've made and which's fixed broken ports:
To be clear: only the last 3 commits are new.
Thus, I've skip CI because it had no chance to rebuild everything in 6 hours.
Type(s)
Tested on
macOS 12.6 21G115 x86_64
Xcode 14.1 14B47b
Verification
Have you
port lint --nitpick
?sudo port -vst install
?