File: 1-disable-openmpi.patch

package info (click to toggle)
meson 1.7.0-1~bpo12%2B1
  • links: PTS
  • area: main
  • in suites: bookworm-backports
  • size: 23,352 kB
  • sloc: python: 84,086; ansic: 7,111; cpp: 2,381; f90: 461; asm: 218; sh: 156; xml: 109; java: 97; cs: 62; objc: 33; lex: 13; fortran: 12; makefile: 10; yacc: 9; javascript: 6
file content (15 lines) | stat: -rw-r--r-- 605 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Disable OpenMPI in tests.

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()