mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 22:40:12 +01:00
Always run ndk-build with -j1
This commit is contained in:
parent
eee7f8b4f6
commit
eb343fe212
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user