[packages/cloog-isl] - enabled osl (OpenScop) support - --with-gmp-exec-prefix hack to avoid -L/lib in LDFLAGS
qboosh
qboosh at pld-linux.org
Mon Dec 24 10:22:49 CET 2012
commit 33729bf82696a97d7b56d786aabb7622e8042f8c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Dec 24 10:24:08 2012 +0100
- enabled osl (OpenScop) support
- --with-gmp-exec-prefix hack to avoid -L/lib in LDFLAGS
cloog-isl.spec | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/cloog-isl.spec b/cloog-isl.spec
index 54db17b..66bb39c 100644
--- a/cloog-isl.spec
+++ b/cloog-isl.spec
@@ -1,4 +1,7 @@
-# TODO: OpenScop support
+#
+# Conditional build:
+%bcond_without osl # OpenScop support
+#
Summary: The Chunky Loop Generator
Summary(pl.UTF-8): Chunky Loop Generator - generator pętli cząstkowych
Name: cloog-isl
@@ -15,6 +18,7 @@ BuildRequires: gmp-devel >= 5.0.2
BuildRequires: gmp-c++-devel >= 5.0.2
BuildRequires: isl-devel >= 0.08
BuildRequires: libtool
+%{?with_osl:BuildRequires: osl-devel}
BuildRequires: texinfo-texi2dvi
Requires: %{name}-libs = %{version}-%{release}
Provides: cloog = %{version}
@@ -61,6 +65,7 @@ Requires: %{name}-libs = %{version}-%{release}
Requires: gmp-devel >= 5.0.2
Requires: gmp-c++-devel >= 5.0.2
Requires: isl-devel >= 0.08
+%{?with_osl:Requires: osl-devel}
Provides: cloog-devel = %{version}
%description devel
@@ -85,9 +90,12 @@ Statyczna biblioteka opartej na isl wersji Chunky Loop Generatora.
%setup -q -n cloog-%{version}
%build
+# with_gmp_exec_prefix=yes avoids adding -L/lib to LDFLAGS
%configure \
--disable-silent-rules \
- --with-isl=system
+ --with-gmp-exec-prefix \
+ --with-isl=system \
+ %{?with_osl:--with-osl=system}
%{__make}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/cloog-isl.git/commitdiff/33729bf82696a97d7b56d786aabb7622e8042f8c
More information about the pld-cvs-commit
mailing list