Add patch to avoid HDF setting the compiler flags
This commit is contained in:
parent
56754fc530
commit
4167480bd3
36
hdf5-1.6.5-flags.patch
Normal file
36
hdf5-1.6.5-flags.patch
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
--- hdf5-1.6.5/config/linux-gnulibc1.orig 2005-10-28 14:15:27.000000000 -0600
|
||||||
|
+++ hdf5-1.6.5/config/linux-gnulibc1 2006-03-13 09:49:37.000000000 -0700
|
||||||
|
@@ -25,14 +25,5 @@
|
||||||
|
CC_BASENAME=gcc
|
||||||
|
fi
|
||||||
|
|
||||||
|
-# Figure out GNU C compiler flags
|
||||||
|
-. $srcdir/config/gnu-flags
|
||||||
|
-
|
||||||
|
-# Figure out PGI C compiler flags
|
||||||
|
-. $srcdir/config/pgi-flags
|
||||||
|
-
|
||||||
|
-# Figure out Intel C compiler flags
|
||||||
|
-. $srcdir/config/intel-flags
|
||||||
|
-
|
||||||
|
# Check MPICH settings
|
||||||
|
. $srcdir/config/mpich
|
||||||
|
--- hdf5-1.6.5/fortran/config/linux-gnulibc1.orig 2006-03-13 09:39:23.000000000 -0700
|
||||||
|
+++ hdf5-1.6.5/fortran/config/linux-gnulibc1 2006-03-13 09:47:18.000000000 -0700
|
||||||
|
@@ -25,16 +25,6 @@
|
||||||
|
CC_BASENAME=gcc
|
||||||
|
fi
|
||||||
|
|
||||||
|
-# Figure out GNU C compiler flags
|
||||||
|
-. $srcdir/config/gnu-flags
|
||||||
|
-
|
||||||
|
-# Figure out PGI C compiler flags
|
||||||
|
-. $srcdir/config/pgi-flags
|
||||||
|
-
|
||||||
|
-# Figure out Intel C compiler flags
|
||||||
|
-. $srcdir/config/intel-flags
|
||||||
|
-
|
||||||
|
-
|
||||||
|
# The default Fortran 90 compiler
|
||||||
|
if test "X-" = "X-$F9X"; then
|
||||||
|
case $CC_BASENAME in
|
@ -1,6 +1,6 @@
|
|||||||
Name: hdf5
|
Name: hdf5
|
||||||
Version: 1.6.5
|
Version: 1.6.5
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: A general purpose library and file format for storing scientific data
|
Summary: A general purpose library and file format for storing scientific data
|
||||||
License: BSD-ish
|
License: BSD-ish
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -12,6 +12,7 @@ Patch2: hdf5-1.6.4-norpath.patch
|
|||||||
Patch3: hdf5-1.6.4-testh5repack.patch
|
Patch3: hdf5-1.6.4-testh5repack.patch
|
||||||
Patch4: hdf5-1.6.5-h5diff_attr.patch
|
Patch4: hdf5-1.6.5-h5diff_attr.patch
|
||||||
Patch5: hdf5-1.6.4-ppc.patch
|
Patch5: hdf5-1.6.4-ppc.patch
|
||||||
|
Patch6: hdf5-1.6.5-flags.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: krb5-devel, openssl-devel, zlib-devel, gcc-gfortran, time
|
BuildRequires: krb5-devel, openssl-devel, zlib-devel, gcc-gfortran, time
|
||||||
|
|
||||||
@ -40,6 +41,7 @@ HDF5 development headers and libraries.
|
|||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
%patch5 -p1
|
%patch5 -p1
|
||||||
|
%patch6 -p1 -b .flags
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoconf
|
autoconf
|
||||||
@ -96,6 +98,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/*.mod
|
%{_libdir}/*.mod
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 13 2006 Orion Poplawski <orion@cora.nwra.com> 1.6.5-4
|
||||||
|
- Add patch to avoid HDF setting the compiler flags
|
||||||
|
|
||||||
* Mon Feb 13 2006 Orion Poplawski <orion@cora.nwra.com> 1.6.5-3
|
* Mon Feb 13 2006 Orion Poplawski <orion@cora.nwra.com> 1.6.5-3
|
||||||
- Rebuild for gcc/glibc changes
|
- Rebuild for gcc/glibc changes
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user