* [gentoo-commits] repo/gentoo:master commit in: media-libs/embree/
@ 2016-02-12 22:43 Kacper Kowalik
0 siblings, 0 replies; 21+ messages in thread
From: Kacper Kowalik @ 2016-02-12 22:43 UTC (permalink / raw
To: gentoo-commits
commit: 31291e49771f2376b4fdafd44a3846fd7fcc622f
Author: Kacper Kowalik <xarthisius <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 12 22:43:17 2016 +0000
Commit: Kacper Kowalik <xarthisius <AT> gentoo <DOT> org>
CommitDate: Fri Feb 12 22:43:17 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31291e49
media-libs/embree: Initial import, ebuild written by me.
Package-Manager: portage-2.2.27
media-libs/embree/Manifest | 1 +
media-libs/embree/embree-2.8.0.ebuild | 60 +++++++++++++++++++++++++++++++++++
media-libs/embree/metadata.xml | 15 +++++++++
3 files changed, 76 insertions(+)
diff --git a/media-libs/embree/Manifest b/media-libs/embree/Manifest
new file mode 100644
index 0000000..d6f46d9
--- /dev/null
+++ b/media-libs/embree/Manifest
@@ -0,0 +1 @@
+DIST embree-2.8.0.tar.gz 1728824 SHA256 5d070241141161d7ec46fcc7fb9998226738c37e1c4a16b93420dba7d9068b81 SHA512 df9e9a66a8f5972bf22eb7d03d8d6cd17f06a10105f7f42cb6866d76cd203c94496df808558e9aad8b407e7e7d962c0f543d49cd86784f877206654414f3d162 WHIRLPOOL 9685a525d4ee9788ddce3f5e6e20729f619484790e412d22e8e58aac825ad70dbb825b48bf515f10ca8e1c330899fa565912cc4aefe2844c9ec8dea22387ac68
diff --git a/media-libs/embree/embree-2.8.0.ebuild b/media-libs/embree/embree-2.8.0.ebuild
new file mode 100644
index 0000000..6f6926d
--- /dev/null
+++ b/media-libs/embree/embree-2.8.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit cmake-utils multilib toolchain-funcs flag-o-matic
+
+DESCRIPTION="Collection of high-performance ray tracing kernels"
+HOMEPAGE="https://embree.github.io"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="imagemagick ispc jpeg openexr png static-libs"
+
+RDEPEND="dev-cpp/tbb
+ media-libs/freeglut
+ imagemagick? (
+ || ( media-gfx/imagemagick[cxx] media-gfx/graphicsmagick[cxx] )
+ )
+ ispc? ( dev-lang/ispc )
+ jpeg? ( virtual/jpeg:0 )
+ openexr? ( media-libs/openexr )
+ png? ( media-libs/libpng:0 )"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ filter-flags "-march=*"
+ sed -e "s:PREFIX}/lib:PREFIX}/$(get_libdir):g" \
+ -e "s:lib/cmake:$(get_libdir)/cmake:g" \
+ -e "/LICENSE.txt/d" \
+ -e "/DIRECTORY tutorials/d" \
+ -i common/cmake/package.cmake || die
+ sed -e "s/gcc/$(tc-getCC)/" \
+ -e "s/g++/$(tc-getCXX)/" \
+ -e "s/-fPIC/${CXXFLAGS} &/" \
+ -i common/cmake/gcc.cmake || die
+ sed -e "/COMPONENT lib/ s/\(DESTINATION \)lib/\1$(get_libdir)/g" \
+ -i kernels/xeon/CMakeLists.txt || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_TUTORIALS=OFF
+ $(cmake-utils_use_enable static-libs STATIC_LIB)
+ $(cmake-utils_use_enable ispc ISPC_SUPPORT)
+ $(cmake-utils_use_use jpeg LIBJPEG)
+ $(cmake-utils_use_use png LIBPNG)
+ $(cmake-utils_use_use imagemagick IMAGE_MAGICK)
+ $(cmake-utils_use_use openexr OPENEXR)
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+ dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so
+}
diff --git a/media-libs/embree/metadata.xml b/media-libs/embree/metadata.xml
new file mode 100644
index 0000000..b4dc96f
--- /dev/null
+++ b/media-libs/embree/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>xarthisius@gentoo.org</email>
+ <name>Kacper Kowalik</name>
+ </maintainer>
+ <use>
+ <flag name="ispc">Enables support for the Intel SPMD Program Compiler.</flag>
+ <flag name="imagemagick">Enables BMP, GIF, PNG, TGA, TIFF image codecs.</flag>
+ <flag name="png">Enables PNG image codecs.</flag>
+ <flag name="jpeg">Enables JPEG image codecs.</flag>
+ <flag name="openexr">Enables OpenEXR image codecs.</flag>
+ </use>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/embree/
@ 2017-06-20 12:53 Pacho Ramos
0 siblings, 0 replies; 21+ messages in thread
From: Pacho Ramos @ 2017-06-20 12:53 UTC (permalink / raw
To: gentoo-commits
commit: a06fb48bbf1e42520e2da163dd3c5a2e21db6874
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 20 12:40:52 2017 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue Jun 20 12:53:24 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a06fb48b
media-libs/embree: Cleanup metadata due to retirement
Package-Manager: Portage-2.3.6, Repoman-2.3.2
media-libs/embree/metadata.xml | 4 ----
1 file changed, 4 deletions(-)
diff --git a/media-libs/embree/metadata.xml b/media-libs/embree/metadata.xml
index 187b64dcb9c..d0b41d94ff0 100644
--- a/media-libs/embree/metadata.xml
+++ b/media-libs/embree/metadata.xml
@@ -1,10 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>xarthisius@gentoo.org</email>
- <name>Kacper Kowalik</name>
- </maintainer>
<use>
<flag name="ispc">Enables support for the Intel SPMD Program Compiler.</flag>
<flag name="imagemagick">Enables BMP, GIF, PNG, TGA, TIFF image codecs.</flag>
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/embree/
@ 2021-06-10 0:51 Sam James
0 siblings, 0 replies; 21+ messages in thread
From: Sam James @ 2021-06-10 0:51 UTC (permalink / raw
To: gentoo-commits
commit: b3c1f19a681667a0ed090285f039ec6425eb38d8
Author: Sebastian Parborg <darkdefende <AT> gmail <DOT> com>
AuthorDate: Wed Apr 28 00:50:48 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 10 00:19:19 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3c1f19a
media-libs/embree: New package
Embree is a collection of high-performance ray tracing kernels,
developed at Intel. The target users of Embree are graphics application
engineers who want to improve the performance of their photo-realistic
rendering application by leveraging Embree's performance-optimized ray
tracing kernels.
Signed-off-by: Sebastian Parborg <darkdefende <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/embree/Manifest | 1 +
media-libs/embree/embree-3.13.0.ebuild | 107 +++++++++++++++++++++++++++++++++
media-libs/embree/metadata.xml | 42 +++++++++++++
3 files changed, 150 insertions(+)
diff --git a/media-libs/embree/Manifest b/media-libs/embree/Manifest
new file mode 100644
index 00000000000..cc27e4a85af
--- /dev/null
+++ b/media-libs/embree/Manifest
@@ -0,0 +1 @@
+DIST embree-3.13.0.tar.gz 13708421 BLAKE2B bace1866d9d6907308d38370347d23b4edb3fe287d093acf35367be1d4548d1df064ed9d46ef928f17af99e335d5fcd7b7285a2bd95707361440547544782080 SHA512 3fc4f00151cb9558810c643bf77f3135465d65c4523e08d5289a0fdcb18d4c63a8e805647e4ce208556c4679d44373d817761c1003b1e9dc65a39d5ebf17926f
diff --git a/media-libs/embree/embree-3.13.0.ebuild b/media-libs/embree/embree-3.13.0.ebuild
new file mode 100644
index 00000000000..548f969a2cf
--- /dev/null
+++ b/media-libs/embree/embree-3.13.0.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake flag-o-matic linux-info toolchain-funcs
+
+DESCRIPTION="Collection of high-performance ray tracing kernels"
+HOMEPAGE="https://github.com/embree/embree"
+LICENSE="Apache-2.0"
+KEYWORDS="~amd64 ~x86"
+SRC_URI="https://github.com/embree/embree/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SLOT="3"
+X86_CPU_FLAGS=( sse2:sse2 sse4_2:sse4_2 avx:avx avx2:avx2 avx512dq:avx512dq )
+CPU_FLAGS=( ${X86_CPU_FLAGS[@]/#/cpu_flags_x86_} )
+IUSE="+compact-polys ispc raymask ssp +tbb tutorial static-libs ${CPU_FLAGS[@]%:*}"
+BDEPEND="
+ virtual/pkgconfig
+"
+RDEPEND="
+ ispc? ( dev-lang/ispc )
+ >=media-libs/glfw-3.2.1
+ tbb? ( dev-cpp/tbb )
+ tutorial? (
+ >=media-libs/libpng-1.6.34:0=
+ >=media-libs/openimageio-1.8.7
+ virtual/jpeg:0
+ )
+ virtual/opengl
+"
+DEPEND="${RDEPEND}"
+RESTRICT="mirror"
+DOCS=( CHANGELOG.md README.md readme.pdf )
+
+pkg_setup() {
+ CONFIG_CHECK="~TRANSPARENT_HUGEPAGE"
+ WARNING_TRANSPARENT_HUGEPAGE="Not enabling Transparent Hugepages (CONFIG_TRANSPARENT_HUGEPAGE) will impact rendering performance."
+ linux-info_pkg_setup
+
+ if ! ( cat /proc/cpuinfo | grep sse2 > /dev/null ) ; then
+ die "You need a CPU with at least sse2 support"
+ fi
+}
+
+src_prepare() {
+ cmake_src_prepare
+
+ # disable RPM package building
+ sed -e 's|CPACK_RPM_PACKAGE_RELEASE 1|CPACK_RPM_PACKAGE_RELEASE 0|' \
+ -i CMakeLists.txt || die
+}
+
+src_configure() {
+ # NOTE: You can make embree accept custom CXXFLAGS by turning off
+ # EMBREE_IGNORE_CMAKE_CXX_FLAGS. However, the linking will fail if you use
+ # any "march" compile flags. This is because embree builds modules for the
+ # different supported ISAs and picks the correct one at runtime.
+ # "march" will pull in cpu instructions that shouldn't be in specific modules
+ # and it fails to link properly.
+ # https://github.com/embree/embree/issues/115
+
+ filter-flags -march=*
+
+ local mycmakeargs=(
+ -DBUILD_TESTING:BOOL=OFF
+ -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON
+ -DEMBREE_BACKFACE_CULLING=OFF # default
+ -DEMBREE_COMPACT_POLYS=$(usex compact-polys)
+ -DEMBREE_FILTER_FUNCTION=ON # default
+ -DEMBREE_GEOMETRY_CURVE=ON # default
+ -DEMBREE_GEOMETRY_GRID=ON # default
+ -DEMBREE_GEOMETRY_INSTANCE=ON # default
+ -DEMBREE_GEOMETRY_POINT=ON # default
+ -DEMBREE_GEOMETRY_QUAD=ON # default
+ -DEMBREE_GEOMETRY_SUBDIVISION=ON # default
+ -DEMBREE_GEOMETRY_TRIANGLE=ON # default
+ -DEMBREE_GEOMETRY_USER=ON # default
+ -DEMBREE_IGNORE_CMAKE_CXX_FLAGS=OFF
+ -DEMBREE_IGNORE_INVALID_RAYS=OFF # default
+ -DEMBREE_MAX_ISA:STRING="NONE" # Set to NONE so we can manually switch on ISAs below
+ -DEMBREE_ISA_AVX=$(usex cpu_flags_x86_avx)
+ -DEMBREE_ISA_AVX2=$(usex cpu_flags_x86_avx2)
+ -DEMBREE_ISA_AVX512=$(usex cpu_flags_x86_avx512dq)
+ -DEMBREE_ISA_SSE2=$(usex cpu_flags_x86_sse2)
+ -DEMBREE_ISA_SSE42=$(usex cpu_flags_x86_sse4_2)
+ -DEMBREE_ISPC_SUPPORT=$(usex ispc)
+ -DEMBREE_RAY_MASK=$(usex raymask)
+ -DEMBREE_RAY_PACKETS=ON # default
+ -DEMBREE_STACK_PROTECTOR=$(usex ssp)
+ -DEMBREE_STATIC_LIB=$(usex static-libs)
+ -DEMBREE_STAT_COUNTERS=OFF
+ -DEMBREE_TASKING_SYSTEM:STRING=$(usex tbb "TBB" "INTERNAL")
+ -DEMBREE_TUTORIALS=$(usex tutorial) )
+
+ # Disable asserts
+ append-flags -DNDEBUG
+
+ if use tutorial; then
+ mycmakeargs+=(
+ -DEMBREE_ISPC_ADDRESSING:STRING="64"
+ -DEMBREE_TUTORIALS_LIBJPEG=ON
+ -DEMBREE_TUTORIALS_LIBPNG=ON
+ -DEMBREE_TUTORIALS_OPENIMAGEIO=ON )
+ fi
+
+ cmake_src_configure
+}
diff --git a/media-libs/embree/metadata.xml b/media-libs/embree/metadata.xml
new file mode 100644
index 00000000000..9fb89375a78
--- /dev/null
+++ b/media-libs/embree/metadata.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://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>
+ Intel® Embree is a collection of high-performance ray tracing kernels,
+ developed at Intel. The target users of Intel® Embree are graphics
+ application engineers who want to improve the performance of their
+ photo-realistic rendering application by leveraging Embree's
+ performance-optimized ray tracing kernels.
+ </longdescription>
+ <use>
+ <flag restrict=">=media-libs/embree-3.12.2" name="compact-polys">
+ Enables double indexed poly layout.
+ </flag>
+ <flag restrict=">=media-libs/embree-3.12.2" name="ssp">
+ When enabled, Embree compiles with stack protection against return address overrides.
+ </flag>
+ <flag restrict=">=media-libs/embree-3.12.2" name="ispc">
+ Build Embree with support for ISPC applications.
+ </flag>
+ <flag restrict=">=media-libs/embree-3.12.2" name="raymask">
+ Enables ray mask support.
+ </flag>
+ <flag restrict=">=media-libs/embree-3.12.2" name="tbb">
+ Use TBB instead of the built-in Embree tasking system.
+ </flag>
+ <flag restrict=">=media-libs/embree-3.12.2" name="tutorial">
+ Enable to build Embree tutorials programs.
+ </flag>
+ </use>
+ <upstream>
+ <remote-id type="github">embree/embree</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/embree/
@ 2021-06-10 17:54 Sam James
0 siblings, 0 replies; 21+ messages in thread
From: Sam James @ 2021-06-10 17:54 UTC (permalink / raw
To: gentoo-commits
commit: 9656f71d32c51af1206273864a10b52f60b5157c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 10 17:53:19 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 10 17:53:55 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9656f71d
media-libs/embree: set IUSE=+raymask
Blender is the only reverse dependency and it needs this enabled.
Reported-by: Kobboi
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/embree/embree-3.13.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/embree/embree-3.13.0.ebuild b/media-libs/embree/embree-3.13.0.ebuild
index 548f969a2cf..7fb5564741f 100644
--- a/media-libs/embree/embree-3.13.0.ebuild
+++ b/media-libs/embree/embree-3.13.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/embree/embree/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SLOT="3"
X86_CPU_FLAGS=( sse2:sse2 sse4_2:sse4_2 avx:avx avx2:avx2 avx512dq:avx512dq )
CPU_FLAGS=( ${X86_CPU_FLAGS[@]/#/cpu_flags_x86_} )
-IUSE="+compact-polys ispc raymask ssp +tbb tutorial static-libs ${CPU_FLAGS[@]%:*}"
+IUSE="+compact-polys ispc +raymask ssp +tbb tutorial static-libs ${CPU_FLAGS[@]%:*}"
BDEPEND="
virtual/pkgconfig
"
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/embree/
@ 2021-08-04 2:15 Sam James
0 siblings, 0 replies; 21+ messages in thread
From: Sam James @ 2021-08-04 2:15 UTC (permalink / raw
To: gentoo-commits
commit: 687e88e1d62e728b09144c89932f3e9dec90e215
Author: Sebastian Parborg <darkdefende <AT> gmail <DOT> com>
AuthorDate: Sat Jun 12 18:24:02 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 4 02:14:52 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=687e88e1
media-libs/embree: Implement remaining feedback from review task
Signed-off-by: Sebastian Parborg <darkdefende <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/embree/embree-3.13.0.ebuild | 20 +++++++++++++-------
media-libs/embree/metadata.xml | 7 ++++---
2 files changed, 17 insertions(+), 10 deletions(-)
diff --git a/media-libs/embree/embree-3.13.0.ebuild b/media-libs/embree/embree-3.13.0.ebuild
index 7fb5564741f..f77d5a1eb87 100644
--- a/media-libs/embree/embree-3.13.0.ebuild
+++ b/media-libs/embree/embree-3.13.0.ebuild
@@ -7,29 +7,32 @@ inherit cmake flag-o-matic linux-info toolchain-funcs
DESCRIPTION="Collection of high-performance ray tracing kernels"
HOMEPAGE="https://github.com/embree/embree"
-LICENSE="Apache-2.0"
-KEYWORDS="~amd64 ~x86"
SRC_URI="https://github.com/embree/embree/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
SLOT="3"
+KEYWORDS="~amd64 ~x86"
X86_CPU_FLAGS=( sse2:sse2 sse4_2:sse4_2 avx:avx avx2:avx2 avx512dq:avx512dq )
CPU_FLAGS=( ${X86_CPU_FLAGS[@]/#/cpu_flags_x86_} )
IUSE="+compact-polys ispc +raymask ssp +tbb tutorial static-libs ${CPU_FLAGS[@]%:*}"
+RESTRICT="mirror"
+
BDEPEND="
virtual/pkgconfig
"
RDEPEND="
- ispc? ( dev-lang/ispc )
>=media-libs/glfw-3.2.1
+ virtual/opengl
+ ispc? ( dev-lang/ispc )
tbb? ( dev-cpp/tbb )
tutorial? (
>=media-libs/libpng-1.6.34:0=
- >=media-libs/openimageio-1.8.7
+ >=media-libs/openimageio-1.8.7:0=
virtual/jpeg:0
)
- virtual/opengl
"
DEPEND="${RDEPEND}"
-RESTRICT="mirror"
+
DOCS=( CHANGELOG.md README.md readme.pdf )
pkg_setup() {
@@ -62,6 +65,9 @@ src_configure() {
filter-flags -march=*
local mycmakeargs=(
+ # Currently Intel only host their test files on their internal network.
+ # So it seems like users can't easily get a hold of these and do
+ # regression testing on their own.
-DBUILD_TESTING:BOOL=OFF
-DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON
-DEMBREE_BACKFACE_CULLING=OFF # default
@@ -93,7 +99,7 @@ src_configure() {
-DEMBREE_TUTORIALS=$(usex tutorial) )
# Disable asserts
- append-flags -DNDEBUG
+ append-cppflags -DNDEBUG
if use tutorial; then
mycmakeargs+=(
diff --git a/media-libs/embree/metadata.xml b/media-libs/embree/metadata.xml
index 9fb89375a78..dcaede1dd58 100644
--- a/media-libs/embree/metadata.xml
+++ b/media-libs/embree/metadata.xml
@@ -20,15 +20,16 @@
<flag restrict=">=media-libs/embree-3.12.2" name="compact-polys">
Enables double indexed poly layout.
</flag>
- <flag restrict=">=media-libs/embree-3.12.2" name="ssp">
- When enabled, Embree compiles with stack protection against return address overrides.
- </flag>
<flag restrict=">=media-libs/embree-3.12.2" name="ispc">
Build Embree with support for ISPC applications.
</flag>
<flag restrict=">=media-libs/embree-3.12.2" name="raymask">
Enables ray mask support.
</flag>
+ <flag restrict=">=media-libs/embree-3.12.2" name="ssp">
+ When enabled, Embree compiles with stack protection against return address overrides.
+ Stack protection will wield a minor performance decrease in return for higher security.
+ </flag>
<flag restrict=">=media-libs/embree-3.12.2" name="tbb">
Use TBB instead of the built-in Embree tasking system.
</flag>
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/embree/
@ 2021-08-04 2:58 Sam James
0 siblings, 0 replies; 21+ messages in thread
From: Sam James @ 2021-08-04 2:58 UTC (permalink / raw
To: gentoo-commits
commit: 6e17560f8922f9b12c3184946b691cb016e58667
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 4 02:24:11 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 4 02:24:11 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e17560f
media-libs/embree: revision bump for subslot operator
We need to bump revisions for adding/subscribing
to subslot operators.
Fixes: 687e88e1d62e728b09144c89932f3e9dec90e215
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/embree/{embree-3.13.0.ebuild => embree-3.13.0-r1.ebuild} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
diff --git a/media-libs/embree/embree-3.13.0.ebuild b/media-libs/embree/embree-3.13.0-r1.ebuild
similarity index 100%
rename from media-libs/embree/embree-3.13.0.ebuild
rename to media-libs/embree/embree-3.13.0-r1.ebuild
^ permalink raw reply [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/embree/
@ 2021-09-19 3:09 Sam James
0 siblings, 0 replies; 21+ messages in thread
From: Sam James @ 2021-09-19 3:09 UTC (permalink / raw
To: gentoo-commits
commit: 0898a38e10c58b65e1efdf8a40d97947b0ff2447
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 19 03:08:02 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 19 03:08:02 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0898a38e
media-libs/embree: Keyword 3.13.0-r1 arm64, #795279
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/embree/embree-3.13.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/embree/embree-3.13.0-r1.ebuild b/media-libs/embree/embree-3.13.0-r1.ebuild
index f77d5a1eb87..4c2719eb7c6 100644
--- a/media-libs/embree/embree-3.13.0-r1.ebuild
+++ b/media-libs/embree/embree-3.13.0-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/embree/embree/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="3"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
X86_CPU_FLAGS=( sse2:sse2 sse4_2:sse4_2 avx:avx avx2:avx2 avx512dq:avx512dq )
CPU_FLAGS=( ${X86_CPU_FLAGS[@]/#/cpu_flags_x86_} )
IUSE="+compact-polys ispc +raymask ssp +tbb tutorial static-libs ${CPU_FLAGS[@]%:*}"
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/embree/
@ 2021-09-19 3:09 Sam James
0 siblings, 0 replies; 21+ messages in thread
From: Sam James @ 2021-09-19 3:09 UTC (permalink / raw
To: gentoo-commits
commit: c8255dc5a617930f74760a6f4147f1742efda1fa
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 19 03:08:13 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 19 03:08:13 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8255dc5
media-libs/embree: Keyword 3.13.0-r1 arm, #795279
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/embree/embree-3.13.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/embree/embree-3.13.0-r1.ebuild b/media-libs/embree/embree-3.13.0-r1.ebuild
index 4c2719eb7c6..b3e2399b41c 100644
--- a/media-libs/embree/embree-3.13.0-r1.ebuild
+++ b/media-libs/embree/embree-3.13.0-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/embree/embree/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="3"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
X86_CPU_FLAGS=( sse2:sse2 sse4_2:sse4_2 avx:avx avx2:avx2 avx512dq:avx512dq )
CPU_FLAGS=( ${X86_CPU_FLAGS[@]/#/cpu_flags_x86_} )
IUSE="+compact-polys ispc +raymask ssp +tbb tutorial static-libs ${CPU_FLAGS[@]%:*}"
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/embree/
@ 2021-09-19 3:30 Sam James
0 siblings, 0 replies; 21+ messages in thread
From: Sam James @ 2021-09-19 3:30 UTC (permalink / raw
To: gentoo-commits
commit: 83672643c5b1c40210084b5d5ed1170c846e3c77
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 19 03:29:18 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 19 03:29:18 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83672643
media-libs/embree: Keyword 3.13.0-r1 ppc64, #795279
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/embree/embree-3.13.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/embree/embree-3.13.0-r1.ebuild b/media-libs/embree/embree-3.13.0-r1.ebuild
index b3e2399b41c..ad1b682ba09 100644
--- a/media-libs/embree/embree-3.13.0-r1.ebuild
+++ b/media-libs/embree/embree-3.13.0-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/embree/embree/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="3"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
X86_CPU_FLAGS=( sse2:sse2 sse4_2:sse4_2 avx:avx avx2:avx2 avx512dq:avx512dq )
CPU_FLAGS=( ${X86_CPU_FLAGS[@]/#/cpu_flags_x86_} )
IUSE="+compact-polys ispc +raymask ssp +tbb tutorial static-libs ${CPU_FLAGS[@]%:*}"
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/embree/
@ 2021-10-29 22:23 Sam James
0 siblings, 0 replies; 21+ messages in thread
From: Sam James @ 2021-10-29 22:23 UTC (permalink / raw
To: gentoo-commits
commit: c8cf3014f3c41600d43580a9516b1766186e0d15
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 29 22:16:54 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 29 22:22:43 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8cf3014
media-libs/embree: add tbb subslot operator
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/embree/{embree-3.13.0-r1.ebuild => embree-3.13.0-r2.ebuild} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/embree/embree-3.13.0-r1.ebuild b/media-libs/embree/embree-3.13.0-r2.ebuild
similarity index 99%
rename from media-libs/embree/embree-3.13.0-r1.ebuild
rename to media-libs/embree/embree-3.13.0-r2.ebuild
index ad1b682ba09..fb7a6b0b575 100644
--- a/media-libs/embree/embree-3.13.0-r1.ebuild
+++ b/media-libs/embree/embree-3.13.0-r2.ebuild
@@ -24,7 +24,7 @@ RDEPEND="
>=media-libs/glfw-3.2.1
virtual/opengl
ispc? ( dev-lang/ispc )
- tbb? ( dev-cpp/tbb )
+ tbb? ( dev-cpp/tbb:= )
tutorial? (
>=media-libs/libpng-1.6.34:0=
>=media-libs/openimageio-1.8.7:0=
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/embree/
@ 2021-10-31 5:53 Sam James
0 siblings, 0 replies; 21+ messages in thread
From: Sam James @ 2021-10-31 5:53 UTC (permalink / raw
To: gentoo-commits
commit: 6c0347d62785bd4ed21773ca7afa708090bc3032
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 31 05:53:35 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 31 05:53:35 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c0347d6
media-libs/embree: Stabilize 3.13.0-r2 amd64, #803884
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/embree/embree-3.13.0-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/embree/embree-3.13.0-r2.ebuild b/media-libs/embree/embree-3.13.0-r2.ebuild
index fb7a6b0b575..136ad000762 100644
--- a/media-libs/embree/embree-3.13.0-r2.ebuild
+++ b/media-libs/embree/embree-3.13.0-r2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/embree/embree/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="3"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
X86_CPU_FLAGS=( sse2:sse2 sse4_2:sse4_2 avx:avx avx2:avx2 avx512dq:avx512dq )
CPU_FLAGS=( ${X86_CPU_FLAGS[@]/#/cpu_flags_x86_} )
IUSE="+compact-polys ispc +raymask ssp +tbb tutorial static-libs ${CPU_FLAGS[@]%:*}"
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/embree/
@ 2021-11-23 21:36 Sam James
0 siblings, 0 replies; 21+ messages in thread
From: Sam James @ 2021-11-23 21:36 UTC (permalink / raw
To: gentoo-commits
commit: a610f8dcd1293282cd6548172fbc4c501ecc4027
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 23 21:35:34 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 23 21:35:49 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a610f8dc
media-libs/embree: add 3.13.2
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/embree/Manifest | 1 +
media-libs/embree/embree-3.13.2.ebuild | 132 +++++++++++++++++++++++++++++++++
2 files changed, 133 insertions(+)
diff --git a/media-libs/embree/Manifest b/media-libs/embree/Manifest
index cc27e4a85af7..f7fae53b125f 100644
--- a/media-libs/embree/Manifest
+++ b/media-libs/embree/Manifest
@@ -1 +1,2 @@
DIST embree-3.13.0.tar.gz 13708421 BLAKE2B bace1866d9d6907308d38370347d23b4edb3fe287d093acf35367be1d4548d1df064ed9d46ef928f17af99e335d5fcd7b7285a2bd95707361440547544782080 SHA512 3fc4f00151cb9558810c643bf77f3135465d65c4523e08d5289a0fdcb18d4c63a8e805647e4ce208556c4679d44373d817761c1003b1e9dc65a39d5ebf17926f
+DIST embree-3.13.2.tar.gz 13716621 BLAKE2B 8fd770ea9984a9f5b532f114c7901a67105f95c98a1bad45ed9dc2e312062e22aee26d54bd54ac3c9593fed14d34b03903ac186516682890cfaf9e0714743cce SHA512 9e4912f52c503d8d1fe0c3c81bf8108f1af044bf08d76111e4c1ab434c6a38d33bae9aacfd60c874da76bcc2f909ad1f3f171d458adb7973644cdbfd3693dc0f
diff --git a/media-libs/embree/embree-3.13.2.ebuild b/media-libs/embree/embree-3.13.2.ebuild
new file mode 100644
index 000000000000..94efef93e9b9
--- /dev/null
+++ b/media-libs/embree/embree-3.13.2.ebuild
@@ -0,0 +1,132 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake flag-o-matic linux-info toolchain-funcs
+
+DESCRIPTION="Collection of high-performance ray tracing kernels"
+HOMEPAGE="https://github.com/embree/embree"
+SRC_URI="https://github.com/embree/embree/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="3"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+X86_CPU_FLAGS=( sse2:sse2 sse4_2:sse4_2 avx:avx avx2:avx2 avx512dq:avx512dq )
+CPU_FLAGS=( cpu_flags_arm_neon ${X86_CPU_FLAGS[@]/#/cpu_flags_x86_} )
+IUSE="+compact-polys ispc +raymask ssp +tbb tutorial static-libs ${CPU_FLAGS[@]%:*}"
+# Let's be explicit here even though we could simplify it.
+REQUIRED_USE="amd64? ( cpu_flags_x86_sse2 ) x86? ( cpu_flags_x86_sse2 )"
+
+RESTRICT="mirror"
+
+BDEPEND="
+ virtual/pkgconfig
+"
+RDEPEND="
+ >=media-libs/glfw-3.2.1
+ virtual/opengl
+ ispc? ( dev-lang/ispc )
+ tbb? ( dev-cpp/tbb:= )
+ tutorial? (
+ >=media-libs/libpng-1.6.34:0=
+ >=media-libs/openimageio-1.8.7:0=
+ virtual/jpeg:0
+ )
+"
+DEPEND="${RDEPEND}"
+
+DOCS=( CHANGELOG.md README.md readme.pdf )
+
+pkg_setup() {
+ CONFIG_CHECK="~TRANSPARENT_HUGEPAGE"
+ WARNING_TRANSPARENT_HUGEPAGE="Not enabling Transparent Hugepages (CONFIG_TRANSPARENT_HUGEPAGE) will impact rendering performance."
+
+ linux-info_pkg_setup
+}
+
+src_prepare() {
+ cmake_src_prepare
+
+ # disable RPM package building
+ sed -e 's|CPACK_RPM_PACKAGE_RELEASE 1|CPACK_RPM_PACKAGE_RELEASE 0|' \
+ -i CMakeLists.txt || die
+}
+
+src_configure() {
+ # NOTE: You can make embree accept custom CXXFLAGS by turning off
+ # EMBREE_IGNORE_CMAKE_CXX_FLAGS. However, the linking will fail if you use
+ # any "march" compile flags. This is because embree builds modules for the
+ # different supported ISAs and picks the correct one at runtime.
+ # "march" will pull in cpu instructions that shouldn't be in specific modules
+ # and it fails to link properly.
+ # https://github.com/embree/embree/issues/115
+
+ filter-flags -march=*
+
+ local mycmakeargs=(
+ # Currently Intel only host their test files on their internal network.
+ # So it seems like users can't easily get a hold of these and do
+ # regression testing on their own.
+ -DBUILD_TESTING:BOOL=OFF
+ -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON
+
+ # default
+ -DEMBREE_BACKFACE_CULLING=OFF
+ -DEMBREE_COMPACT_POLYS=$(usex compact-polys)
+
+ # default
+ -DEMBREE_FILTER_FUNCTION=ON
+ # default
+ -DEMBREE_GEOMETRY_CURVE=ON
+ # default
+ -DEMBREE_GEOMETRY_GRID=ON
+ # default
+ -DEMBREE_GEOMETRY_INSTANCE=ON
+ # default
+ -DEMBREE_GEOMETRY_POINT=ON
+ # default
+ -DEMBREE_GEOMETRY_QUAD=ON
+ # default
+ -DEMBREE_GEOMETRY_SUBDIVISION=ON
+ # default
+ -DEMBREE_GEOMETRY_TRIANGLE=ON
+ # default
+ -DEMBREE_GEOMETRY_USER=ON
+ # default
+ -DEMBREE_IGNORE_CMAKE_CXX_FLAGS=OFF
+ # default
+ -DEMBREE_IGNORE_INVALID_RAYS=OFF
+
+ # Set to NONE so we can manually switch on ISAs below
+ -DEMBREE_MAX_ISA:STRING="NONE"
+ -DEMBREE_ISA_AVX=$(usex cpu_flags_x86_avx)
+ -DEMBREE_ISA_AVX2=$(usex cpu_flags_x86_avx2)
+ -DEMBREE_ISA_AVX512=$(usex cpu_flags_x86_avx512dq)
+ -DEMBREE_ISA_NEON=$(usex cpu_flags_arm_neon)
+ -DEMBREE_ISA_SSE2=$(usex cpu_flags_x86_sse2)
+ -DEMBREE_ISA_SSE42=$(usex cpu_flags_x86_sse4_2)
+ -DEMBREE_ISPC_SUPPORT=$(usex ispc)
+ -DEMBREE_RAY_MASK=$(usex raymask)
+ # default
+ -DEMBREE_RAY_PACKETS=ON
+ -DEMBREE_STACK_PROTECTOR=$(usex ssp)
+ -DEMBREE_STATIC_LIB=$(usex static-libs)
+ -DEMBREE_STAT_COUNTERS=OFF
+ -DEMBREE_TASKING_SYSTEM:STRING=$(usex tbb "TBB" "INTERNAL")
+ -DEMBREE_TUTORIALS=$(usex tutorial))
+
+ # Disable asserts
+ append-cppflags -DNDEBUG
+
+ if use tutorial; then
+ mycmakeargs+=(
+ -DEMBREE_ISPC_ADDRESSING:STRING="64"
+ -DEMBREE_TUTORIALS_LIBJPEG=ON
+ -DEMBREE_TUTORIALS_LIBPNG=ON
+ -DEMBREE_TUTORIALS_OPENIMAGEIO=ON
+ )
+ fi
+
+ cmake_src_configure
+}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/embree/
@ 2022-08-11 7:33 Joonas Niilola
0 siblings, 0 replies; 21+ messages in thread
From: Joonas Niilola @ 2022-08-11 7:33 UTC (permalink / raw
To: gentoo-commits
commit: 260b412b77143995ce60236610dd2abdaaef27c3
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 11 07:32:52 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Aug 11 07:33:18 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=260b412b
media-libs/embree: drop unused eclass inherit
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/embree/embree-3.13.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/embree/embree-3.13.4.ebuild b/media-libs/embree/embree-3.13.4.ebuild
index 0cae154ea5cd..10b3cb8db86e 100644
--- a/media-libs/embree/embree-3.13.4.ebuild
+++ b/media-libs/embree/embree-3.13.4.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake flag-o-matic linux-info toolchain-funcs
+inherit cmake flag-o-matic linux-info
DESCRIPTION="Collection of high-performance ray tracing kernels"
HOMEPAGE="https://github.com/embree/embree"
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/embree/
@ 2022-08-11 7:33 Joonas Niilola
0 siblings, 0 replies; 21+ messages in thread
From: Joonas Niilola @ 2022-08-11 7:33 UTC (permalink / raw
To: gentoo-commits
commit: bfe296c6fc4595e250ea782ec0d714c6a099b13c
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 11 07:29:50 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Aug 11 07:33:18 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfe296c6
media-libs/embree: multi-line REQUIRED_USE for readability, consistency
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/embree/embree-3.13.4.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/media-libs/embree/embree-3.13.4.ebuild b/media-libs/embree/embree-3.13.4.ebuild
index 7d71777f2596..0cae154ea5cd 100644
--- a/media-libs/embree/embree-3.13.4.ebuild
+++ b/media-libs/embree/embree-3.13.4.ebuild
@@ -16,7 +16,8 @@ X86_CPU_FLAGS=( sse2:sse2 sse4_2:sse4_2 avx:avx avx2:avx2 avx512dq:avx512dq )
CPU_FLAGS=( cpu_flags_arm_neon ${X86_CPU_FLAGS[@]/#/cpu_flags_x86_} )
IUSE="+compact-polys ispc +raymask ssp +tbb tutorial ${CPU_FLAGS[@]%:*}"
# Let's be explicit here even though we could simplify it.
-REQUIRED_USE="amd64? ( cpu_flags_x86_sse2 ) x86? ( cpu_flags_x86_sse2 )"
+REQUIRED_USE="amd64? ( cpu_flags_x86_sse2 )
+ x86? ( cpu_flags_x86_sse2 )"
BDEPEND="
virtual/pkgconfig
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/embree/
@ 2022-12-26 3:20 Sam James
0 siblings, 0 replies; 21+ messages in thread
From: Sam James @ 2022-12-26 3:20 UTC (permalink / raw
To: gentoo-commits
commit: 5dd50ab7705b09c6cef8a015fdf8c9d4e41ef248
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 26 03:19:30 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec 26 03:19:30 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dd50ab7
media-libs/embree: Stabilize 3.13.4 amd64, #887549
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/embree/embree-3.13.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/embree/embree-3.13.4.ebuild b/media-libs/embree/embree-3.13.4.ebuild
index 10b3cb8db86e..3c9f945a7e83 100644
--- a/media-libs/embree/embree-3.13.4.ebuild
+++ b/media-libs/embree/embree-3.13.4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/embree/embree/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="3"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
X86_CPU_FLAGS=( sse2:sse2 sse4_2:sse4_2 avx:avx avx2:avx2 avx512dq:avx512dq )
CPU_FLAGS=( cpu_flags_arm_neon ${X86_CPU_FLAGS[@]/#/cpu_flags_x86_} )
IUSE="+compact-polys ispc +raymask ssp +tbb tutorial ${CPU_FLAGS[@]%:*}"
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/embree/
@ 2022-12-26 19:19 Andreas Sturmlechner
0 siblings, 0 replies; 21+ messages in thread
From: Andreas Sturmlechner @ 2022-12-26 19:19 UTC (permalink / raw
To: gentoo-commits
commit: 8f7c2a576b8f1c5a3ea8ff16bafbc3483b7570d3
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 26 07:48:44 2022 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Dec 26 19:16:40 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f7c2a57
media-libs/embree: drop 3.13.0-r2, 3.13.2, 3.13.3
Closes: https://bugs.gentoo.org/887549
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
media-libs/embree/Manifest | 3 -
media-libs/embree/embree-3.13.0-r2.ebuild | 113 -------------------------
media-libs/embree/embree-3.13.2.ebuild | 132 ------------------------------
media-libs/embree/embree-3.13.3.ebuild | 132 ------------------------------
4 files changed, 380 deletions(-)
diff --git a/media-libs/embree/Manifest b/media-libs/embree/Manifest
index cf510251420e..a056b4c9a819 100644
--- a/media-libs/embree/Manifest
+++ b/media-libs/embree/Manifest
@@ -1,4 +1 @@
-DIST embree-3.13.0.tar.gz 13708421 BLAKE2B bace1866d9d6907308d38370347d23b4edb3fe287d093acf35367be1d4548d1df064ed9d46ef928f17af99e335d5fcd7b7285a2bd95707361440547544782080 SHA512 3fc4f00151cb9558810c643bf77f3135465d65c4523e08d5289a0fdcb18d4c63a8e805647e4ce208556c4679d44373d817761c1003b1e9dc65a39d5ebf17926f
-DIST embree-3.13.2.tar.gz 13716621 BLAKE2B 8fd770ea9984a9f5b532f114c7901a67105f95c98a1bad45ed9dc2e312062e22aee26d54bd54ac3c9593fed14d34b03903ac186516682890cfaf9e0714743cce SHA512 9e4912f52c503d8d1fe0c3c81bf8108f1af044bf08d76111e4c1ab434c6a38d33bae9aacfd60c874da76bcc2f909ad1f3f171d458adb7973644cdbfd3693dc0f
-DIST embree-3.13.3.tar.gz 13712462 BLAKE2B 02edef26b4c4f3676e792c06490e5947d3a2cedd4ce1bbf4731e60feea0b3714bf4bbf9d859d464f179674e4e0c9462d1565869713c5612705df273baa41923f SHA512 eef8d9101f0bf95d6706a495a9aa628c10749862aeb2baa6bba2f82fcc3a96467a28ca1f522d672eb5aa7b29824363674feda25832724da361b3334334a218cd
DIST embree-3.13.4.tar.gz 13733908 BLAKE2B 4c6c24f62ee88a09149bd930716c71e91d54563eea5cc103c0346d3808c693e8470fc7ea98651e0df9e4423bda565d7ab1a23e16c9d0441c79e9ec9c8571b0fa SHA512 685c3935fabe1bfa7260ef148df26b686b085b75011d72011461471cbcef786a5ce7a0e85c57b2df05798489a2d4e80a8d3ee5df986029edad7df7511d99c0ca
diff --git a/media-libs/embree/embree-3.13.0-r2.ebuild b/media-libs/embree/embree-3.13.0-r2.ebuild
deleted file mode 100644
index f72392a0812c..000000000000
--- a/media-libs/embree/embree-3.13.0-r2.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake flag-o-matic linux-info toolchain-funcs
-
-DESCRIPTION="Collection of high-performance ray tracing kernels"
-HOMEPAGE="https://github.com/embree/embree"
-SRC_URI="https://github.com/embree/embree/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="3"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
-X86_CPU_FLAGS=( sse2:sse2 sse4_2:sse4_2 avx:avx avx2:avx2 avx512dq:avx512dq )
-CPU_FLAGS=( ${X86_CPU_FLAGS[@]/#/cpu_flags_x86_} )
-IUSE="+compact-polys ispc +raymask ssp +tbb tutorial ${CPU_FLAGS[@]%:*}"
-RESTRICT="mirror"
-
-BDEPEND="
- virtual/pkgconfig
-"
-RDEPEND="
- >=media-libs/glfw-3.2.1
- virtual/opengl
- ispc? ( dev-lang/ispc )
- tbb? ( dev-cpp/tbb:= )
- tutorial? (
- >=media-libs/libpng-1.6.34:0=
- >=media-libs/openimageio-1.8.7:0=
- virtual/jpeg:0
- )
-"
-DEPEND="${RDEPEND}"
-
-DOCS=( CHANGELOG.md README.md readme.pdf )
-
-pkg_setup() {
- CONFIG_CHECK="~TRANSPARENT_HUGEPAGE"
- WARNING_TRANSPARENT_HUGEPAGE="Not enabling Transparent Hugepages (CONFIG_TRANSPARENT_HUGEPAGE) will impact rendering performance."
- linux-info_pkg_setup
-
- if ! ( cat /proc/cpuinfo | grep sse2 > /dev/null ) ; then
- die "You need a CPU with at least sse2 support"
- fi
-}
-
-src_prepare() {
- cmake_src_prepare
-
- # disable RPM package building
- sed -e 's|CPACK_RPM_PACKAGE_RELEASE 1|CPACK_RPM_PACKAGE_RELEASE 0|' \
- -i CMakeLists.txt || die
-}
-
-src_configure() {
- # NOTE: You can make embree accept custom CXXFLAGS by turning off
- # EMBREE_IGNORE_CMAKE_CXX_FLAGS. However, the linking will fail if you use
- # any "m*" compile flags. This is because embree builds modules for the
- # different supported ISAs and picks the correct one at runtime.
- # "m*" will pull in cpu instructions that shouldn't be in specific modules
- # and it fails to link properly.
- # https://github.com/embree/embree/issues/115
-
- filter-flags -m*
-
- local mycmakeargs=(
- # Currently Intel only host their test files on their internal network.
- # So it seems like users can't easily get a hold of these and do
- # regression testing on their own.
- -DBUILD_TESTING:BOOL=OFF
- -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON
- -DEMBREE_BACKFACE_CULLING=OFF # default
- -DEMBREE_COMPACT_POLYS=$(usex compact-polys)
- -DEMBREE_FILTER_FUNCTION=ON # default
- -DEMBREE_GEOMETRY_CURVE=ON # default
- -DEMBREE_GEOMETRY_GRID=ON # default
- -DEMBREE_GEOMETRY_INSTANCE=ON # default
- -DEMBREE_GEOMETRY_POINT=ON # default
- -DEMBREE_GEOMETRY_QUAD=ON # default
- -DEMBREE_GEOMETRY_SUBDIVISION=ON # default
- -DEMBREE_GEOMETRY_TRIANGLE=ON # default
- -DEMBREE_GEOMETRY_USER=ON # default
- -DEMBREE_IGNORE_CMAKE_CXX_FLAGS=OFF
- -DEMBREE_IGNORE_INVALID_RAYS=OFF # default
- -DEMBREE_MAX_ISA:STRING="NONE" # Set to NONE so we can manually switch on ISAs below
- -DEMBREE_ISA_AVX=$(usex cpu_flags_x86_avx)
- -DEMBREE_ISA_AVX2=$(usex cpu_flags_x86_avx2)
- -DEMBREE_ISA_AVX512=$(usex cpu_flags_x86_avx512dq)
- -DEMBREE_ISA_SSE2=$(usex cpu_flags_x86_sse2)
- -DEMBREE_ISA_SSE42=$(usex cpu_flags_x86_sse4_2)
- -DEMBREE_ISPC_SUPPORT=$(usex ispc)
- -DEMBREE_RAY_MASK=$(usex raymask)
- -DEMBREE_RAY_PACKETS=ON # default
- -DEMBREE_STACK_PROTECTOR=$(usex ssp)
- -DEMBREE_STATIC_LIB=OFF
- -DEMBREE_STAT_COUNTERS=OFF
- -DEMBREE_TASKING_SYSTEM:STRING=$(usex tbb "TBB" "INTERNAL")
- -DEMBREE_TUTORIALS=$(usex tutorial) )
-
- # Disable asserts
- append-cppflags -DNDEBUG
-
- if use tutorial; then
- mycmakeargs+=(
- -DEMBREE_ISPC_ADDRESSING:STRING="64"
- -DEMBREE_TUTORIALS_LIBJPEG=ON
- -DEMBREE_TUTORIALS_LIBPNG=ON
- -DEMBREE_TUTORIALS_OPENIMAGEIO=ON )
- fi
-
- cmake_src_configure
-}
diff --git a/media-libs/embree/embree-3.13.2.ebuild b/media-libs/embree/embree-3.13.2.ebuild
deleted file mode 100644
index 40002cff3ac1..000000000000
--- a/media-libs/embree/embree-3.13.2.ebuild
+++ /dev/null
@@ -1,132 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake flag-o-matic linux-info toolchain-funcs
-
-DESCRIPTION="Collection of high-performance ray tracing kernels"
-HOMEPAGE="https://github.com/embree/embree"
-SRC_URI="https://github.com/embree/embree/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="3"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
-X86_CPU_FLAGS=( sse2:sse2 sse4_2:sse4_2 avx:avx avx2:avx2 avx512dq:avx512dq )
-CPU_FLAGS=( cpu_flags_arm_neon ${X86_CPU_FLAGS[@]/#/cpu_flags_x86_} )
-IUSE="+compact-polys ispc +raymask ssp +tbb tutorial ${CPU_FLAGS[@]%:*}"
-# Let's be explicit here even though we could simplify it.
-REQUIRED_USE="amd64? ( cpu_flags_x86_sse2 ) x86? ( cpu_flags_x86_sse2 )"
-
-RESTRICT="mirror"
-
-BDEPEND="
- virtual/pkgconfig
-"
-RDEPEND="
- >=media-libs/glfw-3.2.1
- virtual/opengl
- ispc? ( dev-lang/ispc )
- tbb? ( dev-cpp/tbb:= )
- tutorial? (
- >=media-libs/libpng-1.6.34:0=
- >=media-libs/openimageio-1.8.7:0=
- virtual/jpeg:0
- )
-"
-DEPEND="${RDEPEND}"
-
-DOCS=( CHANGELOG.md README.md readme.pdf )
-
-pkg_setup() {
- CONFIG_CHECK="~TRANSPARENT_HUGEPAGE"
- WARNING_TRANSPARENT_HUGEPAGE="Not enabling Transparent Hugepages (CONFIG_TRANSPARENT_HUGEPAGE) will impact rendering performance."
-
- linux-info_pkg_setup
-}
-
-src_prepare() {
- cmake_src_prepare
-
- # disable RPM package building
- sed -e 's|CPACK_RPM_PACKAGE_RELEASE 1|CPACK_RPM_PACKAGE_RELEASE 0|' \
- -i CMakeLists.txt || die
-}
-
-src_configure() {
- # NOTE: You can make embree accept custom CXXFLAGS by turning off
- # EMBREE_IGNORE_CMAKE_CXX_FLAGS. However, the linking will fail if you use
- # any "m*" compile flags. This is because embree builds modules for the
- # different supported ISAs and picks the correct one at runtime.
- # "m*" will pull in cpu instructions that shouldn't be in specific modules
- # and it fails to link properly.
- # https://github.com/embree/embree/issues/115
-
- filter-flags -m*
-
- local mycmakeargs=(
- # Currently Intel only host their test files on their internal network.
- # So it seems like users can't easily get a hold of these and do
- # regression testing on their own.
- -DBUILD_TESTING:BOOL=OFF
- -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON
-
- # default
- -DEMBREE_BACKFACE_CULLING=OFF
- -DEMBREE_COMPACT_POLYS=$(usex compact-polys)
-
- # default
- -DEMBREE_FILTER_FUNCTION=ON
- # default
- -DEMBREE_GEOMETRY_CURVE=ON
- # default
- -DEMBREE_GEOMETRY_GRID=ON
- # default
- -DEMBREE_GEOMETRY_INSTANCE=ON
- # default
- -DEMBREE_GEOMETRY_POINT=ON
- # default
- -DEMBREE_GEOMETRY_QUAD=ON
- # default
- -DEMBREE_GEOMETRY_SUBDIVISION=ON
- # default
- -DEMBREE_GEOMETRY_TRIANGLE=ON
- # default
- -DEMBREE_GEOMETRY_USER=ON
- # default
- -DEMBREE_IGNORE_CMAKE_CXX_FLAGS=OFF
- # default
- -DEMBREE_IGNORE_INVALID_RAYS=OFF
-
- # Set to NONE so we can manually switch on ISAs below
- -DEMBREE_MAX_ISA:STRING="NONE"
- -DEMBREE_ISA_AVX=$(usex cpu_flags_x86_avx)
- -DEMBREE_ISA_AVX2=$(usex cpu_flags_x86_avx2)
- -DEMBREE_ISA_AVX512=$(usex cpu_flags_x86_avx512dq)
- -DEMBREE_ISA_NEON=$(usex cpu_flags_arm_neon)
- -DEMBREE_ISA_SSE2=$(usex cpu_flags_x86_sse2)
- -DEMBREE_ISA_SSE42=$(usex cpu_flags_x86_sse4_2)
- -DEMBREE_ISPC_SUPPORT=$(usex ispc)
- -DEMBREE_RAY_MASK=$(usex raymask)
- # default
- -DEMBREE_RAY_PACKETS=ON
- -DEMBREE_STACK_PROTECTOR=$(usex ssp)
- -DEMBREE_STATIC_LIB=OFF
- -DEMBREE_STAT_COUNTERS=OFF
- -DEMBREE_TASKING_SYSTEM:STRING=$(usex tbb "TBB" "INTERNAL")
- -DEMBREE_TUTORIALS=$(usex tutorial))
-
- # Disable asserts
- append-cppflags -DNDEBUG
-
- if use tutorial; then
- mycmakeargs+=(
- -DEMBREE_ISPC_ADDRESSING:STRING="64"
- -DEMBREE_TUTORIALS_LIBJPEG=ON
- -DEMBREE_TUTORIALS_LIBPNG=ON
- -DEMBREE_TUTORIALS_OPENIMAGEIO=ON
- )
- fi
-
- cmake_src_configure
-}
diff --git a/media-libs/embree/embree-3.13.3.ebuild b/media-libs/embree/embree-3.13.3.ebuild
deleted file mode 100644
index 40002cff3ac1..000000000000
--- a/media-libs/embree/embree-3.13.3.ebuild
+++ /dev/null
@@ -1,132 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake flag-o-matic linux-info toolchain-funcs
-
-DESCRIPTION="Collection of high-performance ray tracing kernels"
-HOMEPAGE="https://github.com/embree/embree"
-SRC_URI="https://github.com/embree/embree/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="3"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
-X86_CPU_FLAGS=( sse2:sse2 sse4_2:sse4_2 avx:avx avx2:avx2 avx512dq:avx512dq )
-CPU_FLAGS=( cpu_flags_arm_neon ${X86_CPU_FLAGS[@]/#/cpu_flags_x86_} )
-IUSE="+compact-polys ispc +raymask ssp +tbb tutorial ${CPU_FLAGS[@]%:*}"
-# Let's be explicit here even though we could simplify it.
-REQUIRED_USE="amd64? ( cpu_flags_x86_sse2 ) x86? ( cpu_flags_x86_sse2 )"
-
-RESTRICT="mirror"
-
-BDEPEND="
- virtual/pkgconfig
-"
-RDEPEND="
- >=media-libs/glfw-3.2.1
- virtual/opengl
- ispc? ( dev-lang/ispc )
- tbb? ( dev-cpp/tbb:= )
- tutorial? (
- >=media-libs/libpng-1.6.34:0=
- >=media-libs/openimageio-1.8.7:0=
- virtual/jpeg:0
- )
-"
-DEPEND="${RDEPEND}"
-
-DOCS=( CHANGELOG.md README.md readme.pdf )
-
-pkg_setup() {
- CONFIG_CHECK="~TRANSPARENT_HUGEPAGE"
- WARNING_TRANSPARENT_HUGEPAGE="Not enabling Transparent Hugepages (CONFIG_TRANSPARENT_HUGEPAGE) will impact rendering performance."
-
- linux-info_pkg_setup
-}
-
-src_prepare() {
- cmake_src_prepare
-
- # disable RPM package building
- sed -e 's|CPACK_RPM_PACKAGE_RELEASE 1|CPACK_RPM_PACKAGE_RELEASE 0|' \
- -i CMakeLists.txt || die
-}
-
-src_configure() {
- # NOTE: You can make embree accept custom CXXFLAGS by turning off
- # EMBREE_IGNORE_CMAKE_CXX_FLAGS. However, the linking will fail if you use
- # any "m*" compile flags. This is because embree builds modules for the
- # different supported ISAs and picks the correct one at runtime.
- # "m*" will pull in cpu instructions that shouldn't be in specific modules
- # and it fails to link properly.
- # https://github.com/embree/embree/issues/115
-
- filter-flags -m*
-
- local mycmakeargs=(
- # Currently Intel only host their test files on their internal network.
- # So it seems like users can't easily get a hold of these and do
- # regression testing on their own.
- -DBUILD_TESTING:BOOL=OFF
- -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON
-
- # default
- -DEMBREE_BACKFACE_CULLING=OFF
- -DEMBREE_COMPACT_POLYS=$(usex compact-polys)
-
- # default
- -DEMBREE_FILTER_FUNCTION=ON
- # default
- -DEMBREE_GEOMETRY_CURVE=ON
- # default
- -DEMBREE_GEOMETRY_GRID=ON
- # default
- -DEMBREE_GEOMETRY_INSTANCE=ON
- # default
- -DEMBREE_GEOMETRY_POINT=ON
- # default
- -DEMBREE_GEOMETRY_QUAD=ON
- # default
- -DEMBREE_GEOMETRY_SUBDIVISION=ON
- # default
- -DEMBREE_GEOMETRY_TRIANGLE=ON
- # default
- -DEMBREE_GEOMETRY_USER=ON
- # default
- -DEMBREE_IGNORE_CMAKE_CXX_FLAGS=OFF
- # default
- -DEMBREE_IGNORE_INVALID_RAYS=OFF
-
- # Set to NONE so we can manually switch on ISAs below
- -DEMBREE_MAX_ISA:STRING="NONE"
- -DEMBREE_ISA_AVX=$(usex cpu_flags_x86_avx)
- -DEMBREE_ISA_AVX2=$(usex cpu_flags_x86_avx2)
- -DEMBREE_ISA_AVX512=$(usex cpu_flags_x86_avx512dq)
- -DEMBREE_ISA_NEON=$(usex cpu_flags_arm_neon)
- -DEMBREE_ISA_SSE2=$(usex cpu_flags_x86_sse2)
- -DEMBREE_ISA_SSE42=$(usex cpu_flags_x86_sse4_2)
- -DEMBREE_ISPC_SUPPORT=$(usex ispc)
- -DEMBREE_RAY_MASK=$(usex raymask)
- # default
- -DEMBREE_RAY_PACKETS=ON
- -DEMBREE_STACK_PROTECTOR=$(usex ssp)
- -DEMBREE_STATIC_LIB=OFF
- -DEMBREE_STAT_COUNTERS=OFF
- -DEMBREE_TASKING_SYSTEM:STRING=$(usex tbb "TBB" "INTERNAL")
- -DEMBREE_TUTORIALS=$(usex tutorial))
-
- # Disable asserts
- append-cppflags -DNDEBUG
-
- if use tutorial; then
- mycmakeargs+=(
- -DEMBREE_ISPC_ADDRESSING:STRING="64"
- -DEMBREE_TUTORIALS_LIBJPEG=ON
- -DEMBREE_TUTORIALS_LIBPNG=ON
- -DEMBREE_TUTORIALS_OPENIMAGEIO=ON
- )
- fi
-
- cmake_src_configure
-}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/embree/
@ 2023-06-10 20:47 Andreas Sturmlechner
0 siblings, 0 replies; 21+ messages in thread
From: Andreas Sturmlechner @ 2023-06-10 20:47 UTC (permalink / raw
To: gentoo-commits
commit: 136cbc8bd50200894e7a8eeef35e2c47ba119e39
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 10 20:02:30 2023 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jun 10 20:46:22 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=136cbc8b
media-libs/embree: unkeyword 3.13.4 for ~x86, no revdeps
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
media-libs/embree/embree-3.13.4.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/media-libs/embree/embree-3.13.4.ebuild b/media-libs/embree/embree-3.13.4.ebuild
index 3c9f945a7e83..247a69b0fb6c 100644
--- a/media-libs/embree/embree-3.13.4.ebuild
+++ b/media-libs/embree/embree-3.13.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/embree/embree/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="3"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64"
X86_CPU_FLAGS=( sse2:sse2 sse4_2:sse4_2 avx:avx avx2:avx2 avx512dq:avx512dq )
CPU_FLAGS=( cpu_flags_arm_neon ${X86_CPU_FLAGS[@]/#/cpu_flags_x86_} )
IUSE="+compact-polys ispc +raymask ssp +tbb tutorial ${CPU_FLAGS[@]%:*}"
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/embree/
@ 2023-07-26 8:00 Joonas Niilola
0 siblings, 0 replies; 21+ messages in thread
From: Joonas Niilola @ 2023-07-26 8:00 UTC (permalink / raw
To: gentoo-commits
commit: 958acb2ffefb980fb7be3cfcfd5c667e567184d4
Author: Violet Purcell <vimproved <AT> inventati <DOT> org>
AuthorDate: Sun Jul 9 14:06:50 2023 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Jul 26 08:00:18 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=958acb2f
media-libs/embree: Filter LTO with clang
Closes: https://bugs.gentoo.org/910164
Signed-off-by: Violet Purcell <vimproved <AT> inventati.org>
Closes: https://github.com/gentoo/gentoo/pull/31811
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/embree/embree-3.13.4.ebuild | 5 ++++-
media-libs/embree/embree-3.13.5.ebuild | 5 ++++-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/media-libs/embree/embree-3.13.4.ebuild b/media-libs/embree/embree-3.13.4.ebuild
index 247a69b0fb6c..1925f9f320b4 100644
--- a/media-libs/embree/embree-3.13.4.ebuild
+++ b/media-libs/embree/embree-3.13.4.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake flag-o-matic linux-info
+inherit cmake flag-o-matic linux-info toolchain-funcs
DESCRIPTION="Collection of high-performance ray tracing kernels"
HOMEPAGE="https://github.com/embree/embree"
@@ -67,6 +67,9 @@ src_configure() {
filter-flags -m*
+ # https://bugs.gentoo.org/910164
+ tc-is-clang && filter-lto
+
local mycmakeargs=(
# Currently Intel only host their test files on their internal network.
# So it seems like users can't easily get a hold of these and do
diff --git a/media-libs/embree/embree-3.13.5.ebuild b/media-libs/embree/embree-3.13.5.ebuild
index 1f94e528f380..7a4464c22033 100644
--- a/media-libs/embree/embree-3.13.5.ebuild
+++ b/media-libs/embree/embree-3.13.5.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake flag-o-matic linux-info
+inherit cmake flag-o-matic linux-info toolchain-funcs
DESCRIPTION="Collection of high-performance ray tracing kernels"
HOMEPAGE="https://github.com/embree/embree"
@@ -66,6 +66,9 @@ src_configure() {
filter-flags -m*
+ # https://bugs.gentoo.org/910164
+ tc-is-clang && filter-lto
+
local mycmakeargs=(
# Currently Intel only host their test files on their internal network.
# So it seems like users can't easily get a hold of these and do
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/embree/
@ 2024-03-25 18:57 Sam James
0 siblings, 0 replies; 21+ messages in thread
From: Sam James @ 2024-03-25 18:57 UTC (permalink / raw
To: gentoo-commits
commit: 0e0641f5d60402280cb676cc0da65239eb422026
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 25 18:56:23 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 25 18:56:23 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e0641f5
media-libs/embree: crank copyright
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/embree/embree-4.3.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/embree/embree-4.3.0.ebuild b/media-libs/embree/embree-4.3.0.ebuild
index 05a813da049f..370913e57a52 100644
--- a/media-libs/embree/embree-4.3.0.ebuild
+++ b/media-libs/embree/embree-4.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/embree/
@ 2024-03-26 12:31 Sam James
0 siblings, 0 replies; 21+ messages in thread
From: Sam James @ 2024-03-26 12:31 UTC (permalink / raw
To: gentoo-commits
commit: 6523ef2c99db1ba28395f2d6b8ca8e8f46564f53
Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Tue Mar 26 04:41:01 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 26 12:27:32 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6523ef2c
media-libs/embree: mark as LTO-unsafe
Closes: https://bugs.gentoo.org/859838
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/embree/embree-3.13.4.ebuild | 7 ++++++-
media-libs/embree/embree-3.13.5.ebuild | 7 ++++++-
media-libs/embree/embree-4.3.0.ebuild | 5 +++++
3 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/media-libs/embree/embree-3.13.4.ebuild b/media-libs/embree/embree-3.13.4.ebuild
index 1925f9f320b4..9786e02cfb22 100644
--- a/media-libs/embree/embree-3.13.4.ebuild
+++ b/media-libs/embree/embree-3.13.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -57,6 +57,11 @@ src_prepare() {
}
src_configure() {
+ # -Werror=odr
+ # https://bugs.gentoo.org/859838
+ # https://github.com/embree/embree/issues/481
+ filter-lto
+
# NOTE: You can make embree accept custom CXXFLAGS by turning off
# EMBREE_IGNORE_CMAKE_CXX_FLAGS. However, the linking will fail if you use
# any "m*" compile flags. This is because embree builds modules for the
diff --git a/media-libs/embree/embree-3.13.5.ebuild b/media-libs/embree/embree-3.13.5.ebuild
index 7a4464c22033..02aed35aa2cc 100644
--- a/media-libs/embree/embree-3.13.5.ebuild
+++ b/media-libs/embree/embree-3.13.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -56,6 +56,11 @@ src_prepare() {
}
src_configure() {
+ # -Werror=odr
+ # https://bugs.gentoo.org/859838
+ # https://github.com/embree/embree/issues/481
+ filter-lto
+
# NOTE: You can make embree accept custom CXXFLAGS by turning off
# EMBREE_IGNORE_CMAKE_CXX_FLAGS. However, the linking will fail if you use
# any "m*" compile flags. This is because embree builds modules for the
diff --git a/media-libs/embree/embree-4.3.0.ebuild b/media-libs/embree/embree-4.3.0.ebuild
index 370913e57a52..04ed9ac7aeb6 100644
--- a/media-libs/embree/embree-4.3.0.ebuild
+++ b/media-libs/embree/embree-4.3.0.ebuild
@@ -49,6 +49,11 @@ src_prepare() {
}
src_configure() {
+ # -Werror=odr
+ # https://bugs.gentoo.org/859838
+ # https://github.com/embree/embree/issues/481
+ filter-lto
+
# NOTE: You can make embree accept custom CXXFLAGS by turning off
# EMBREE_IGNORE_CMAKE_CXX_FLAGS. However, the linking will fail if you use
# any "m*" compile flags. This is because embree builds modules for the
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/embree/
@ 2024-08-14 14:26 Sam James
0 siblings, 0 replies; 21+ messages in thread
From: Sam James @ 2024-08-14 14:26 UTC (permalink / raw
To: gentoo-commits
commit: efacc8d56335abb5b10c2a4b536d1add8a2e500e
Author: Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Mon Aug 12 21:13:53 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 14 14:25:27 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efacc8d5
media-libs/embree: add 4.3.3
Closes: https://bugs.gentoo.org/937275
Closes: https://bugs.gentoo.org/936509
Closes: https://bugs.gentoo.org/906049
Closes: https://bugs.gentoo.org/895016
Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/38125
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/embree/Manifest | 1 +
media-libs/embree/embree-4.3.3.ebuild | 174 ++++++++++++++++++++++++++++++++++
2 files changed, 175 insertions(+)
diff --git a/media-libs/embree/Manifest b/media-libs/embree/Manifest
index e007a68a16b3..ddfdd4541560 100644
--- a/media-libs/embree/Manifest
+++ b/media-libs/embree/Manifest
@@ -1,3 +1,4 @@
DIST embree-3.13.4.tar.gz 13733908 BLAKE2B 4c6c24f62ee88a09149bd930716c71e91d54563eea5cc103c0346d3808c693e8470fc7ea98651e0df9e4423bda565d7ab1a23e16c9d0441c79e9ec9c8571b0fa SHA512 685c3935fabe1bfa7260ef148df26b686b085b75011d72011461471cbcef786a5ce7a0e85c57b2df05798489a2d4e80a8d3ee5df986029edad7df7511d99c0ca
DIST embree-3.13.5.tar.gz 13739115 BLAKE2B 52ad8e3520aa789f7987467c6979be06f883803757e842316ecf708deeed11214dd60570eda5708e701047b1a14ea37710d158df544817dc536bfda444a68218 SHA512 13ae19b1750197fb4887ba601c75d1b54b3c388224672b6561dd922bc9b9747139cf46ce554727e3afa13dcf152ce4d703935cb9105ced792b011f2d05fa3e95
DIST embree-4.3.1.tar.gz 71110988 BLAKE2B 0ab183fe8fae3948b319c74a922c001d0567d223adab74da3a0f55fd4e4fd5c2c17afeb065da706d411238b7877e208e7041aad9430f109e606ed1a9dd23646f SHA512 da7710c6dfaa90970c223a503702fc7c7dd86c1397372b3d6f51c4377d28d8e62b90ee8c99b70e3aa49e16971a5789bb8f588ea924881b9dd5dd8d5fcd16518a
+DIST embree-4.3.3.tar.gz 71114884 BLAKE2B 154d95a5e04d86d13738b0cb28782d0f47ec4c7c1af207fdbeb17805873be85501881e6699e488477af483505c181afdf95d8199d2f54de6623fe06cc77ec603 SHA512 f614c72c5e5c83b8936d37d4e916711b3ab29329786e96944e851a41d5e2358cf7ac739c145aee131403b0b91f7e2ce5422e892dc88d490e29356f79b47c8581
diff --git a/media-libs/embree/embree-4.3.3.ebuild b/media-libs/embree/embree-4.3.3.ebuild
new file mode 100644
index 000000000000..eb4bc120565a
--- /dev/null
+++ b/media-libs/embree/embree-4.3.3.ebuild
@@ -0,0 +1,174 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic linux-info toolchain-funcs
+
+DESCRIPTION="Collection of high-performance ray tracing kernels"
+HOMEPAGE="https://github.com/embree/embree"
+SRC_URI="https://github.com/embree/embree/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="$(ver_cut 1)"
+KEYWORDS="-* ~amd64 ~arm64"
+X86_CPU_FLAGS=( sse2 sse4_2 avx avx2 avx512dq )
+CPU_FLAGS=( cpu_flags_arm_neon "${X86_CPU_FLAGS[@]/#/cpu_flags_x86_}" )
+IUSE="compact-polys ispc +raymask ssp +tbb test ${CPU_FLAGS[*]}"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+ amd64? ( || ( ${X86_CPU_FLAGS[*]/#/cpu_flags_x86_} ) )
+ arm? ( cpu_flags_arm_neon )
+"
+
+BDEPEND="
+ virtual/pkgconfig
+"
+RDEPEND="
+ ispc? ( dev-lang/ispc )
+ tbb? ( dev-cpp/tbb:= )
+"
+DEPEND="${RDEPEND}"
+
+DOCS=( CHANGELOG.md README.md readme.pdf )
+
+PATCHES=(
+ "${FILESDIR}/embree-4.3.1-dont-install-tutorials.patch"
+)
+
+pkg_setup() {
+ CONFIG_CHECK="~TRANSPARENT_HUGEPAGE"
+ WARNING_TRANSPARENT_HUGEPAGE="Not enabling Transparent Hugepages (CONFIG_TRANSPARENT_HUGEPAGE) will impact rendering performance."
+
+ linux-info_pkg_setup
+}
+
+src_prepare() {
+ cmake_src_prepare
+
+ # disable RPM package building
+ sed -e 's|CPACK_RPM_PACKAGE_RELEASE 1|CPACK_RPM_PACKAGE_RELEASE 0|' \
+ -i CMakeLists.txt || die
+
+ # don't redefine _FORTIFY_SOURCE https://bugs.gentoo.org/895016
+ sed -e '/-D_FORTIFY_SOURCE=2/d' \
+ -i common/cmake/*.cmake \
+ || die
+
+ # raise cmake minimum version to silence warning
+ sed -e 's#CMAKE_MINIMUM_REQUIRED(VERSION 3.[0-9].0)#CMAKE_MINIMUM_REQUIRED(VERSION 3.5)#I' \
+ -i \
+ CMakeLists.txt \
+ kernels/rthwif/CMakeLists.txt \
+ tutorials/embree_info/CMakeLists.txt \
+ tutorials/minimal/CMakeLists.txt \
+ || die
+}
+
+src_configure() {
+ # -Werror=odr
+ # https://bugs.gentoo.org/859838
+ # https://github.com/embree/embree/issues/481
+ filter-lto
+
+ # NOTE: You can make embree accept custom CXXFLAGS by turning off
+ # EMBREE_IGNORE_CMAKE_CXX_FLAGS. However, the linking will fail if you use
+ # any "m*" compile flags. This is because embree builds modules for the
+ # different supported ISAs and picks the correct one at runtime.
+ # "m*" will pull in cpu instructions that shouldn't be in specific modules
+ # and it fails to link properly.
+ # https://github.com/embree/embree/issues/115
+
+ filter-flags -m*
+
+ # https://bugs.gentoo.org/910164
+ tc-is-clang && filter-lto
+
+ local mycmakeargs=(
+ -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON
+
+ # Default culling settings for Blender
+ # (Cycles will not render correctly without these)
+ # Some Embree tests will fail with these settings though...
+ -DEMBREE_BACKFACE_CULLING=OFF
+ -DEMBREE_BACKFACE_CULLING_CURVES=ON
+ -DEMBREE_BACKFACE_CULLING_SPHERES=ON
+
+ -DEMBREE_COMPACT_POLYS=$(usex compact-polys)
+
+ # Make sure that we are using our custom compilie flags
+ -DEMBREE_IGNORE_CMAKE_CXX_FLAGS=OFF
+
+ # Set to NONE so we can manually switch on ISAs below
+ -DEMBREE_MAX_ISA:STRING="NONE"
+ -DEMBREE_ISA_AVX=$(usex cpu_flags_x86_avx)
+ -DEMBREE_ISA_AVX2=$(usex cpu_flags_x86_avx2)
+ -DEMBREE_ISA_AVX512=$(usex cpu_flags_x86_avx512dq)
+ -DEMBREE_ISA_SSE2=$(usex cpu_flags_x86_sse2)
+ -DEMBREE_ISA_SSE42=$(usex cpu_flags_x86_sse4_2)
+ -DEMBREE_ISPC_SUPPORT=$(usex ispc)
+ -DEMBREE_RAY_MASK=$(usex raymask)
+
+ # TODO figure out sycl support
+ -DEMBREE_SYCL_SUPPORT="no"
+
+ -DEMBREE_STACK_PROTECTOR=$(usex ssp)
+ -DEMBREE_STATIC_LIB=OFF
+ -DEMBREE_TASKING_SYSTEM:STRING=$(usex tbb "TBB" "INTERNAL")
+ # Tutorial binaries are required by the tests
+ -DEMBREE_TUTORIALS=$(usex test)
+ -DEMBREE_ZIP_MODE=OFF
+ )
+
+ if { use arm && usex cpu_flags_arm_neon; } || use arm64; then
+ mycmakeargs+=(
+ -DEMBREE_ISA_NEON="yes"
+ # TODO look into neon 2x support
+ # -DEMBREE_ISA_NEON2X="yes"
+ )
+ fi
+
+ # Disable asserts
+ append-cppflags -DNDEBUG
+
+ if use test; then
+ mycmakeargs+=(
+ -DBUILD_TESTING=ON
+ -DEMBREE_TESTING_INSTALL_TESTS=OFF
+ -DEMBREE_TESTING_INTENSITY=4
+ # These tutorials are not used by the default tests
+ -DEMBREE_TUTORIALS_GLFW=OFF
+ -DEMBREE_TUTORIALS_INSTALL=OFF
+ )
+ fi
+
+ cmake_src_configure
+}
+
+src_test() {
+ # NOTE Some Embree tests will fail due to EMBREE_BACKFACE_CULLING settings for blender...
+ local CMAKE_SKIP_TESTS=(
+ '^embree_verify$'
+ '^embree_verify_i2$'
+ '^viewer_models_curves_round_line_segments_3.ecs(|_ispc)$'
+ '^viewer_models_curves_round_line_segments_7.ecs(|_ispc)$'
+ '^viewer_models_curves_round_line_segments_8.ecs(|_ispc)$'
+ '^viewer_models_curves_round_line_segments_9.ecs(|_ispc)$'
+ '^viewer_coherent_models_curves_round_line_segments_3.ecs(|_ispc)$'
+ '^viewer_coherent_models_curves_round_line_segments_7.ecs(|_ispc)$'
+ '^viewer_coherent_models_curves_round_line_segments_8.ecs(|_ispc)$'
+ '^viewer_coherent_models_curves_round_line_segments_9.ecs(|_ispc)$'
+ '^viewer_quad_coherent_models_curves_round_line_segments_3.ecs(|_ispc)$'
+ '^viewer_quad_coherent_models_curves_round_line_segments_7.ecs(|_ispc)$'
+ '^viewer_quad_coherent_models_curves_round_line_segments_8.ecs(|_ispc)$'
+ '^viewer_quad_coherent_models_curves_round_line_segments_9.ecs(|_ispc)$'
+ '^viewer_grid_coherent_models_curves_round_line_segments_3.ecs(|_ispc)$'
+ '^viewer_grid_coherent_models_curves_round_line_segments_7.ecs(|_ispc)$'
+ '^viewer_grid_coherent_models_curves_round_line_segments_8.ecs(|_ispc)$'
+ '^viewer_grid_coherent_models_curves_round_line_segments_9.ecs(|_ispc)$'
+ '^hair_geometry(|_ispc)$'
+ '^embree_tests$'
+ )
+
+ cmake_src_test
+}
^ permalink raw reply related [flat|nested] 21+ messages in thread
end of thread, other threads:[~2024-08-14 14:26 UTC | newest]
Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-19 3:30 [gentoo-commits] repo/gentoo:master commit in: media-libs/embree/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2024-08-14 14:26 Sam James
2024-03-26 12:31 Sam James
2024-03-25 18:57 Sam James
2023-07-26 8:00 Joonas Niilola
2023-06-10 20:47 Andreas Sturmlechner
2022-12-26 19:19 Andreas Sturmlechner
2022-12-26 3:20 Sam James
2022-08-11 7:33 Joonas Niilola
2022-08-11 7:33 Joonas Niilola
2021-11-23 21:36 Sam James
2021-10-31 5:53 Sam James
2021-10-29 22:23 Sam James
2021-09-19 3:09 Sam James
2021-09-19 3:09 Sam James
2021-08-04 2:58 Sam James
2021-08-04 2:15 Sam James
2021-06-10 17:54 Sam James
2021-06-10 0:51 Sam James
2017-06-20 12:53 Pacho Ramos
2016-02-12 22:43 Kacper Kowalik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox