diff options
author | juraj.linkes <juraj.linkes@pantheon.tech> | 2019-07-25 10:05:26 +0200 |
---|---|---|
committer | juraj.linkes <juraj.linkes@pantheon.tech> | 2019-07-25 10:54:55 +0200 |
commit | 5b2b0a4babd61beab258396749ba9aab1e7980fb (patch) | |
tree | 1e548625fb1a7a75ae99452cf170dd7baa40e4f8 /jjb/scripts | |
parent | 440353a301fcc14dd351decb0aa3e3479d1b7937 (diff) |
Add arm 1n-tx2 VPP Device jobs
Change-Id: I7bd77d96c3451415dabe20e097185b871eb2c8a2
Signed-off-by: juraj.linkes <juraj.linkes@pantheon.tech>
Diffstat (limited to 'jjb/scripts')
-rw-r--r-- | jjb/scripts/setup_vpp_ubuntu_docker_test.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/jjb/scripts/setup_vpp_ubuntu_docker_test.sh b/jjb/scripts/setup_vpp_ubuntu_docker_test.sh index 90257f1c0..fe6a0fcbc 100644 --- a/jjb/scripts/setup_vpp_ubuntu_docker_test.sh +++ b/jjb/scripts/setup_vpp_ubuntu_docker_test.sh @@ -15,7 +15,14 @@ if ! [ -z ${DOCKER_TEST} ] ; then # for 4 cores: # framework.VppTestCase.MIN_REQ_SHM + (num_cores * framework.VppTestCase.SHM_PER_PROCESS) # 1073741824 == 1024M (1073741824 >> 20) - sudo mount -o remount /dev/shm -o size=1024M || true + MEM=1024M + if [[ $(uname -m) == 'aarch64' ]] + then + # arm build are running with 16 cores, empirical evidence shows + # that 2048M is enough + MEM=2048M + fi + sudo mount -o remount /dev/shm -o size=${MEM} || true echo "/dev/shm remounted" fi |