Browse Source

Added multithread

M1 might have issues with this; However I want to try the CI/CD for the sake of speed.
M1_Compile_v2
Sascha Bacardit 3 years ago
parent
commit
35f42eecbe
  1. 6
      android/build.gradle

6
android/build.gradle

@ -3,9 +3,9 @@
def pEpEngineSrc = hasProperty('pEpEngineSrc') ? pEpEngineSrc : "../../pEpEngine" def pEpEngineSrc = hasProperty('pEpEngineSrc') ? pEpEngineSrc : "../../pEpEngine"
def buildAutomatic = hasProperty('buildAutomatic') ? buildAutomatic : "true" def buildAutomatic = hasProperty('buildAutomatic') ? buildAutomatic : "true"
//CHeck M1 answers the correct thing off .avaialableprocessors here //CHeck M1 answers the correct thing off .avaialableprocessors here
//def threadsToUse = hasProperty('threadsToUse') ? def threadsToUse = hasProperty('threadsToUse') ?
// threadsToUse : Runtime.getRuntime().availableProcessors() threadsToUse : Runtime.getRuntime().availableProcessors()
def threadsToUse = 1 //threadsToUse = 1
def pEpEngineDB = new File(new File(pEpEngineSrc), 'db') def pEpEngineDB = new File(new File(pEpEngineSrc), 'db')

Loading…
Cancel
Save