1
1
openmpi/test/symbol_name/nmcheck_prefix
Mark Allen f0af4636ce testcase to check for bad symbol name prefixes
This checks the main libs that would be directly or indirectly linked
against the users executable (libmpi.so, libmpi_mpifh.so, libmpi_usempi.so,
libopen-rte, libopen-pal) using "nm" and looking for symbols without ompi_
opal_ mpi_ etc prefixes.

Signed-off-by: Mark Allen <markalle@us.ibm.com>
2017-07-11 02:13:21 -04:00

15 строки
401 B
Bash
Исполняемый файл

#!/bin/sh
# Copyright (c) 2017 IBM Corporation. All rights reserved.
# if there's no perl, skip the test
perl -v > /dev/null 2>&1
if [ $? -ne 0 ] ; then exit 77 ; fi
# I wrote more in Makedefs.am about why I'm using ${srcdir} here. I suspect
# there's a more correct way to set up automake so the file is available,
# but nothing else has worked for me yet.
perl ${srcdir}/nmcheck_prefix.pl