Summary: | [NEW PORT] graphics/embree2: Collection of high-performance ray tracing kernels (and unbreak ports using graphics/embree) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Shane <FreeBSD> | ||||||||
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> | ||||||||
Status: | Closed Overcome By Events | ||||||||||
Severity: | Affects Only Me | CC: | FreeBSD, danfe, koobs, luzpaz | ||||||||
Priority: | --- | Keywords: | feature, needs-patch, needs-qa | ||||||||
Version: | Latest | Flags: | FreeBSD:
maintainer-feedback+
|
||||||||
Hardware: | Any | ||||||||||
OS: | Any | ||||||||||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239314 | ||||||||||
Bug Depends on: | |||||||||||
Bug Blocks: | 239314, 242265 | ||||||||||
Attachments: |
|
Description
Shane
2019-08-26 04:20:24 UTC
Created attachment 206910 [details]
unbreak graphics/py-embree
unbreak py-embree by adjusting to use new embree2 port
Created attachment 206911 [details]
unbreak math/py-yt
unbreak py-yt by adjusting to use new embree2 port
If graphics/embree gets the update in bug 239314 is this port, or the changes to graphics/py-embree or math/py-yt still needed? (In reply to Kubilay Kocak from comment #3) Yes, embree v2 and v3 are not compatible and are setup to be installed simultaneously. In the meantime the following ports have been removed because they expired as they depended on embree: - py-pyembree - py-yt - luxrender - luxrender14 We need to fix embree first, and then we can resurrect py-pyembree and py-yt. In the meantime the following ports have been removed because they expired as they depended on embree: - py-pyembree - py-yt - luxrender - luxrender14 We need to fix embree first, and then we can resurrect py-pyembree and py-yt. A commit references this bug: Author: rene Date: Sun Sep 8 12:56:21 UTC 2019 New revision: 511574 URL: https://svnweb.freebsd.org/changeset/ports/511574 Log: Resurrect graphics/py-pyembree and math/py-yt now that graphics/embree is fixed. PR: 240117 (related) Submitted by: FreeBSD@ShaneWare.Biz Changes: head/MOVED head/graphics/Makefile head/graphics/py-pyembree/ head/graphics/py-pyembree/Makefile head/math/Makefile head/math/py-yt/ head/math/py-yt/Makefile heads up that 3.7.0 has been released: https://github.com/embree/embree/releases/tag/v3.7.0 The embree 3.7 release is not relevant to this, which is to create an embree2 port to support code not supporting embree 3.x bug #239314 needs updating to 3.7 and that is blocked until this is committed. Embree port had been updated to the latest version 3.8.0 as of ports r525724. Python bindings port (graphics/py-embree) is outdated and incompatible with new 3.x API, and was marked as BROKEN accordingly. Quoting the software authors: > We decided to introduce an improved API in Embree 3 that is > not backward compatible with the Embree 2 API. This step was > required to remove various deprecated API functions that > accumulated over time, improve extensibility of the API, fix > suboptimal design decisions, fix design mistakes (such as > incompatible single ray and ray packet layouts), clean up > inconsistent naming, and increase flexibility. > > To make porting to the new API easy, we provide a conversion > script that can do most of the work, and will annotate the > code with remaining changes required. The script can be > invoked the following way for CPP files: > > ./scripts/cpp-patch.py --patch embree2_to_embree3.patch > --in infile.cpp --out outfile.cpp > > When invoked for ISPC files, add the `--ispc` option: > > ./scripts/cpp-patch.py --ispc > --patch embree2_to_embree3.patch > --in infile.ispc --out outfile.ispc Embree support in the `math/py-yt' port was made optional in ports r525712, and is currently disabled by default until Python bindings would get updated. Keeping the deprecated API v2 port around does not seem necessary or justified, as popular software, e.g. Blender, typically requires v3 libraries these days. That said, with `math/py-yt' fixed and no other v2 consumers in the tree, I'm closing this PR. |