SHA256
1
0
forked from pool/mpibash
Christoph Junghans 2017-11-10 16:20:34 +00:00 committed by Git OBS Bridge
parent 7b9bf64ce1
commit e02ab68d5b

View File

@ -68,7 +68,7 @@ This package contains example scripts for mpibash.
%build
. %{_libdir}/mpi/gcc/%{mpi_implem}/bin/mpivars.sh
%configure --with-bashdir=/usr/include/bash --docdir=%{_docdir}/%{name} CC=mpicc
%configure --with-bashdir=/usr/include/bash --docdir=%{_docdir}/%{name} --with-plugindir=%{_libdir}/%{name}/ CC=mpicc
make %{?_smp_mflags}
%install
@ -76,8 +76,6 @@ make %{?_smp_mflags} DESTDIR=%{buildroot} install
# Fix shebang
sed -i '1s@/usr/bin/env bash@/bin/bash@' %{buildroot}/%{_bindir}/mpibash
sed -i '1s@env mpibash@mpibash@' %{buildroot}/%{_docdir}/%{name}/examples/* %{buildroot}/%{_bindir}/m*
head -1 %{buildroot}/%{_docdir}/%{name}/examples/*
head -1 %{buildroot}/%{_bindir}/m*
%files
%defattr(-,root,root,-)