From 4ad3d286e6c44875720180d7bc4ac585a250de5d Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Mon, 12 Sep 2022 09:25:59 -0500
Subject: [PATCH] Add some package dependencies of MPI-based tests

---
 .gitlab-ci.yml   | 4 ++--
 requirements.txt | 4 ++++
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6a79583b..52c76990 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -26,7 +26,7 @@ Pytest POCL:
   script:
   - export PY_EXE=python3
   - export PYOPENCL_TEST=portable:pthread
-  - export EXTRA_INSTALL="pybind11 numpy mako"
+  - export EXTRA_INSTALL="pybind11 numpy mako mpi4py"
   - curl -L -O https://gitlab.tiker.net/inducer/ci-support/raw/main/build-and-test-py-project.sh
   - ". ./build-and-test-py-project.sh"
   tags:
@@ -43,7 +43,7 @@ Pytest Titan V:
   script:
   - py_version=3
   - export PYOPENCL_TEST=nvi:titan
-  - EXTRA_INSTALL="pybind11 numpy mako"
+  - EXTRA_INSTALL="pybind11 numpy mako mpi4py"
   - curl -L -O https://gitlab.tiker.net/inducer/ci-support/raw/main/build-and-test-py-project.sh
   - ". ./build-and-test-py-project.sh"
   tags:
diff --git a/requirements.txt b/requirements.txt
index ff9ca871..da6a8fd2 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -2,6 +2,10 @@ numpy
 sympy
 pyrsistent
 pyvkfft
+
+# used in mpi-based tests
+platformdirs
+
 git+https://github.com/inducer/pytools.git#egg=pytools
 git+https://github.com/inducer/pymbolic.git#egg=pymbolic
 git+https://github.com/inducer/islpy.git#egg=islpy
-- 
GitLab