diff options
-rw-r--r-- | mpich.spec | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -2,7 +2,7 @@ Summary: Portable MPI Model Implementation Summary(pl): Przenośna implementacja standardu MPI Name: mpich Version: 1.2.6 -Release: 2 +Release: 3 License: Open source (MPICH), BSD-like (MPI-2-C++) Group: Development/Libraries Source0: ftp://ftp.mcs.anl.gov/pub/mpi/%{name}-%{version}.tar.bz2 @@ -13,6 +13,7 @@ Patch2: http://squishy.monkeysoft.net/mpich/%{name}-1.2.5-oM.patch URL: http://www-unix.mcs.anl.gov/mpi/ BuildRequires: gcc-g77 BuildRequires: libstdc++-devel +BuildRequires: sed >= 4.0 Provides: mpi BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -33,7 +34,11 @@ części wersji MPI-2, szczególnie w zakresie równoległej komunikacji. %patch1 -p1 %patch2 -p1 +sed -i -e 's|RCPCOMMAND-rcp|RCPCOMMAND-scp|' mpid/ch_p4/mpirun.ch_p4.in + %build +RSHCOMMAND=/usr/bin/ssh ; export RSHCOMMAND +RCPCOMMAND=/usr/bin/scp ; export RCPCOMMAND # note: can't run autoconf - we must patch configure not only configure.in # also, don't change it to %%configure - it won't work # no configure options for sysconfdir and messagecat_dir :/ |