summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Kulow <coolo@suse.de>2011-02-23 11:59:43 +0100
committerMichael Andres <ma@suse.de>2011-03-01 13:29:13 +0100
commit7ab66f3ee71b07f291f445b1fd06fb70ecab9796 (patch)
treefbdeeafb62153cb4f020eacc289c1dd11d6e0389
parente87d3cdff8983d28c88f745d1b6a0676a9e6a3fd (diff)
downloadlibzypp-bindings-7ab66f3ee71b07f291f445b1fd06fb70ecab9796.tar.gz
libzypp-bindings-7ab66f3ee71b07f291f445b1fd06fb70ecab9796.tar.bz2
libzypp-bindings-7ab66f3ee71b07f291f445b1fd06fb70ecab9796.zip
take out the use of %jobs
Signed-off-by: Michael Andres <ma@suse.de>
-rw-r--r--libzypp-bindings.spec.cmake3
-rw-r--r--package/libzypp-bindings.changes5
2 files changed, 7 insertions, 1 deletions
diff --git a/libzypp-bindings.spec.cmake b/libzypp-bindings.spec.cmake
index 5e1562c..3697e65 100644
--- a/libzypp-bindings.spec.cmake
+++ b/libzypp-bindings.spec.cmake
@@ -40,7 +40,8 @@ cmake -DCMAKE_INSTALL_PREFIX=%{prefix} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=1 \
..
-make %{?jobs:-j %jobs}
+# the swig compile jobs take a lot of memory, so don't use %jobs here
+make -j1
%check
cd build
diff --git a/package/libzypp-bindings.changes b/package/libzypp-bindings.changes
index c3bd88f..327ca10 100644
--- a/package/libzypp-bindings.changes
+++ b/package/libzypp-bindings.changes
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Wed Feb 23 10:59:25 UTC 2011 - coolo@novell.com
+
+- disable use of %jobs to avoid swapping during compilation
+
+-------------------------------------------------------------------
Wed Dec 22 10:00:27 CET 2010 - ma@suse.de
- Use FIND_PROGRAM to detect readlink path.