chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eee7f8b
)
Always run ndk-build with -j1
author
Daniel Martí
<mvdan@mvdan.cc>
Mon, 24 Mar 2014 09:09:12 +0000
(10:09 +0100)
committer
Daniel Martí
<mvdan@mvdan.cc>
Mon, 24 Mar 2014 09:09:12 +0000
(10:09 +0100)
fdroidserver/build.py
patch
|
blob
|
history
diff --git
a/fdroidserver/build.py
b/fdroidserver/build.py
index 7e30acfaf4a75a25125a35ad44b66dcba8ad301b..a908bb36eb8aa6ed71ea7f682caf9733dbe79f47 100644
(file)
--- 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'