From 0ca04d26a7c1abc761603beae46febbbcd0e64bc Mon Sep 17 00:00:00 2001 From: Nils Wentzell Date: Mon, 18 Sep 2023 17:25:48 -0400 Subject: [PATCH] Raise shm size for docker run commands to comply with mkl requirements --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 30fe979d..503c8936 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -45,7 +45,7 @@ for (int i = 0; i < dockerPlatforms.size(); i++) { args = '-DASAN=ON -DUBSAN=ON' def img = docker.build("flatironinstitute/${dockerName}:${env.BRANCH_NAME}-${env.STAGE_NAME}", "--build-arg APPNAME=${projectName} --build-arg BUILD_ID=${env.BUILD_TAG} --build-arg CMAKE_ARGS='${args}' .") catchError(buildResult: 'UNSTABLE', stageResult: 'UNSTABLE') { - img.inside() { + img.inside("--shm-size=4gb") { sh "make -C \$BUILD/${projectName} test CTEST_OUTPUT_ON_FAILURE=1" } }