Skip to content
Snippets Groups Projects
Commit 4c700df1 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

Set OMP_NUM_THREADS=1 on all stages running ogs.

In multi-threaded environments multiple ctests running
parallel fight for the same cpu threads otherwise.
parent 52851d4c
No related branches found
No related tags found
No related merge requests found
...@@ -82,6 +82,9 @@ pipeline { ...@@ -82,6 +82,9 @@ pipeline {
additionalBuildArgs '--pull' additionalBuildArgs '--pull'
} }
} }
environment {
OMP_NUM_THREADS = '1'
}
steps { steps {
script { script {
sh 'git submodule sync' sh 'git submodule sync'
...@@ -250,6 +253,7 @@ pipeline { ...@@ -250,6 +253,7 @@ pipeline {
environment { environment {
MSVC_NUMBER = '15' MSVC_NUMBER = '15'
MSVC_VERSION = '2017' MSVC_VERSION = '2017'
OMP_NUM_THREADS = '1'
} }
steps { steps {
script { script {
...@@ -298,6 +302,9 @@ pipeline { ...@@ -298,6 +302,9 @@ pipeline {
expression { return stage_required.build || stage_required.full } expression { return stage_required.build || stage_required.full }
} }
agent { label "mac"} agent { label "mac"}
environment {
OMP_NUM_THREADS = '1'
}
steps { steps {
script { script {
sh 'git submodule sync' sh 'git submodule sync'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment