From 252011cbeaa0a72170dd19c147c61628217b2f0e Mon Sep 17 00:00:00 2001
From: Dominic Kempf <dominic.kempf@iwr.uni-heidelberg.de>
Date: Thu, 19 Jul 2018 15:14:15 +0200
Subject: [PATCH] Restrict OpenMP to 1 thread

Otherwise, OpenMP thinks it is allowed to take as
many threads as there are cores, which leads to a
quadratic catastrophe when running tests in parallel.
OpenMP is used by Debian's installation of Suitesparse.
---
 .gitlab-ci.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 87b1eaf9..f3bed353 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,6 +2,7 @@
 variables:
   GIT_SUBMODULE_STRATEGY: recursive
   HYPERTHREADING: "false"
+  OMP_NUM_THREADS: 1
 
 before_script:
   - echo "Running make concurrently with ${DUNECI_PARALLEL} cores, where possibly"
-- 
GitLab