From eb343fe21253a3a9d926a007c82d7dd655f4393c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Mon, 24 Mar 2014 10:09:12 +0100 Subject: [PATCH] Always run ndk-build with -j1 --- fdroidserver/build.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fdroidserver/build.py b/fdroidserver/build.py index 7e30acfa..a908bb36 100644 --- a/fdroidserver/build.py +++ b/fdroidserver/build.py @@ -486,9 +486,7 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d jni_components = thisbuild.get('buildjni') if jni_components == ['yes']: jni_components = [''] - jobs = multiprocessing.cpu_count() - ndkbuild = os.path.join(config['ndk_path'], "ndk-build") - cmd = [ndkbuild, "-j"+str(jobs)] + cmd = [ os.path.join(config['ndk_path'], "ndk-build", "-j1" ] for d in jni_components: logging.info("Building native code in '%s'" % d) manifest = root_dir + '/' + d + '/AndroidManifest.xml'