The package rpms/embree.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/embree.git/commit/?id=d82bc0241e7....
Change:
+%ifarch x86_64
Thanks.
Full change:
============
commit d82bc0241e72826a2ece5a44f9c1af83c7dcfabb
Author: Luya Tshimbalanga <luya(a)fedoraproject.org>
Date: Mon May 10 17:28:00 2021 -0700
Update to 3.13.0
Set Max ISA detection to SSE4.2 (AVX support is broken)
Enable aarch64 architecture support without ISA
Exclude ar
Resolves: #1958600
diff --git a/.gitignore b/.gitignore
index 422d4f3..f69e76a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,3 +21,4 @@
/embree-3.12.0.tar.gz
/embree-3.12.1.tar.gz
/embree-3.12.2.tar.gz
+/embree-3.13.0.tar.gz
diff --git a/embree.spec b/embree.spec
index af3a19c..a6ace0d 100644
--- a/embree.spec
+++ b/embree.spec
@@ -5,9 +5,14 @@
#%%global prerelease beta
#%%global commit 40b9aca2668f443cae6bfbfa7cc5a354f1087011
#%%global shortcommit %%(c=%%{commit}; echo ${c:0:7})
+%ifarch x86_64 aarch64
+%bcond_without ispc
+%else
+%bcond_with ispc
+%endif
Name: embree
-Version: 3.12.2
+Version: 3.13.0
Release: 1%{?dist}
Summary: Collection of high-performance ray tracing kernels
@@ -22,7 +27,9 @@
Source:
https://github.com/%{name}/%{name}/archive/v%{version}%{?prerelease:%{-
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: giflib-devel
+%if %{with ispc}
BuildRequires: ispc
+%endif
BuildRequires: pkgconfig(glut)
BuildRequires: pkgconfig(glfw3)
BuildRequires: pkgconfig(xmu)
@@ -36,8 +43,8 @@ BuildRequires: pkgconfig(OpenImageIO)
%endif
BuildRequires: pkgconfig(tbb)
-# Use 64bit architectures because of SSE2 and up
-ExclusiveArch: x86_64
+# Exclude architectures failing to support SSE2 and up
+ExcludeArch: armv7hl i686 ppc64le s390x
%description
A collection of high-performance ray tracing kernels intended to graphics
@@ -70,13 +77,23 @@ The %{name}-examples package contains sample binaries using %{name}.
%build
export CXXFLAGS="%{optflags} -Wl,--as-needed"
%cmake \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_CXX_STANDARD=17 \
-DCMAKE_INSTALL_LIBDIR=%{_libdir} \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
- -DCMAKE_BUILD_TYPE=Release \
- -DEMBREE_MAX_ISA=DEFAULT \
+ -DEMBREE_COMPACT_POLYS=ON \
-DEMBREE_IGNORE_CMAKE_CXX_FLAGS=OFF \
- -DEMBREE_TUTORIALS=OFF \
- -DEMBREE_COMPACT_POLYS=ON
+%if %{with ispc}
+ -DEMBREE_ISPC_SUPPORT=ON \
+%else
+ -DEMBREE_ISPC_SUPPORT=OFF \
+%endif
+%ifarch x86_64
+ -DEMBREE_MAX_ISA=SSE4.2 \
+%else
+ -DEMBREE_MAX_ISA=NONE \
+%endif
+ -DEMBREE_TUTORIALS=OFF
%cmake_build
%install
@@ -104,7 +121,16 @@ rm %{buildroot}%{_docdir}/%{name}/LICENSE.txt
%endif
%changelog
-%changelog
+* Sun May 9 2021 Luya Tshimbalanga <luya(a)fedoraproject.org> - 3.13.0-1
+- Update to 3.13.0
+- Set Max ISA detection to SSE4.2 (AVX support is broken)
+- Enable aarch64 architecture support without ISA
+- Exclude ar
+- Resolves: #1958600
+
+* Fri Apr 23 2021 Luya Tshimbalanga <luya(a)fedoraproject.org> - 3.12.2-2
+- Set ispc support as optional
+
* Wed Jan 27 2021 Fedora Release Monitoring <release-monitoring(a)fedoraproject.org>
- 3.12.2-1
- Update to 3.12.2 (#1920141)
diff --git a/sources b/sources
index 6b3ab96..2b7e6d0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (embree-3.12.2.tar.gz) =
a63b483a92f4653e07a21ed3b545d86003295e0aacd8ec7a40ee72bad7bb70c6ea019af511e78c5c598336b162d53e296e9c87150c0adce6463b058e7a5394d4
+SHA512 (embree-3.13.0.tar.gz) =
3fc4f00151cb9558810c643bf77f3135465d65c4523e08d5289a0fdcb18d4c63a8e805647e4ce208556c4679d44373d817761c1003b1e9dc65a39d5ebf17926f