[gentoo-commits] repo/gentoo:master commit in: media-libs/openpgl/
commit: 7736f4058d9b54c0b3d9b935a516950a67277ee7 Author: Joonas Niilola gentoo org> AuthorDate: Fri Apr 12 13:08:20 2024 + Commit: Joonas Niilola gentoo org> CommitDate: Fri Apr 12 13:08:41 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7736f405 media-libs/openpgl: Stabilize 0.5.0-r1 amd64, #929066 Signed-off-by: Joonas Niilola gentoo.org> media-libs/openpgl/openpgl-0.5.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/openpgl/openpgl-0.5.0-r1.ebuild b/media-libs/openpgl/openpgl-0.5.0-r1.ebuild index 75a81e52b091..ceba00c1713e 100644 --- a/media-libs/openpgl/openpgl-0.5.0-r1.ebuild +++ b/media-libs/openpgl/openpgl-0.5.0-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/OpenPathGuidingLibrary/openpgl/archive/v${PV}.tar.gz LICENSE="Apache-2.0" SLOT="0/$(ver_cut 1-2)" -KEYWORDS="-* ~amd64 ~arm64" +KEYWORDS="-* amd64 ~arm64" X86_CPU_FLAGS=( sse4_2 avx2 avx512dq ) CPU_FLAGS=( cpu_flags_arm_neon "${X86_CPU_FLAGS[@]/#/cpu_flags_x86_}" )
[gentoo-commits] repo/gentoo:master commit in: media-libs/openpgl/
commit: 36743b3902395fde41a127aabdcb6e3d911ddaf1 Author: Eli Schwartz gmail com> AuthorDate: Tue Apr 9 04:16:15 2024 + Commit: Sam James gentoo org> CommitDate: Tue Apr 9 14:43:29 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36743b39 media-libs/openpgl: mark as LTO-unsafe, strict-aliasing unsafe Note: Upstream updating to set -fno-strict-aliasing is not the same as fixing the issue. Closes: https://bugs.gentoo.org/926890 Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> media-libs/openpgl/openpgl-0.5.0-r1.ebuild | 7 +++ media-libs/openpgl/openpgl-0.6.0.ebuild| 7 +++ 2 files changed, 14 insertions(+) diff --git a/media-libs/openpgl/openpgl-0.5.0-r1.ebuild b/media-libs/openpgl/openpgl-0.5.0-r1.ebuild index 79487e34b3a1..75a81e52b091 100644 --- a/media-libs/openpgl/openpgl-0.5.0-r1.ebuild +++ b/media-libs/openpgl/openpgl-0.5.0-r1.ebuild @@ -29,6 +29,13 @@ RDEPEND=" DEPEND="${RDEPEND}" src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/926890 + # + # Do not trust with LTO either. + append-flags -fno-strict-aliasing + filter-lto + local mycmakeargs=( -DOPENPGL_ISA_SSE4="$(usex cpu_flags_x86_sse4_2)" -DOPENPGL_ISA_AVX2="$(usex cpu_flags_x86_avx2)" diff --git a/media-libs/openpgl/openpgl-0.6.0.ebuild b/media-libs/openpgl/openpgl-0.6.0.ebuild index 79487e34b3a1..07d8adf9d845 100644 --- a/media-libs/openpgl/openpgl-0.6.0.ebuild +++ b/media-libs/openpgl/openpgl-0.6.0.ebuild @@ -29,6 +29,13 @@ RDEPEND=" DEPEND="${RDEPEND}" src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/926890 + # + # Upstream "solved" this by setting -fno-strict-aliasing themselves. + # Do not trust with LTO. + filter-lto + local mycmakeargs=( -DOPENPGL_ISA_SSE4="$(usex cpu_flags_x86_sse4_2)" -DOPENPGL_ISA_AVX2="$(usex cpu_flags_x86_avx2)"
[gentoo-commits] repo/gentoo:master commit in: media-libs/openpgl/
commit: c6b28aa3314bef445a8144cb01bc3cbad4d59f00 Author: Sebastian Parborg gmail com> AuthorDate: Sun Jul 2 22:47:03 2023 + Commit: Sam James gentoo org> CommitDate: Sun Jul 16 18:42:15 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6b28aa3 media-libs/openpgl: Fix compiling with arm64 NEON Closes: https://bugs.gentoo.org/908869 Signed-off-by: Sebastian Parborg gmail.com> Signed-off-by: Sam James gentoo.org> media-libs/openpgl/openpgl-0.5.0.ebuild | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/media-libs/openpgl/openpgl-0.5.0.ebuild b/media-libs/openpgl/openpgl-0.5.0.ebuild index 67870a6bfa63..02987ca560ce 100644 --- a/media-libs/openpgl/openpgl-0.5.0.ebuild +++ b/media-libs/openpgl/openpgl-0.5.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake +inherit cmake flag-o-matic DESCRIPTION="Intel Open Path Guiding Library" HOMEPAGE="https://github.com/OpenPathGuidingLibrary/openpgl; @@ -33,6 +33,9 @@ src_configure() { -DOPENPGL_ISA_NEON=$(usex cpu_flags_arm_neon) ) + # This is currently needed on arm64 to get the NEON SIMD wrapper to compile the code successfully + use cpu_flags_arm_neon && append-flags -flax-vector-conversions + # Disable asserts append-cppflags $(usex debug '' '-DNDEBUG')
[gentoo-commits] repo/gentoo:master commit in: media-libs/openpgl/
commit: 16849d33698b30b667ff6057e613a56435ed087d Author: Sebastian Parborg gmail com> AuthorDate: Mon May 8 13:04:30 2023 + Commit: Sam James gentoo org> CommitDate: Tue May 9 17:50:57 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16849d33 media-libs/openpgl: Fix arches and REQUIRED_USE OpenPGL does not support anything else than amd64 and arm64. The other arches will not compile. Closes: https://bugs.gentoo.org/905661 Signed-off-by: Sebastian Parborg gmail.com> Signed-off-by: Sam James gentoo.org> media-libs/openpgl/openpgl-0.5.0.ebuild | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/media-libs/openpgl/openpgl-0.5.0.ebuild b/media-libs/openpgl/openpgl-0.5.0.ebuild index 81276940fbc2..67870a6bfa63 100644 --- a/media-libs/openpgl/openpgl-0.5.0.ebuild +++ b/media-libs/openpgl/openpgl-0.5.0.ebuild @@ -11,11 +11,12 @@ SRC_URI="https://github.com/OpenPathGuidingLibrary/openpgl/archive/v${PV}.tar.gz LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="-* ~amd64 ~arm64" X86_CPU_FLAGS=( sse4_2 avx2 avx512dq ) -CPU_FLAGS=( ${X86_CPU_FLAGS[@]/#/cpu_flags_x86_} ) -IUSE="${CPU_FLAGS[@]%:*} debug" +CPU_FLAGS=( cpu_flags_arm_neon ${X86_CPU_FLAGS[@]/#/cpu_flags_x86_} ) +IUSE="${CPU_FLAGS[@]} debug" +REQUIRED_USE="|| ( ${CPU_FLAGS[@]} )" RDEPEND=" media-libs/embree @@ -28,6 +29,8 @@ src_configure() { -DOPENPGL_ISA_AVX2=$(usex cpu_flags_x86_avx2) -DOPENPGL_ISA_AVX512=$(usex cpu_flags_x86_avx512dq) -DOPENPGL_ISA_SSE4=$(usex cpu_flags_x86_sse4_2) + # TODO look into neon 2x support + -DOPENPGL_ISA_NEON=$(usex cpu_flags_arm_neon) ) # Disable asserts
[gentoo-commits] repo/gentoo:master commit in: media-libs/openpgl/
commit: 84827d9902844c4fb91330422d9751676788dee5 Author: Sam James gentoo org> AuthorDate: Sun Apr 16 02:46:58 2023 + Commit: Sam James gentoo org> CommitDate: Sun Apr 16 02:46:58 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84827d99 media-libs/openpgl: style tweaks Signed-off-by: Sam James gentoo.org> media-libs/openpgl/openpgl-0.5.0.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/media-libs/openpgl/openpgl-0.5.0.ebuild b/media-libs/openpgl/openpgl-0.5.0.ebuild index 9c6a928d4802..81276940fbc2 100644 --- a/media-libs/openpgl/openpgl-0.5.0.ebuild +++ b/media-libs/openpgl/openpgl-0.5.0.ebuild @@ -10,11 +10,12 @@ HOMEPAGE="https://github.com/OpenPathGuidingLibrary/openpgl; SRC_URI="https://github.com/OpenPathGuidingLibrary/openpgl/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" +SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~x86" + X86_CPU_FLAGS=( sse4_2 avx2 avx512dq ) CPU_FLAGS=( ${X86_CPU_FLAGS[@]/#/cpu_flags_x86_} ) IUSE="${CPU_FLAGS[@]%:*} debug" -SLOT="0" RDEPEND=" media-libs/embree
[gentoo-commits] repo/gentoo:master commit in: media-libs/openpgl/
commit: c313bd382752056f998eb9f456a08107060dbeb5 Author: Sebastian Parborg gmail com> AuthorDate: Mon Apr 3 16:25:46 2023 + Commit: Sam James gentoo org> CommitDate: Sun Apr 16 02:45:59 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c313bd38 media-libs/openpgl: New package OpenPGL is a pathguiding library developed by Intel. This can be used in raytracing engines to guide rays in clever ways to reduce the overall noise of the picture in difficult lighting situations. Signed-off-by: Sebastian Parborg gmail.com> Signed-off-by: Sam James gentoo.org> media-libs/openpgl/Manifest | 1 + media-libs/openpgl/metadata.xml | 24 ++ media-libs/openpgl/openpgl-0.5.0.ebuild | 36 + 3 files changed, 61 insertions(+) diff --git a/media-libs/openpgl/Manifest b/media-libs/openpgl/Manifest new file mode 100644 index ..6b2d7becd00d --- /dev/null +++ b/media-libs/openpgl/Manifest @@ -0,0 +1 @@ +DIST openpgl-0.5.0.tar.gz 10767365 BLAKE2B 051b26c17300506dd20989ba9dc1aa83b0baf77c5f24650c74518ae56081b5a0ecca88c13d5d79a71cb0b6fa4a5b4841ee03e5223ec91ab16bb5655f2e52a9d7 SHA512 9b992ffa17ad6f9fcde48add5d9cc1e58be2daacd40478fb1babe0741a6c7a64f12f36c9c1f7d5ec6f79cdd847c082d39e03e58cfd9af1a903adca56f1ac19e1 diff --git a/media-libs/openpgl/metadata.xml b/media-libs/openpgl/metadata.xml new file mode 100644 index ..362878695f7a --- /dev/null +++ b/media-libs/openpgl/metadata.xml @@ -0,0 +1,24 @@ + +https://www.gentoo.org/dtd/metadata.dtd;> + + + darkdefe...@gmail.com + Sebastian Parborg + + + proxy-ma...@gentoo.org + Proxy Maintainers + + + The IntelĀ® Open Path Guiding Library (IntelĀ® Open PGL) implements a set of + representations and training algorithms needed to integrate path guiding + into a renderer. Open PGL offers implementations of current state-of-the-art + path guiding methods, which increase the sampling quality and, therefore, + the efficiency of a renderer. The goal of Open PGL is to provide + implementations that are well tested and robust enough to be used in a + production environment. + + + OpenPathGuidingLibrary/openpgl + + diff --git a/media-libs/openpgl/openpgl-0.5.0.ebuild b/media-libs/openpgl/openpgl-0.5.0.ebuild new file mode 100644 index ..9c6a928d4802 --- /dev/null +++ b/media-libs/openpgl/openpgl-0.5.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Intel Open Path Guiding Library" +HOMEPAGE="https://github.com/OpenPathGuidingLibrary/openpgl; +SRC_URI="https://github.com/OpenPathGuidingLibrary/openpgl/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +X86_CPU_FLAGS=( sse4_2 avx2 avx512dq ) +CPU_FLAGS=( ${X86_CPU_FLAGS[@]/#/cpu_flags_x86_} ) +IUSE="${CPU_FLAGS[@]%:*} debug" +SLOT="0" + +RDEPEND=" + media-libs/embree + dev-cpp/tbb:= +" +DEPEND="${RDEPEND}" + +src_configure() { + local mycmakeargs=( + -DOPENPGL_ISA_AVX2=$(usex cpu_flags_x86_avx2) + -DOPENPGL_ISA_AVX512=$(usex cpu_flags_x86_avx512dq) + -DOPENPGL_ISA_SSE4=$(usex cpu_flags_x86_sse4_2) + ) + + # Disable asserts + append-cppflags $(usex debug '' '-DNDEBUG') + + cmake_src_configure +}