summaryrefslogtreecommitdiffstats
path: root/debian/patches/1-disable-openmpi.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/1-disable-openmpi.patch')
-rw-r--r--debian/patches/1-disable-openmpi.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/1-disable-openmpi.patch b/debian/patches/1-disable-openmpi.patch
new file mode 100644
index 0000000..cda883b
--- /dev/null
+++ b/debian/patches/1-disable-openmpi.patch
@@ -0,0 +1,13 @@
+diff --git a/test cases/frameworks/17 mpi/meson.build b/test cases/frameworks/17 mpi/meson.build
+index 75b463cc..7bf4e7ae 100644
+--- a/test cases/frameworks/17 mpi/meson.build
++++ b/test cases/frameworks/17 mpi/meson.build
+@@ -2,6 +2,8 @@ project('mpi', 'c', 'cpp', default_options: ['b_asneeded=false'])
+
+ method = get_option('method')
+
++error('MESON_SKIP_TEST openmpi binaries do not work when run in pbuilder for some reason.')
++
+ cc = meson.get_compiler('c')
+ mpic = dependency('mpi', language : 'c', required : false, method : method)
+ if not mpic.found()