Skip to content

Commit

Permalink
Migrate h5utils to rocks6
Browse files Browse the repository at this point in the history
  • Loading branch information
K Jonathan Harker committed Aug 15, 2012
1 parent 14466fd commit 89a0eeb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions h5utils.spec
@@ -1,5 +1,5 @@
%define name h5utils
%define dist rocks
%define dist rocks6
%define release 2
%define version 1.12.1

Expand All @@ -13,7 +13,8 @@ Source0: h5utils-1.12.1.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Prefix: /share/apps
Requires: hdf5
BuildRequires: hdf5
BuildRequires: hdf5-devel
Provides: h5utils-devel
Summary: Tools for HDF5

%description
Expand All @@ -25,7 +26,7 @@ For a Rocks Cluster. Not intended for redistribution.

%build
cd $RPM_BUILD_DIR/%{name}-%{version}
F77=mpif77 CC=mpicc LDFLAGS="-L/share/apps/lib $LDFLAGS" CPPFLAGS="-I/share/apps/include $CPPFLAGS" ./configure --without-octave --prefix=/share/apps
F77=mpif77 CC=mpicc LDFLAGS="-L/share/apps/lib $LDFLAGS" CPPFLAGS="-I/share/apps/include -I/usr/include/openmpi-x86_64 $CPPFLAGS" ./configure --without-octave --prefix=/share/apps
make


Expand Down

0 comments on commit 89a0eeb

Please sign in to comment.