Update to 3.1.1
This commit is contained in:
parent
84523661ac
commit
8f0a496edc
|
@ -9,3 +9,4 @@ sundials-2.3.0.tar.gz
|
||||||
/sundials-2.7.0_pkgconfig_files.tar.gz
|
/sundials-2.7.0_pkgconfig_files.tar.gz
|
||||||
/sundials-3.0.0.tar.gz
|
/sundials-3.0.0.tar.gz
|
||||||
/sundials-3.1.0.tar.gz
|
/sundials-3.1.0.tar.gz
|
||||||
|
/sundials-3.1.1.tar.gz
|
||||||
|
|
2
sources
2
sources
|
@ -1 +1 @@
|
||||||
SHA512 (sundials-3.1.0.tar.gz) = 288427e00f58c512583cc14d81385e82b0fdeaa4e9adca588a108ad0752341b7be62c9fa2740924ec733e3e0d5794f305dc582fc72e244e675e5ea00ac0d08ca
|
SHA512 (sundials-3.1.1.tar.gz) = 3e8fc7183c5503943f1ba00c73b04c1614a48b6e6cb90559ec5481f9acffaa19acd97bd961611b251ebdc032f1a13f0919b0ab0cdfe9d9b4ddc99d40bef5719f
|
||||||
|
|
|
@ -6,16 +6,6 @@
|
||||||
%{!?__global_ldflags: %global __global_ldflags -Wl,-z,relro}
|
%{!?__global_ldflags: %global __global_ldflags -Wl,-z,relro}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# openblas available on these architectures.
|
|
||||||
%if 0%{?fedora} && 0%{?fedora} > 26
|
|
||||||
%{!?openblas_arches:%global openblas_arches x86_64 %{ix86} armv7hl %{power64} aarch64 s390x}
|
|
||||||
%else
|
|
||||||
%{!?openblas_arches:%global openblas_arches x86_64 %{ix86} armv7hl %{power64} aarch64}
|
|
||||||
%endif
|
|
||||||
%if 0%{?rhel}
|
|
||||||
%{!?openblas_arches:%global openblas_arches x86_64 %{ix86} armv7hl %{power64} aarch64}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
## Define if use openmpi or not
|
## Define if use openmpi or not
|
||||||
%if 0%{?fedora} < 28
|
%if 0%{?fedora} < 28
|
||||||
## Exclude MPI builds on s390x
|
## Exclude MPI builds on s390x
|
||||||
|
@ -58,8 +48,8 @@
|
||||||
|
|
||||||
Summary: Suite of nonlinear solvers
|
Summary: Suite of nonlinear solvers
|
||||||
Name: sundials
|
Name: sundials
|
||||||
Version: 3.1.0
|
Version: 3.1.1
|
||||||
Release: 5%{?dist}
|
Release: 1%{?dist}
|
||||||
# SUNDIALS is licensed under BSD with some additional (but unrestrictive) clauses.
|
# SUNDIALS is licensed under BSD with some additional (but unrestrictive) clauses.
|
||||||
# Check the file 'LICENSE' for details.
|
# Check the file 'LICENSE' for details.
|
||||||
License: BSD
|
License: BSD
|
||||||
|
@ -68,7 +58,7 @@ URL: http://www.llnl.gov/casc/sundials/
|
||||||
Source0: https://computation.llnl.gov/projects/sundials/download/sundials-%{version}.tar.gz
|
Source0: https://computation.llnl.gov/projects/sundials/download/sundials-%{version}.tar.gz
|
||||||
|
|
||||||
# This patch rename superLUMT library
|
# This patch rename superLUMT library
|
||||||
Patch0: %{name}-3.0.0-set_superlumt_name.patch
|
Patch0: %{name}-%{version}-set_superlumt_name.patch
|
||||||
|
|
||||||
BuildRequires: gcc-gfortran
|
BuildRequires: gcc-gfortran
|
||||||
BuildRequires: suitesparse-devel
|
BuildRequires: suitesparse-devel
|
||||||
|
@ -128,9 +118,14 @@ This package contains the C, CXX, F77 example files.
|
||||||
Summary: Suite of nonlinear solvers
|
Summary: Suite of nonlinear solvers
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
BuildRequires: openmpi-devel
|
BuildRequires: openmpi-devel
|
||||||
|
%if 0%{?rhel} || 0%{?fedora} > 28
|
||||||
|
BuildRequires: hypre-openmpi-devel
|
||||||
|
%else
|
||||||
%ifnarch s390x
|
%ifnarch s390x
|
||||||
BuildRequires: hypre-openmpi-devel
|
BuildRequires: hypre-openmpi-devel
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
Requires: openmpi
|
Requires: openmpi
|
||||||
Requires: gcc-gfortran%{?_isa}
|
Requires: gcc-gfortran%{?_isa}
|
||||||
%description openmpi
|
%description openmpi
|
||||||
|
@ -165,9 +160,13 @@ This package contains the C, CXX, F77 example files.
|
||||||
Summary: Suite of nonlinear solvers
|
Summary: Suite of nonlinear solvers
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
BuildRequires: mpich-devel
|
BuildRequires: mpich-devel
|
||||||
|
%if 0%{?rhel} || 0%{?fedora} > 28
|
||||||
|
BuildRequires: hypre-mpich-devel
|
||||||
|
%else
|
||||||
%ifnarch s390x
|
%ifnarch s390x
|
||||||
BuildRequires: hypre-mpich-devel
|
BuildRequires: hypre-mpich-devel
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
Requires: mpich
|
Requires: mpich
|
||||||
Requires: gcc-gfortran%{?_isa}
|
Requires: gcc-gfortran%{?_isa}
|
||||||
%description mpich
|
%description mpich
|
||||||
|
@ -378,12 +377,20 @@ export LIBSUPERLUMTLINK=
|
||||||
%endif
|
%endif
|
||||||
## Hypre
|
## Hypre
|
||||||
%if 0%{?with_hypre}
|
%if 0%{?with_hypre}
|
||||||
|
%if 0%{?fedora} <= 28
|
||||||
%ifarch s390x
|
%ifarch s390x
|
||||||
export LIBHYPRELINK=
|
export LIBHYPRELINK=
|
||||||
%else
|
%else
|
||||||
export LIBHYPRELINK="-L$MPI_LIB -lHYPRE"
|
export LIBHYPRELINK="-L$MPI_LIB -lHYPRE"
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?with_hypre}
|
||||||
|
%if 0%{?rhel} || 0%{?fedora} > 28
|
||||||
|
export LIBHYPRELINK="-L$MPI_LIB -lHYPRE"
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
##
|
##
|
||||||
|
|
||||||
%if %{with debug}
|
%if %{with debug}
|
||||||
|
@ -432,8 +439,17 @@ cmake \
|
||||||
-DSUPERLUMT_LIBRARY_DIR:PATH=%{_libdir} \
|
-DSUPERLUMT_LIBRARY_DIR:PATH=%{_libdir} \
|
||||||
-DSUPERLUMT_THREAD_TYPE:STRING=OpenMP \
|
-DSUPERLUMT_THREAD_TYPE:STRING=OpenMP \
|
||||||
%endif
|
%endif
|
||||||
%ifnarch s390x
|
|
||||||
%if 0%{?with_hypre}
|
%if 0%{?with_hypre}
|
||||||
|
%if 0%{?fedora} <= 28
|
||||||
|
%ifarch s390x
|
||||||
|
-DHYPRE_ENABLE:BOOL=OFF \
|
||||||
|
%else
|
||||||
|
-DHYPRE_ENABLE:BOOL=ON \
|
||||||
|
-DHYPRE_INCLUDE_DIR:PATH=$MPI_INCLUDE/hypre \
|
||||||
|
-DHYPRE_LIBRARY_DIR:PATH=$MPI_LIB \
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
%if 0%{?rhel} || 0%{?fedora} > 28
|
||||||
-DHYPRE_ENABLE:BOOL=ON \
|
-DHYPRE_ENABLE:BOOL=ON \
|
||||||
-DHYPRE_INCLUDE_DIR:PATH=$MPI_INCLUDE/hypre \
|
-DHYPRE_INCLUDE_DIR:PATH=$MPI_INCLUDE/hypre \
|
||||||
-DHYPRE_LIBRARY_DIR:PATH=$MPI_LIB \
|
-DHYPRE_LIBRARY_DIR:PATH=$MPI_LIB \
|
||||||
|
@ -493,20 +509,21 @@ export LIBSUPERLUMTLINK=-lsuperlumt_d
|
||||||
export LIBSUPERLUMTLINK=
|
export LIBSUPERLUMTLINK=
|
||||||
%endif
|
%endif
|
||||||
## Hypre
|
## Hypre
|
||||||
%if 0%{?fedora}
|
|
||||||
%ifnarch s390x
|
|
||||||
%if 0%{?with_hypre}
|
%if 0%{?with_hypre}
|
||||||
|
%if 0%{?fedora} <= 28
|
||||||
|
%ifarch s390x
|
||||||
|
export LIBHYPRELINK=
|
||||||
|
%else
|
||||||
export LIBHYPRELINK="-L$MPI_LIB -lHYPRE"
|
export LIBHYPRELINK="-L$MPI_LIB -lHYPRE"
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?el6}
|
|
||||||
%ifnarch ppc64
|
|
||||||
%if 0%{?with_hypre}
|
%if 0%{?with_hypre}
|
||||||
|
%if 0%{?rhel} || 0%{?fedora} > 28
|
||||||
export LIBHYPRELINK="-L$MPI_LIB -lHYPRE"
|
export LIBHYPRELINK="-L$MPI_LIB -lHYPRE"
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%endif
|
|
||||||
##
|
##
|
||||||
|
|
||||||
%if %{with debug}
|
%if %{with debug}
|
||||||
|
@ -561,23 +578,21 @@ cmake \
|
||||||
-DSUPERLUMT_LIBRARY_DIR:PATH=%{_libdir} \
|
-DSUPERLUMT_LIBRARY_DIR:PATH=%{_libdir} \
|
||||||
-DSUPERLUMT_THREAD_TYPE:STRING=OpenMP \
|
-DSUPERLUMT_THREAD_TYPE:STRING=OpenMP \
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?fedora}
|
|
||||||
%ifnarch s390x
|
|
||||||
%if 0%{?with_hypre}
|
%if 0%{?with_hypre}
|
||||||
|
%if 0%{?fedora} <= 28
|
||||||
|
%ifarch s390x
|
||||||
|
-DHYPRE_ENABLE:BOOL=OFF \
|
||||||
|
%else
|
||||||
-DHYPRE_ENABLE:BOOL=ON \
|
-DHYPRE_ENABLE:BOOL=ON \
|
||||||
-DHYPRE_INCLUDE_DIR:PATH=$MPI_INCLUDE/hypre \
|
-DHYPRE_INCLUDE_DIR:PATH=$MPI_INCLUDE/hypre \
|
||||||
-DHYPRE_LIBRARY_DIR:PATH=$MPI_LIB \
|
-DHYPRE_LIBRARY_DIR:PATH=$MPI_LIB \
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%if 0%{?rhel} || 0%{?fedora} > 28
|
||||||
%if 0%{?el6}
|
|
||||||
%ifnarch ppc64
|
|
||||||
%if 0%{?with_hypre}
|
|
||||||
-DHYPRE_ENABLE:BOOL=ON \
|
-DHYPRE_ENABLE:BOOL=ON \
|
||||||
-DHYPRE_INCLUDE_DIR:PATH=$MPI_INCLUDE/hypre \
|
-DHYPRE_INCLUDE_DIR:PATH=$MPI_INCLUDE/hypre \
|
||||||
-DHYPRE_LIBRARY_DIR:PATH=$MPI_LIB \
|
-DHYPRE_LIBRARY_DIR:PATH=$MPI_LIB \
|
||||||
%endif
|
%endif
|
||||||
%endif
|
|
||||||
%endif
|
%endif
|
||||||
-DKLU_ENABLE=ON -DKLU_LIBRARY_DIR:PATH=%{_libdir} -DKLU_INCLUDE_DIR:PATH=%{_includedir}/suitesparse \
|
-DKLU_ENABLE=ON -DKLU_LIBRARY_DIR:PATH=%{_libdir} -DKLU_INCLUDE_DIR:PATH=%{_includedir}/suitesparse \
|
||||||
-DEXAMPLES_INSTALL:BOOL=OFF -Wno-dev ..
|
-DEXAMPLES_INSTALL:BOOL=OFF -Wno-dev ..
|
||||||
|
@ -773,9 +788,8 @@ popd
|
||||||
%endif ##if with_sercheck
|
%endif ##if with_sercheck
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{!?_licensedir:%global license %doc}
|
|
||||||
%license sundials-%{version}/LICENSE
|
%license sundials-%{version}/LICENSE
|
||||||
%doc sundials-%{version}/README sundials-%{version}/src/README-*
|
%doc sundials-%{version}/README.md sundials-%{version}/src/README-*
|
||||||
%{_libdir}/libsundials_nvecserial.so.*
|
%{_libdir}/libsundials_nvecserial.so.*
|
||||||
%{_libdir}/libsundials_cvode.so.*
|
%{_libdir}/libsundials_cvode.so.*
|
||||||
%{_libdir}/libsundials_cvodes.so.*
|
%{_libdir}/libsundials_cvodes.so.*
|
||||||
|
@ -794,9 +808,8 @@ popd
|
||||||
%{_libdir}/libsundials_nvecopenmp.so.*
|
%{_libdir}/libsundials_nvecopenmp.so.*
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%{!?_licensedir:%global license %doc}
|
|
||||||
%license sundials-%{version}/LICENSE
|
%license sundials-%{version}/LICENSE
|
||||||
%doc sundials-%{version}/README
|
%doc sundials-%{version}/README.md
|
||||||
%doc sundials-%{version}/doc/cvode/cv_guide.pdf
|
%doc sundials-%{version}/doc/cvode/cv_guide.pdf
|
||||||
%doc sundials-%{version}/doc/kinsol/kin_guide.pdf
|
%doc sundials-%{version}/doc/kinsol/kin_guide.pdf
|
||||||
%doc sundials-%{version}/doc/cvodes/cvs_guide.pdf
|
%doc sundials-%{version}/doc/cvodes/cvs_guide.pdf
|
||||||
|
@ -837,20 +850,28 @@ popd
|
||||||
%if 0%{?with_openmpi}
|
%if 0%{?with_openmpi}
|
||||||
%files openmpi
|
%files openmpi
|
||||||
%license sundials-%{version}/LICENSE
|
%license sundials-%{version}/LICENSE
|
||||||
%doc sundials-%{version}/README sundials-%{version}/src/README-*
|
%doc sundials-%{version}/README.md sundials-%{version}/src/README-*
|
||||||
%{_libdir}/openmpi/lib/libsundials_nvecparallel.so.*
|
%{_libdir}/openmpi/lib/libsundials_nvecparallel.so.*
|
||||||
%{_libdir}/openmpi/lib/libsundials_fnvecparallel.so.*
|
%{_libdir}/openmpi/lib/libsundials_fnvecparallel.so.*
|
||||||
|
%if 0%{?rhel} || 0%{?fedora} > 28
|
||||||
|
%{_libdir}/openmpi/lib/libsundials_nvecparhyp.so.*
|
||||||
|
%else
|
||||||
%ifnarch s390x
|
%ifnarch s390x
|
||||||
%{_libdir}/openmpi/lib/libsundials_nvecparhyp.so.*
|
%{_libdir}/openmpi/lib/libsundials_nvecparhyp.so.*
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%files openmpi-devel
|
%files openmpi-devel
|
||||||
%{_includedir}/openmpi-%{_arch}/nvector/nvector_parallel.h
|
%{_includedir}/openmpi-%{_arch}/nvector/nvector_parallel.h
|
||||||
%{_libdir}/openmpi/lib/libsundials_nvecparallel.so
|
%{_libdir}/openmpi/lib/libsundials_nvecparallel.so
|
||||||
%{_libdir}/openmpi/lib/libsundials_fnvecparallel.so
|
%{_libdir}/openmpi/lib/libsundials_fnvecparallel.so
|
||||||
|
%if 0%{?rhel} || 0%{?fedora} > 28
|
||||||
|
%{_libdir}/openmpi/lib/libsundials_nvecparhyp.so
|
||||||
|
%else
|
||||||
%ifnarch s390x
|
%ifnarch s390x
|
||||||
%{_libdir}/openmpi/lib/libsundials_nvecparhyp.so
|
%{_libdir}/openmpi/lib/libsundials_nvecparhyp.so
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%files openmpi-samples
|
%files openmpi-samples
|
||||||
%{_libdir}/openmpi/lib/sundials-%{version}/
|
%{_libdir}/openmpi/lib/sundials-%{version}/
|
||||||
|
@ -858,29 +879,39 @@ popd
|
||||||
|
|
||||||
%if 0%{?with_mpich}
|
%if 0%{?with_mpich}
|
||||||
%files mpich
|
%files mpich
|
||||||
%{!?_licensedir:%global license %doc}
|
|
||||||
%license sundials-%{version}/LICENSE
|
%license sundials-%{version}/LICENSE
|
||||||
%doc sundials-%{version}/README sundials-%{version}/src/README-*
|
%doc sundials-%{version}/README.md sundials-%{version}/src/README-*
|
||||||
%{_libdir}/mpich/lib/libsundials_nvecparallel.so.*
|
%{_libdir}/mpich/lib/libsundials_nvecparallel.so.*
|
||||||
%{_libdir}/mpich/lib/libsundials_fnvecparallel.so.*
|
%{_libdir}/mpich/lib/libsundials_fnvecparallel.so.*
|
||||||
|
%if 0%{?rhel} || 0%{?fedora} > 28
|
||||||
|
%{_libdir}/mpich/lib/libsundials_nvecparhyp.so.*
|
||||||
|
%else
|
||||||
%ifnarch s390x
|
%ifnarch s390x
|
||||||
%{_libdir}/mpich/lib/libsundials_nvecparhyp.so.*
|
%{_libdir}/mpich/lib/libsundials_nvecparhyp.so.*
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
%{_libdir}/mpich/lib/sundials-%{version}/
|
%{_libdir}/mpich/lib/sundials-%{version}/
|
||||||
|
|
||||||
%files mpich-devel
|
%files mpich-devel
|
||||||
%{_includedir}/mpich-%{_arch}/nvector/nvector_parallel.h
|
%{_includedir}/mpich-%{_arch}/nvector/nvector_parallel.h
|
||||||
%{_libdir}/mpich/lib/libsundials_nvecparallel.so
|
%{_libdir}/mpich/lib/libsundials_nvecparallel.so
|
||||||
%{_libdir}/mpich/lib/libsundials_fnvecparallel.so
|
%{_libdir}/mpich/lib/libsundials_fnvecparallel.so
|
||||||
|
%if 0%{?rhel} || 0%{?fedora} > 28
|
||||||
|
%{_libdir}/mpich/lib/libsundials_nvecparhyp.so
|
||||||
|
%else
|
||||||
%ifnarch s390x
|
%ifnarch s390x
|
||||||
%{_libdir}/mpich/lib/libsundials_nvecparhyp.so
|
%{_libdir}/mpich/lib/libsundials_nvecparhyp.so
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%files mpich-samples
|
%files mpich-samples
|
||||||
%{_libdir}/mpich/lib/sundials-%{version}/
|
%{_libdir}/mpich/lib/sundials-%{version}/
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun May 13 2018 Antonio Trande <sagitterATfedoraproject.org> - 3.1.1-1
|
||||||
|
- Update to 3.1.1
|
||||||
|
|
||||||
* Fri May 04 2018 Antonio Trande <sagitterATfedoraproject.org> - 3.1.0-5
|
* Fri May 04 2018 Antonio Trande <sagitterATfedoraproject.org> - 3.1.0-5
|
||||||
- Rebuild for hypre-2.14.0
|
- Rebuild for hypre-2.14.0
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue