perf-tools/extrae: looks latest impi has moved location of libmpi.so; add
additional flag to let extrae find it
@@ -45,7 +45,6 @@ This is the %{compiler_family}-%{mpi_family} version.
%prep
%setup -q -n %{pname}-%{version}
-%patch1 -p0
%build
# OpenHPC compiler/mpi designation
@@ -61,7 +60,13 @@ export compiler_vars="CC=icc CXX=icpc MPICC=mpicc MPIF90=mpiifort"
%endif
./bootstrap
-./configure $compiler_vars --with-xml-prefix=/usr --with-papi=$PAPI_DIR --without-unwind --without-dyninst --disable-openmp-intel --prefix=%{install_path} --with-mpi=$MPI_DIR
+./configure $compiler_vars --with-xml-prefix=/usr --with-papi=$PAPI_DIR --without-unwind \
+ --without-dyninst --disable-openmp-intel --prefix=%{install_path} --with-mpi=$MPI_DIR \
+%if "%{mpi_family}" == "impi"
+ --with-mpi-libs=$MPI_DIR/lib/release \
+%endif
+ || { cat config.log && exit 1; }
+
make %{?_smp_mflags}
%install
