This commit is contained in:
parent
7b9bf64ce1
commit
e02ab68d5b
@ -68,7 +68,7 @@ This package contains example scripts for mpibash.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
. %{_libdir}/mpi/gcc/%{mpi_implem}/bin/mpivars.sh
|
. %{_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}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -76,8 +76,6 @@ make %{?_smp_mflags} DESTDIR=%{buildroot} install
|
|||||||
# Fix shebang
|
# Fix shebang
|
||||||
sed -i '1s@/usr/bin/env bash@/bin/bash@' %{buildroot}/%{_bindir}/mpibash
|
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*
|
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
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user