diff options
author | Riku Voipio <riku.voipio@linaro.org> | 2021-05-07 18:05:44 +0300 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2021-05-07 18:05:57 +0300 |
commit | bf16627cad8ec0917c8aff54a83555f669a1c6ed (patch) | |
tree | 55d6bc36c22407ff91ba30def53c18d9a6c35947 /armnn-ci-build | |
parent | 6e4ad7d1ed9282a52f5844521d627855d815dbca (diff) |
armnn: increase parallelism
Since we have some extremely parallel hw now (the arm64
builder has 80 cores):
- make swig with -nproc
- set XZ_DEFAULTS to make xz use all cores when compress
Change-Id: I0c8eaa89eb086d8843bdcf3aa7ff84e620424d78
Diffstat (limited to 'armnn-ci-build')
-rw-r--r-- | armnn-ci-build/builders-32bit.sh | 2 | ||||
-rw-r--r-- | armnn-ci-build/builders.sh | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/armnn-ci-build/builders-32bit.sh b/armnn-ci-build/builders-32bit.sh index ea2d5d5c5d..2528f98fba 100644 --- a/armnn-ci-build/builders-32bit.sh +++ b/armnn-ci-build/builders-32bit.sh @@ -120,6 +120,8 @@ cmake .. -DCMAKE_LINKER=/usr/bin/arm-linux-gnueabihf-ld \ -DARMNNREF=1 make -j$(nproc) +export XZ_DEFAULTS="-T 0" + cd ${WORKSPACE} rm -rf boost_*.tar.bz2 boost_* protobuf tensorflow find ${WORKSPACE} -type f -name *.o -delete diff --git a/armnn-ci-build/builders.sh b/armnn-ci-build/builders.sh index f543624a57..38e982f607 100644 --- a/armnn-ci-build/builders.sh +++ b/armnn-ci-build/builders.sh @@ -46,7 +46,7 @@ cd ${WORKSPACE} tar -xf swig-4.0.2.tar.gz && rm -rf swig-4.0.2.tar.gz cd ${WORKSPACE}/swig-4.0.2 ./configure --prefix=${WORKSPACE}/swig-host --without-maximum-compile-warnings --without-pcre && -make +make -j(nproc) make install cd ${WORKSPACE}/ComputeLibrary @@ -110,6 +110,8 @@ cmake .. \ -DBUILD_PYTHON_WHL=1 make -j$(nproc) +export XZ_DEFAULTS="-T 0" + cd ${WORKSPACE} rm -rf boost_*.tar.bz2 boost_* protobuf tensorflow find ${WORKSPACE} -type f -name *.o -delete |