Commit 6e973ae5 authored by Lorenz Huedepohl's avatar Lorenz Huedepohl

Support RPM creation directly from git

Just call in the spec file if configure does not exist
parent adaee9ca
...@@ -34,6 +34,9 @@ BuildRequires: openmpi-devel ...@@ -34,6 +34,9 @@ BuildRequires: openmpi-devel
BuildRequires: blas-devel BuildRequires: blas-devel
BuildRequires: lapack-devel BuildRequires: lapack-devel
BuildRequires: pkg-config BuildRequires: pkg-config
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
%if %{defined fedora} %if %{defined fedora}
BuildRequires: scalapack-openmpi-devel BuildRequires: scalapack-openmpi-devel
...@@ -172,6 +175,9 @@ that use %{name}_openmp. ...@@ -172,6 +175,9 @@ that use %{name}_openmp.
%if %{defined fedora} %if %{defined fedora}
module load mpi/openmpi-%{_arch} module load mpi/openmpi-%{_arch}
%endif %endif
if [ ! -e configure ] ; then
mkdir build mkdir build
pushd build pushd build
%define _configure ../configure %define _configure ../configure
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment