- Update to 5.1.10b
This commit is contained in:
parent
7fb454f9fe
commit
1974c0bcf5
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
scotch_5.1.8.tar.gz
|
scotch_5.1.8.tar.gz
|
||||||
|
/scotch_5.1.10b.tar.gz
|
||||||
|
@ -12,9 +12,9 @@ CCD = mpicc
|
|||||||
CFLAGS = @RPMFLAGS@ -O3 -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_FILE_COMPRESS_BZ2 -DCOMMON_FILE_COMPRESS_LZMA -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_PTHREAD -Drestrict=__restrict -DIDXSIZE64
|
CFLAGS = @RPMFLAGS@ -O3 -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_FILE_COMPRESS_BZ2 -DCOMMON_FILE_COMPRESS_LZMA -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_PTHREAD -Drestrict=__restrict -DIDXSIZE64
|
||||||
LDFLAGS = -lpthread -lz -lbz2 -llzmadec -lm -lrt
|
LDFLAGS = -lpthread -lz -lbz2 -llzmadec -lm -lrt
|
||||||
CP = cp -a
|
CP = cp -a
|
||||||
LEX = flex
|
LEX = flex -Pscotchyy -olex.yy.c
|
||||||
LN = ln
|
LN = ln
|
||||||
MKDIR = mkdir -p
|
MKDIR = mkdir -p
|
||||||
MV = mv
|
MV = mv
|
||||||
RANLIB = ranlib
|
RANLIB = ranlib
|
||||||
YACC = bison -y
|
YACC = bison -pscotchyy -y -b y
|
||||||
|
26
scotch.spec
26
scotch.spec
@ -1,6 +1,6 @@
|
|||||||
Summary: Graph, mesh and hypergraph partitioning library
|
Summary: Graph, mesh and hypergraph partitioning library
|
||||||
Name: scotch
|
Name: scotch
|
||||||
Version: 5.1.8
|
Version: 5.1.10b
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
License: CeCILL-C
|
License: CeCILL-C
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -22,14 +22,6 @@ Requires: %{name} = %{version}-%{release}
|
|||||||
%description devel
|
%description devel
|
||||||
This package contains development libraries for scotch.
|
This package contains development libraries for scotch.
|
||||||
|
|
||||||
%package static
|
|
||||||
Summary: Development libraries for scotch
|
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: %{name}-devel = %{version}-%{release}
|
|
||||||
|
|
||||||
%description static
|
|
||||||
This package contains libscotch static libraries.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n scotch_%{version}
|
%setup -q -n scotch_%{version}
|
||||||
sed s/@RPMFLAGS@/'%{optflags} -fPIC'/ < %SOURCE1 > src/Makefile.inc
|
sed s/@RPMFLAGS@/'%{optflags} -fPIC'/ < %SOURCE1 > src/Makefile.inc
|
||||||
@ -66,14 +58,18 @@ rm -rf %{buildroot}
|
|||||||
pushd src/
|
pushd src/
|
||||||
make install prefix=%{buildroot}%{_prefix} libdir=%{buildroot}%{_libdir}
|
make install prefix=%{buildroot}%{_prefix} libdir=%{buildroot}%{_libdir}
|
||||||
popd
|
popd
|
||||||
|
cp -r include/*metis.h %{buildroot}%{_includedir}/
|
||||||
|
|
||||||
pushd lib
|
pushd lib
|
||||||
for static_libs in lib*scotch*.a ; do
|
for static_libs in lib*scotch*.a ; do
|
||||||
libs=`basename $static_libs .a`
|
libs=`basename $static_libs .a`
|
||||||
ln -s $libs.so.0.0 $libs.so.0
|
ln -s $libs.so.0.0 $libs.so.0
|
||||||
ln -s $libs.so.0.0 $libs.so
|
ln -s $libs.so.0.0 $libs.so
|
||||||
|
rm -f $static_libs
|
||||||
done
|
done
|
||||||
cp -dp lib*scotch*.so* %{buildroot}%{_libdir}/
|
cp -dp lib*scotch*.so* %{buildroot}%{_libdir}/
|
||||||
popd
|
popd
|
||||||
|
rm -f %{buildroot}%{_libdir}/*.a
|
||||||
|
|
||||||
rm -f %{buildroot}%{_bindir}/*
|
rm -f %{buildroot}%{_bindir}/*
|
||||||
rm -f %{buildroot}%{_mandir}/man1/*
|
rm -f %{buildroot}%{_mandir}/man1/*
|
||||||
@ -115,12 +111,16 @@ rm -rf %{buildroot}
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_libdir}/lib*scotch*.so
|
%{_libdir}/lib*scotch*.so
|
||||||
%{_includedir}/*scotch*.h
|
%{_includedir}/*scotch*.h
|
||||||
|
%{_includedir}/*metis.h
|
||||||
%files static
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/lib*scotch*.a
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 19 2010 Deji Akingunola <dakingun@gmail.com> - 5.1.9-10b
|
||||||
|
- Update to 5.1.10b
|
||||||
|
|
||||||
|
* Thu Aug 12 2010 Deji Akingunola <dakingun@gmail.com> - 5.1.9-1
|
||||||
|
- Update to 5.1.9
|
||||||
|
- No more static builds
|
||||||
|
|
||||||
* Tue Apr 27 2010 Deji Akingunola <dakingun@gmail.com> - 5.1.8-1
|
* Tue Apr 27 2010 Deji Akingunola <dakingun@gmail.com> - 5.1.8-1
|
||||||
- Update to 5.1.8
|
- Update to 5.1.8
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user