From c3edd1dd932e1eb84e74dbc8b9acebf85157e7d7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20Kl=C3=B6ckner?= <inform@tiker.net>
Date: Fri, 22 Jan 2021 22:28:17 +0100
Subject: [PATCH] Gitlab CI: Shut up ibverbs about fork()

---
 .gitlab-ci.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2d20afa4..1e429755 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -70,6 +70,10 @@ Python 3 Conda:
     CONDA_ENVIRONMENT=.test-conda-env.yml
     grep -v libhwloc .test-conda-env-py3.yml > $CONDA_ENVIRONMENT
     curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-and-test-py-project-within-miniconda.sh
+
+    # Shut up ibverbs about fork(), e.g. https://gitlab.tiker.net/inducer/grudge/-/jobs/220796
+    export RDMAV_FORK_SAFE=1
+
     . ./build-and-test-py-project-within-miniconda.sh
 
 Python 3 Conda Examples:
@@ -82,6 +86,10 @@ Python 3 Conda Examples:
     curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/ci-support.sh
     . ci-support.sh
     build_py_project_in_conda_env
+
+    # Shut up ibverbs about fork(), e.g. https://gitlab.tiker.net/inducer/grudge/-/jobs/220796
+    export RDMAV_FORK_SAFE=1
+
     run_examples
 
 Documentation:
-- 
GitLab