[coccinelle] Enable parallel builds.
Richard W.M. Jones
rjones at fedoraproject.org
Tue Jul 31 11:17:04 UTC 2012
commit 81989541945f789b6e5d0e2a6b47fd78f98b0fbe
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Tue Jul 31 12:15:22 2012 +0100
Enable parallel builds.
coccinelle.spec | 15 ++++++---------
1 files changed, 6 insertions(+), 9 deletions(-)
---
diff --git a/coccinelle.spec b/coccinelle.spec
index 9eecbd7..76ac454 100644
--- a/coccinelle.spec
+++ b/coccinelle.spec
@@ -8,7 +8,7 @@
Name: coccinelle
Version: 1.0.0
-Release: 0.rc14.4%{?dist}
+Release: 0.rc14.5%{?dist}
Summary: Semantic patching for Linux (spatch)
Group: Development/Libraries
@@ -87,13 +87,11 @@ done
-e 's,SHAREDIR=.*,SHAREDIR=%{_datadir}/%{name},' \
Makefile.config
-# Note that _smp_mflags or MAKEFLAGS=-jN breaks the build.
-unset MAKEFLAGS
-
%if !%opt
-make all EXTLIBDIR=`ocamlc -where`/extlib
+make all EXTLIBDIR=`ocamlc -where`/extlib %{_smp_mflags}
%else
-make all opt EXTLIBDIR=`ocamlc -where`/extlib
+make all EXTLIBDIR=`ocamlc -where`/extlib %{_smp_mflags}
+make opt EXTLIBDIR=`ocamlc -where`/extlib %{_smp_mflags}
%endif
@@ -160,10 +158,9 @@ $RPM_BUILD_ROOT%{_bindir}/spatch -sp_file demos/simple.cocci demos/simple.c
%changelog
-* Tue Jul 31 2012 Richard W.M. Jones <rjones at redhat.com> - 1.0.0-0.rc14.4
+* Tue Jul 31 2012 Richard W.M. Jones <rjones at redhat.com> - 1.0.0-0.rc14.5
- Remove sexplib patch which is no longer required by upstream.
-- Make sure MAKEFLAGS is also unset to prevent parallel builds (bug
- reported upstream).
+- Enable parallel building.
* Mon Jul 30 2012 Richard W.M. Jones <rjones at redhat.com> - 1.0.0-0.rc14.3
- Confirmed with upstream that *.so files are no longer required.
More information about the scm-commits
mailing list