mirror of https://github.com/triqs/dft_tools
Raise shm size for docker run commands to comply with mkl requirements
This commit is contained in:
parent
057c239461
commit
0ca04d26a7
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue