forked from pool/mpibash
This commit is contained in:
parent
7b9bf64ce1
commit
e02ab68d5b
@ -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,-)
|
||||
|
Loading…
Reference in New Issue
Block a user