Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
elpa
elpa
Commits
6e973ae5
Commit
6e973ae5
authored
Jun 14, 2016
by
Lorenz Huedepohl
Browse files
Support RPM creation directly from git
Just call autogen.sh in the spec file if configure does not exist
parent
adaee9ca
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
elpa.spec
View file @
6e973ae5
...
...
@@ -34,6 +34,9 @@ BuildRequires: openmpi-devel
BuildRequires: blas-devel
BuildRequires: lapack-devel
BuildRequires: pkg-config
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
%if %{defined fedora}
BuildRequires: scalapack-openmpi-devel
...
...
@@ -172,6 +175,9 @@ that use %{name}_openmp.
%if %{defined fedora}
module load mpi/openmpi-%{_arch}
%endif
if [ ! -e configure ] ; then
./autogen.sh
fi
mkdir build
pushd build
%define _configure ../configure
...
...
Lorenz Huedepohl
@loh
mentioned in commit
c978e1b8
·
Jul 08, 2016
mentioned in commit
c978e1b8
mentioned in commit c978e1b8125c852fc92bd08eecf25b1e2c06e6c2
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment