From c355a98c4874be6b300e1d903dd259516381254b Mon Sep 17 00:00:00 2001
From: Jean-Baptiste Keck <Jean-Baptiste.Keck@imag.fr>
Date: Sat, 1 Dec 2018 21:43:08 +0100
Subject: [PATCH] fixed dockerfiles for openmp fftw

---
 ci/docker_images/ubuntu/bionic/Dockerfile      | 1 +
 ci/docker_images/ubuntu/bionic_cuda/Dockerfile | 1 +
 2 files changed, 2 insertions(+)

diff --git a/ci/docker_images/ubuntu/bionic/Dockerfile b/ci/docker_images/ubuntu/bionic/Dockerfile
index fe27ae634..c51c43bb5 100644
--- a/ci/docker_images/ubuntu/bionic/Dockerfile
+++ b/ci/docker_images/ubuntu/bionic/Dockerfile
@@ -205,6 +205,7 @@ RUN cd /tmp                                      \
  && git clone https://github.com/drwells/pyFFTW  \
  && cd pyFFTW                                    \
  && git checkout r2r-try-two                     \
+ && sed -i 's/\(fftw3[fl]\?_\)threads/\1omp/g' setup.py \
  && pip install .                                \
  && cd -                                         \
  && rm -Rf /tmp/pyFFTW
diff --git a/ci/docker_images/ubuntu/bionic_cuda/Dockerfile b/ci/docker_images/ubuntu/bionic_cuda/Dockerfile
index 66c17a9da..e7d149c2d 100644
--- a/ci/docker_images/ubuntu/bionic_cuda/Dockerfile
+++ b/ci/docker_images/ubuntu/bionic_cuda/Dockerfile
@@ -205,6 +205,7 @@ RUN cd /tmp                                      \
  && git clone https://github.com/drwells/pyFFTW  \
  && cd pyFFTW                                    \
  && git checkout r2r-try-two                     \
+ && sed -i 's/\(fftw3[fl]\?_\)threads/\1omp/g' setup.py \
  && pip install .                                \
  && cd -                                         \
  && rm -Rf /tmp/pyFFTW
-- 
GitLab