[packages/OpenImageIO] - more complete (non-tbb, non-threads) archs lists

qboosh qboosh at pld-linux.org
Fri Nov 8 15:58:32 CET 2013


commit 9293af1afd70d75ad7a3d08efb74b67d4ac70439
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Nov 8 15:58:52 2013 +0100

    - more complete (non-tbb, non-threads) archs lists

 OpenImageIO.spec | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/OpenImageIO.spec b/OpenImageIO.spec
index 5295570..24d6920 100644
--- a/OpenImageIO.spec
+++ b/OpenImageIO.spec
@@ -5,10 +5,13 @@
 %bcond_without	static_libs	# don't build static libraries
 %bcond_without	tbb		# Threading Building Blocks
 #
-%ifarch i486
+%ifarch i386 i486
 # https://github.com/OpenImageIO/oiio/issues/583
 %undefine	with_tbb
 %endif
+%ifnarch %{ix86} %{x8664} %{arm} ia64 ppc ppc64
+%undefine	with_tbb
+%endif
 #
 Summary:	Library for reading and writing images
 Summary(pl.UTF-8):	Biblioteka do odczytu i zapisu obrazów
@@ -319,7 +322,7 @@ Wiązanie Pythona do biblioteki OpenImageIO.
 install -d build
 cd build
 %cmake ../src \
-%ifarch i486
+%ifarch i386 i486
 	-DNOTHREADS=1 \
 %endif
 	-DEMBEDPLUGINS=OFF \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/OpenImageIO.git/commitdiff/9293af1afd70d75ad7a3d08efb74b67d4ac70439



More information about the pld-cvs-commit mailing list