public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openpgl/
@ 2024-09-05  2:12 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2024-09-05  2:12 UTC (permalink / raw
  To: gentoo-commits

commit:     5ebdeb0a65138edc3d05963ac6d765abb087e806
Author:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Mon Sep  2 14:19:34 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep  5 02:11:28 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ebdeb0a

media-libs/openpgl: change url

Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/openpgl/metadata.xml            | 2 +-
 media-libs/openpgl/openpgl-0.5.0-r1.ebuild | 4 ++--
 media-libs/openpgl/openpgl-0.6.0.ebuild    | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/media-libs/openpgl/metadata.xml b/media-libs/openpgl/metadata.xml
index 362878695f7a..3fa42bd60c93 100644
--- a/media-libs/openpgl/metadata.xml
+++ b/media-libs/openpgl/metadata.xml
@@ -19,6 +19,6 @@
 		production environment.
 	</longdescription>
 	<upstream>
-		<remote-id type="github">OpenPathGuidingLibrary/openpgl</remote-id>
+		<remote-id type="github">RenderKit/openpgl</remote-id>
 	</upstream>
 </pkgmetadata>

diff --git a/media-libs/openpgl/openpgl-0.5.0-r1.ebuild b/media-libs/openpgl/openpgl-0.5.0-r1.ebuild
index ceba00c1713e..4d0f448a2d7a 100644
--- a/media-libs/openpgl/openpgl-0.5.0-r1.ebuild
+++ b/media-libs/openpgl/openpgl-0.5.0-r1.ebuild
@@ -6,8 +6,8 @@ EAPI=8
 inherit cmake flag-o-matic
 
 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"
+HOMEPAGE="https://github.com/RenderKit/openpgl"
+SRC_URI="https://github.com/RenderKit/openpgl/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0/$(ver_cut 1-2)"

diff --git a/media-libs/openpgl/openpgl-0.6.0.ebuild b/media-libs/openpgl/openpgl-0.6.0.ebuild
index 9cc85402cb51..f513e9bba38f 100644
--- a/media-libs/openpgl/openpgl-0.6.0.ebuild
+++ b/media-libs/openpgl/openpgl-0.6.0.ebuild
@@ -6,8 +6,8 @@ EAPI=8
 inherit cmake flag-o-matic
 
 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"
+HOMEPAGE="https://github.com/RenderKit/openpgl"
+SRC_URI="https://github.com/RenderKit/openpgl/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0/$(ver_cut 1-2)"


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openpgl/
@ 2024-09-05  2:12 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2024-09-05  2:12 UTC (permalink / raw
  To: gentoo-commits

commit:     dbefa109aa6f9239964c8b1c26ca35a59ccc5b40
Author:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Mon Sep  2 14:21:02 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep  5 02:11:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbefa109

media-libs/openpgl: clarify neon2x

Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/openpgl/openpgl-0.5.0-r1.ebuild | 3 ++-
 media-libs/openpgl/openpgl-0.6.0.ebuild    | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/media-libs/openpgl/openpgl-0.5.0-r1.ebuild b/media-libs/openpgl/openpgl-0.5.0-r1.ebuild
index d4f48937ffda..9984537e2a11 100644
--- a/media-libs/openpgl/openpgl-0.5.0-r1.ebuild
+++ b/media-libs/openpgl/openpgl-0.5.0-r1.ebuild
@@ -41,7 +41,8 @@ src_configure() {
 		-DOPENPGL_ISA_AVX512="$(usex cpu_flags_x86_avx512dq)"
 		-DOPENPGL_ISA_NEON="$(usex arm64)"
 		# TODO look into neon 2x support
-		# -DOPENPGL_ISA_NEON2X="$(usex cpu_flags_arm_neon2x)"
+		# neon2x is "double pumped" neon on apple silicon
+		# -DOPENPGL_ISA_NEON2X="$(usex cpu_flags_arm64_neon2x)"
 	)
 
 	# This is currently needed on arm64 to get the NEON SIMD wrapper to compile the code successfully

diff --git a/media-libs/openpgl/openpgl-0.6.0.ebuild b/media-libs/openpgl/openpgl-0.6.0.ebuild
index f513e9bba38f..a3ebfbe61803 100644
--- a/media-libs/openpgl/openpgl-0.6.0.ebuild
+++ b/media-libs/openpgl/openpgl-0.6.0.ebuild
@@ -41,7 +41,8 @@ src_configure() {
 		-DOPENPGL_ISA_AVX512="$(usex cpu_flags_x86_avx512dq)"
 		-DOPENPGL_ISA_NEON="$(usex arm64)"
 		# TODO look into neon 2x support
-		# -DOPENPGL_ISA_NEON2X="$(usex arm64)"
+		# neon2x is "double pumped" neon on apple silicon
+		# -DOPENPGL_ISA_NEON2X="$(usex cpu_flags_arm64_neon2x)"
 	)
 
 	# This is currently needed on arm64 to get the NEON SIMD wrapper to compile the code successfully


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openpgl/
@ 2024-09-05  2:12 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2024-09-05  2:12 UTC (permalink / raw
  To: gentoo-commits

commit:     b59d6e9a2802164a7e79099c45d0e96d2ed7f379
Author:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Mon Sep  2 14:20:30 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep  5 02:11:28 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b59d6e9a

media-libs/openpgl: backport Fix arm64 cpuflags

Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/openpgl/openpgl-0.5.0-r1.ebuild | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/media-libs/openpgl/openpgl-0.5.0-r1.ebuild b/media-libs/openpgl/openpgl-0.5.0-r1.ebuild
index 4d0f448a2d7a..d4f48937ffda 100644
--- a/media-libs/openpgl/openpgl-0.5.0-r1.ebuild
+++ b/media-libs/openpgl/openpgl-0.5.0-r1.ebuild
@@ -14,12 +14,11 @@ SLOT="0/$(ver_cut 1-2)"
 KEYWORDS="-* amd64 ~arm64"
 
 X86_CPU_FLAGS=( sse4_2 avx2 avx512dq )
-CPU_FLAGS=( cpu_flags_arm_neon "${X86_CPU_FLAGS[@]/#/cpu_flags_x86_}" )
+CPU_FLAGS=( "${X86_CPU_FLAGS[@]/#/cpu_flags_x86_}" )
 IUSE="${CPU_FLAGS[*]} debug"
 
 REQUIRED_USE="
 	amd64? ( || ( ${X86_CPU_FLAGS[*]/#/cpu_flags_x86_} ) )
-	arm64? ( cpu_flags_arm_neon )
 "
 
 RDEPEND="
@@ -40,13 +39,13 @@ src_configure() {
 		-DOPENPGL_ISA_SSE4="$(usex cpu_flags_x86_sse4_2)"
 		-DOPENPGL_ISA_AVX2="$(usex cpu_flags_x86_avx2)"
 		-DOPENPGL_ISA_AVX512="$(usex cpu_flags_x86_avx512dq)"
-		-DOPENPGL_ISA_NEON="$(usex cpu_flags_arm_neon)"
+		-DOPENPGL_ISA_NEON="$(usex arm64)"
 		# TODO look into neon 2x support
 		# -DOPENPGL_ISA_NEON2X="$(usex cpu_flags_arm_neon2x)"
 	)
 
 	# 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
+	use arm64 && append-flags -flax-vector-conversions
 
 	# Disable asserts
 	append-cppflags "$(usex debug '' '-DNDEBUG')"


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openpgl/
@ 2024-09-04  9:22 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2024-09-04  9:22 UTC (permalink / raw
  To: gentoo-commits

commit:     b3d77e54a5ad3a782863e298d5af204a3897e782
Author:     Sebastian Parborg <sebastian <AT> blender <DOT> org>
AuthorDate: Mon Sep  2 12:30:52 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Sep  4 09:20:27 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3d77e54

media-libs/openpgl: Fix arm64 cpuflags

openpgl requires the NEON ISA to be enabled when compiling for arm64.
All arm64 cpus supports NEON so turn them on if arm64 is detected.

Regular arm (non 64) is not supported upstream, so we don't add any code
for the regular arm arch here

Signed-off-by: Sebastian Parborg <darkdefende <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/openpgl/openpgl-0.6.0.ebuild | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/media-libs/openpgl/openpgl-0.6.0.ebuild b/media-libs/openpgl/openpgl-0.6.0.ebuild
index 07d8adf9d845..9cc85402cb51 100644
--- a/media-libs/openpgl/openpgl-0.6.0.ebuild
+++ b/media-libs/openpgl/openpgl-0.6.0.ebuild
@@ -14,12 +14,11 @@ SLOT="0/$(ver_cut 1-2)"
 KEYWORDS="-* ~amd64 ~arm64"
 
 X86_CPU_FLAGS=( sse4_2 avx2 avx512dq )
-CPU_FLAGS=( cpu_flags_arm_neon "${X86_CPU_FLAGS[@]/#/cpu_flags_x86_}" )
+CPU_FLAGS=( "${X86_CPU_FLAGS[@]/#/cpu_flags_x86_}" )
 IUSE="${CPU_FLAGS[*]} debug"
 
 REQUIRED_USE="
 	amd64? ( || ( ${X86_CPU_FLAGS[*]/#/cpu_flags_x86_} ) )
-	arm64? ( cpu_flags_arm_neon )
 "
 
 RDEPEND="
@@ -40,13 +39,13 @@ src_configure() {
 		-DOPENPGL_ISA_SSE4="$(usex cpu_flags_x86_sse4_2)"
 		-DOPENPGL_ISA_AVX2="$(usex cpu_flags_x86_avx2)"
 		-DOPENPGL_ISA_AVX512="$(usex cpu_flags_x86_avx512dq)"
-		-DOPENPGL_ISA_NEON="$(usex cpu_flags_arm_neon)"
+		-DOPENPGL_ISA_NEON="$(usex arm64)"
 		# TODO look into neon 2x support
-		# -DOPENPGL_ISA_NEON2X="$(usex cpu_flags_arm_neon2x)"
+		# -DOPENPGL_ISA_NEON2X="$(usex arm64)"
 	)
 
 	# 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
+	use arm64 && append-flags -flax-vector-conversions
 
 	# Disable asserts
 	append-cppflags "$(usex debug '' '-DNDEBUG')"


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openpgl/
@ 2024-04-12 13:08 Joonas Niilola
  0 siblings, 0 replies; 10+ messages in thread
From: Joonas Niilola @ 2024-04-12 13:08 UTC (permalink / raw
  To: gentoo-commits

commit:     7736f4058d9b54c0b3d9b935a516950a67277ee7
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 12 13:08:20 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Apr 12 13:08:41 2024 +0000
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 <juippis <AT> 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_}" )


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openpgl/
@ 2024-04-09 14:44 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2024-04-09 14:44 UTC (permalink / raw
  To: gentoo-commits

commit:     36743b3902395fde41a127aabdcb6e3d911ddaf1
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Tue Apr  9 04:16:15 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr  9 14:43:29 2024 +0000
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 <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> 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)"


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openpgl/
@ 2023-07-16 18:46 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2023-07-16 18:46 UTC (permalink / raw
  To: gentoo-commits

commit:     c6b28aa3314bef445a8144cb01bc3cbad4d59f00
Author:     Sebastian Parborg <darkdefende <AT> gmail <DOT> com>
AuthorDate: Sun Jul  2 22:47:03 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 16 18:42:15 2023 +0000
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 <darkdefende <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> 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')
 


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openpgl/
@ 2023-05-09 17:51 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2023-05-09 17:51 UTC (permalink / raw
  To: gentoo-commits

commit:     16849d33698b30b667ff6057e613a56435ed087d
Author:     Sebastian Parborg <darkdefende <AT> gmail <DOT> com>
AuthorDate: Mon May  8 13:04:30 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May  9 17:50:57 2023 +0000
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 <darkdefende <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> 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


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openpgl/
@ 2023-04-16  3:30 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2023-04-16  3:30 UTC (permalink / raw
  To: gentoo-commits

commit:     84827d9902844c4fb91330422d9751676788dee5
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 16 02:46:58 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 16 02:46:58 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84827d99

media-libs/openpgl: style tweaks

Signed-off-by: Sam James <sam <AT> 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


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openpgl/
@ 2023-04-16  3:30 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2023-04-16  3:30 UTC (permalink / raw
  To: gentoo-commits

commit:     c313bd382752056f998eb9f456a08107060dbeb5
Author:     Sebastian Parborg <darkdefende <AT> gmail <DOT> com>
AuthorDate: Mon Apr  3 16:25:46 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 16 02:45:59 2023 +0000
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 <darkdefende <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> 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 000000000000..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 000000000000..362878695f7a
--- /dev/null
+++ b/media-libs/openpgl/metadata.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person" proxied="yes">
+		<email>darkdefende@gmail.com</email>
+		<name>Sebastian Parborg</name>
+	</maintainer>
+	<maintainer type="project" proxied="proxy">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
+	<longdescription>
+		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.
+	</longdescription>
+	<upstream>
+		<remote-id type="github">OpenPathGuidingLibrary/openpgl</remote-id>
+	</upstream>
+</pkgmetadata>

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 000000000000..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
+}


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-09-05  2:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-05  2:12 [gentoo-commits] repo/gentoo:master commit in: media-libs/openpgl/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2024-09-05  2:12 Sam James
2024-09-05  2:12 Sam James
2024-09-04  9:22 Sam James
2024-04-12 13:08 Joonas Niilola
2024-04-09 14:44 Sam James
2023-07-16 18:46 Sam James
2023-05-09 17:51 Sam James
2023-04-16  3:30 Sam James
2023-04-16  3:30 Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox