-
Notifications
You must be signed in to change notification settings - Fork 7.2k
[embree] Update (embree3) to 4.4.0 [libigl] Test and fix #47815
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
Conversation
|
microsoft/vcpkg-tool#1817 bug fix |
BillyONeal
left a comment
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.
Thanks for the submission and tests!
ports/embree/portfile.cmake
Outdated
| -DEMBREE_STATIC_LIB=${EMBREE_STATIC_LIB} | ||
| -DEMBREE_TASKING_SYSTEM:STRING=${EMBREE_TASKING_SYSTEM} | ||
| -DEMBREE_TUTORIALS=OFF | ||
| -DVCPKG_TRACE_FIND_PACKAGE=ON |
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.
| -DVCPKG_TRACE_FIND_PACKAGE=ON |
?
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.
Do we really want to leave trace on?
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.
Thanks! In the future do you want me to just remove this if I see it again? With my naïve understanding I assumed this would be an investigation only thing that shouldn't stay but I also know that was your feature so I err'd on the side of 'there's got to be some reason he left it here'
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 shall add a comment when it needs to be merged (e.g. flaky port).
BillyONeal
left a comment
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.
Thank you!
Vcpkg finally added it: microsoft/vcpkg#47815
Resolves #47785.
Resolves #47053. Resolves #35683.
AFAICS there is no acceptable way to install embree 3 and embree 4 simultaneously under vcpkg terms. Embree 4.0.0 was released on Feb 8, 2023, so there was more than two years for reverse dependencies to get ready.
libigl was packaged as "header-only" since #14888 and again since #30617. This PR was developed with the compiled library. IMO this is the better fit for a package manager like vcpkg. It would be more obvious if it would be used by multiple reverse dependencies.
But in the end, I restored the header-only configuration, now subject to a triplet variable.
The libigl port now also applies upstream's defaults for
CGAL_CMAKE_EXACT_NT_BACKEND(BOOST_BACKEND) andCGAL_DISABLE_GMP(ON). In header-only mode, these options are cache variables in the user project.