if jni_components == ['yes']:
jni_components = ['']
- cmd = [os.path.join(config['ndk_path'], "ndk-build"), "-j4"]
+ cmd = [os.path.join(config['ndk_path'], "ndk-build"), "-j1"]
for d in jni_components:
if d:
logging.info("Building native code in '%s'" % d)
gitsvn_cmd += ' -t %s' % i[5:]
elif i.startswith('branches='):
gitsvn_cmd += ' -b %s' % i[9:]
- if subprocess.call([gitsvn_cmd + " %s %s" % (remote_split[0], self.local)], shell=True) != 0:
+ p = SilentPopen([gitsvn_cmd + " %s %s" % (remote_split[0], self.local)], shell=True)
+ if p.returncode != 0:
self.clone_failed = True
- raise VCSException("Git svn clone failed")
+ raise VCSException("Git svn clone failed", p.output)
else:
- if subprocess.call([gitsvn_cmd + " %s %s" % (self.remote, self.local)], shell=True) != 0:
+ p = SilentPopen([gitsvn_cmd + " %s %s" % (self.remote, self.local)], shell=True)
+ if p.returncode != 0:
self.clone_failed = True
- raise VCSException("Git svn clone failed")
+ raise VCSException("Git svn clone failed", p.output)
self.checkrepo()
else:
self.checkrepo()