Release 5.2.0| Use -fcommon flag workaround for GCC-10

This commit is contained in:
sagitter 2020-04-10 17:59:10 +02:00
parent 250d313041
commit 2824c4566d
7 changed files with 305 additions and 210 deletions

1
.gitignore vendored
View File

@ -14,3 +14,4 @@ sundials-2.3.0.tar.gz
/sundials-3.2.0.tar.gz /sundials-3.2.0.tar.gz
/sundials-3.2.1.tar.gz /sundials-3.2.1.tar.gz
/sundials-4.1.0.tar.gz /sundials-4.1.0.tar.gz
/sundials-5.2.0.tar.gz

View File

@ -1 +1 @@
SHA512 (sundials-4.1.0.tar.gz) = 1922dca3f0b8869098670aede802e48abec39607c96304e4efd9b03d195b16920175846fce10641aeebc48c216bda73c8691139dce57ffa7731a6bc8194b81b0 SHA512 (sundials-5.2.0.tar.gz) = 99163a104e436dab4779c77519502b5614b65d726324b29b14236315f6916beb5863fcd56b5acf19f62985c033b227fba1ebd3d3c4607ce991d94ee7739bb55f

View File

@ -1,11 +1,12 @@
--- config/FindSUPERLUMT.orig.cmake 2016-09-27 00:16:47.000000000 +0200 --- config/FindSUPERLUMT.orig.cmake 2016-09-27 00:16:47.000000000 +0200
+++ config/FindSUPERLUMT.cmake 2016-10-04 12:08:58.202988791 +0200 +++ config/FindSUPERLUMT.cmake 2016-10-04 12:08:58.202988791 +0200
@@ -44,7 +44,7 @@ @@ -60,7 +60,7 @@
set(SUPERLUMT_LIBRARY_DIR ${SUPERLUMT_LIBRARY_DIR} CACHE PATH "" FORCE)
else()
# find library with user provided directory path
- set(SUPERLUMT_LIBRARY_NAME superlu_mt_${POST})
+ set(SUPERLUMT_LIBRARY_NAME superlumt64_d)
find_library(SUPERLUMT_LIBRARY ${SUPERLUMT_LIBRARY_NAME} ${SUPERLUMT_LIBRARY_DIR} NO_DEFAULT_PATH)
endif() endif()
mark_as_advanced(SUPERLUMT_LIBRARY)
# Set SuperLU_MT library name with thread type postfix
-set(SUPERLUMT_LIBRARY_NAME superlu_mt_${SUPERLUMT_THREAD_TYPE})
+set(SUPERLUMT_LIBRARY_NAME superlumt64_d)
if(MSVC)
set(CMAKE_FIND_LIBRARY_PREFIXES lib ${CMAKE_FIND_LIBRARY_PREFIXES})

View File

@ -1,11 +1,12 @@
--- config/FindSUPERLUMT.orig.cmake 2016-09-27 00:16:47.000000000 +0200 --- config/FindSUPERLUMT.orig.cmake 2016-09-27 00:16:47.000000000 +0200
+++ config/FindSUPERLUMT.cmake 2016-10-04 12:08:58.202988791 +0200 +++ config/FindSUPERLUMT.cmake 2016-10-04 12:08:58.202988791 +0200
@@ -44,7 +44,7 @@ @@ -60,7 +60,7 @@
set(SUPERLUMT_LIBRARY_DIR ${SUPERLUMT_LIBRARY_DIR} CACHE PATH "" FORCE)
else()
# find library with user provided directory path
- set(SUPERLUMT_LIBRARY_NAME superlu_mt_${POST})
+ set(SUPERLUMT_LIBRARY_NAME superlumt_d)
find_library(SUPERLUMT_LIBRARY ${SUPERLUMT_LIBRARY_NAME} ${SUPERLUMT_LIBRARY_DIR} NO_DEFAULT_PATH)
endif() endif()
mark_as_advanced(SUPERLUMT_LIBRARY)
# Set SuperLU_MT library name with thread type postfix
-set(SUPERLUMT_LIBRARY_NAME superlu_mt_${SUPERLUMT_THREAD_TYPE})
+set(SUPERLUMT_LIBRARY_NAME superlumt_d)
if(MSVC)
set(CMAKE_FIND_LIBRARY_PREFIXES lib ${CMAKE_FIND_LIBRARY_PREFIXES})

View File

@ -0,0 +1,11 @@
--- a/config/FindPETSC.orig.cmake 2019-10-22 01:10:24.000000000 +0200
+++ b/config/FindPETSC.cmake 2019-10-26 15:50:39.747116576 +0200
@@ -478,7 +478,7 @@
include (FindPackageHandleStandardArgs)
find_package_handle_standard_args (PETSC
- REQUIRED_VARS PETSC_INCLUDES PETSC_LIBRARIES PETSC_EXECUTABLE_RUNS
+ REQUIRED_VARS PETSC_INCLUDES PETSC_LIBRARIES
VERSION_VAR PETSC_VERSION
FAIL_MESSAGE "PETSC could not be found. Be sure to set PETSC_DIR and PETSC_ARCH.")

View File

@ -1,75 +0,0 @@
--- a/config/SundialsPETSc.cmake
+++ b/config/SundialsPETSc.cmake
@@ -25,49 +25,4 @@
# set PETSC_LIBRARIES
include(FindPETSc)
-# If we have the PETSC libraries, test them
-if(PETSC_LIBRARIES)
- message(STATUS "Looking for PETSc libraries...")
- # Create the PETSCTest directory
- set(PETSCTest_DIR ${PROJECT_BINARY_DIR}/PETSCTest)
- file(MAKE_DIRECTORY ${PETSCTest_DIR})
- # Create a CMakeLists.txt file
- file(WRITE ${PETSCTest_DIR}/CMakeLists.txt
- "CMAKE_MINIMUM_REQUIRED(VERSION 3.0.2)\n"
- "PROJECT(ltest C)\n"
- "SET(CMAKE_VERBOSE_MAKEFILE ON)\n"
- "SET(CMAKE_BUILD_TYPE \"${CMAKE_BUILD_TYPE}\")\n"
- "SET(CMAKE_C_COMPILER ${MPI_C_COMPILER})\n"
- "SET(CMAKE_C_FLAGS \"${CMAKE_C_FLAGS}\")\n"
- "SET(CMAKE_C_FLAGS_RELEASE \"${CMAKE_C_FLAGS_RELEASE}\")\n"
- "SET(CMAKE_C_FLAGS_DEBUG \"${CMAKE_C_FLAGS_DEBUG}\")\n"
- "SET(CMAKE_C_FLAGS_RELWITHDEBUGINFO \"${CMAKE_C_FLAGS_RELWITHDEBUGINFO}\")\n"
- "SET(CMAKE_C_FLAGS_MINSIZE \"${CMAKE_C_FLAGS_MINSIZE}\")\n"
- "INCLUDE_DIRECTORIES(${PETSC_INCLUDE_DIR})\n"
- "ADD_EXECUTABLE(ltest ltest.c)\n"
- "TARGET_LINK_LIBRARIES(ltest ${PETSC_LIBRARIES})\n")
- # Create a C source file which calls a PETSC function
- file(WRITE ${PETSCTest_DIR}/ltest.c
- "\#include \"petscvec.h\"\n"
- "int main(){\n"
- "Vec x;\n"
- "VecCreate(PETSC_COMM_WORLD, &x);\n"
- "return(0);\n"
- "}\n")
- # Attempt to link the "ltest" executable
- try_compile(LTEST_OK ${PETSCTest_DIR} ${PETSCTest_DIR} ltest OUTPUT_VARIABLE MY_OUTPUT)
-
- # To ensure we do not use stuff from the previous attempts,
- # we must remove the CMakeFiles directory.
- file(REMOVE_RECURSE ${PETSCTest_DIR}/CMakeFiles)
- # Process test result
- if(LTEST_OK)
- message(STATUS "Checking if PETSc works... OK")
- set(PETSC_FOUND TRUE)
- else(LTEST_OK)
- message(STATUS "Checking if PETSc works... FAILED")
- endif(LTEST_OK)
-else(PETSC_LIBRARIES)
- PRINT_WARNING("PETSC LIBRARIES NOT Found. Please check library path" "${PETSC_LIBRARY_DIR} ")
- message(STATUS "Looking for PETSc libraries... FAILED")
-endif(PETSC_LIBRARIES)
+set(PETSC_FOUND TRUE)
--- a/examples/ida/petsc/CMakeLists.txt
+++ b/examples/ida/petsc/CMakeLists.txt
@@ -19,8 +19,6 @@
# Examples using SUNDIALS linear solvers
SET(IDA_examples
- #"idaHeat2D_jac_petsc\;1\;4" # Not to be released in 2.7.0
- "idaHeat2D_kry_petsc\;1\;4\;develop"
)
IF(MPI_C_COMPILER)
--- a/examples/nvector/petsc/CMakeLists.txt
+++ b/examples/nvector/petsc/CMakeLists.txt
@@ -19,8 +19,6 @@
# Examples using SUNDIALS PETSc nvector
SET(nvector_petsc_examples
- "test_nvector_petsc\;1000 0\;\;\;" # run sequentially
- "test_nvector_petsc\;1000 0\;1\;4\;" # run 4 procs
)
# Dependencies for nvector examples

View File

@ -2,17 +2,23 @@
%bcond_with debug %bcond_with debug
# #
# Enable pthread support
%bcond_with pthread
#
%undefine _ld_as_needed
%define _legacy_common_support 1
%if 0%{?fedora} %if 0%{?fedora}
%global with_mpich 1 %global with_mpich 1
%global with_openmpi 1 %global with_openmpi 1
%endif %endif
%if 0%{?rhel} && 0%{?rhel} >= 7 %if 0%{?rhel} && 0%{?rhel} == 7
%global with_openmpi 1 %global with_openmpi 1
%global with_mpich 1 %global with_mpich 1
%endif
%if 0%{?rhel} == 7 # Use devtoolset 8
%global dts devtoolset-8- %global dts devtoolset-8-
%endif %endif
@ -21,8 +27,15 @@
########### ###########
## PETSc ## ## PETSc ##
%global with_petsc 1 %global with_petsc 0
%global with_petsc 1 ###########
## SuperLUMT ##
%global with_superlumt 0
###########
## superlu_dist is not compiled with index_size64 enabled ##
%global with_superludist 0
########### ###########
%ifnarch s390x %ifnarch s390x
@ -41,13 +54,13 @@
Summary: Suite of nonlinear solvers Summary: Suite of nonlinear solvers
Name: sundials Name: sundials
Version: 4.1.0 Version: 5.2.0
Release: 10%{?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
URL: https://computation.llnl.gov/projects/sundials URL: https://computation.llnl.gov/projects/%{name}
Source0: %{url}/download/sundials-%{version}.tar.gz Source0: https://github.com/LLNL/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
# This patch rename superLUMT library # This patch rename superLUMT library
Patch0: %{name}-3.1.1-set_superlumt_name.patch Patch0: %{name}-3.1.1-set_superlumt_name.patch
@ -55,27 +68,38 @@ Patch0: %{name}-3.1.1-set_superlumt_name.patch
# This patch rename superLUMT64 library # This patch rename superLUMT64 library
Patch1: %{name}-3.1.1-set_superlumt64_name.patch Patch1: %{name}-3.1.1-set_superlumt64_name.patch
# PETSc libraries unrecognized for unknown reasons Patch2: sundials-change_petsc_variable.patch
# This patch disables the PETSc tests of CMake
Patch2: %{name}-disable_petsc_tests.patch
%if 0%{?with_fortran} %if 0%{?with_fortran}
BuildRequires: %{?dts}gcc-gfortran BuildRequires: gcc-gfortran
%endif %endif
BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: %{?dts}gcc, %{?dts}gcc-c++ BuildRequires: %{?dts}gcc, %{?dts}gcc-c++
BuildRequires: suitesparse-devel
%if 0%{?rhel} %if 0%{?rhel}
BuildRequires: epel-rpm-macros BuildRequires: epel-rpm-macros
%endif %endif
BuildRequires: cmake3 BuildRequires: cmake3 >= 3.10
BuildRequires: openblas-devel, openblas-srpm-macros BuildRequires: openblas-devel, openblas-srpm-macros
%if 0%{?with_superlumt}
%ifarch s390x x86_64 %{power64} aarch64 %ifarch s390x x86_64 %{power64} aarch64
BuildRequires: SuperLUMT64-devel BuildRequires: SuperLUMT64-devel
%endif %endif
%ifarch %{arm} %{ix86} %ifarch %{arm} %{ix86}
BuildRequires: SuperLUMT-devel BuildRequires: SuperLUMT-devel
%endif %endif
%endif
# KLU support
%ifarch s390x x86_64 %{power64} aarch64
BuildRequires: suitesparse64-devel
%endif
%ifarch %{arm} %{ix86}
BuildRequires: suitesparse-devel
%endif
%if 0%{?rhel}
BuildRequires: rsh
%endif
%if 0%{?with_fortran} %if 0%{?with_fortran}
Requires: gcc-gfortran%{?_isa} Requires: gcc-gfortran%{?_isa}
%endif %endif
@ -110,6 +134,9 @@ BuildRequires: petsc-openmpi-devel >= 3.10
BuildRequires: scalapack-openmpi-devel BuildRequires: scalapack-openmpi-devel
BuildRequires: hdf5-openmpi-devel BuildRequires: hdf5-openmpi-devel
%endif %endif
%if 0%{?with_superludist}
BuildRequires: superlu_dist-openmpi-devel
%endif
Requires: openmpi%{?_isa} Requires: openmpi%{?_isa}
%if 0%{?with_fortran} %if 0%{?with_fortran}
@ -144,6 +171,10 @@ BuildRequires: petsc-mpich-devel >= 3.10
BuildRequires: scalapack-mpich-devel BuildRequires: scalapack-mpich-devel
BuildRequires: hdf5-mpich-devel BuildRequires: hdf5-mpich-devel
%endif %endif
%if 0%{?with_superludist}
BuildRequires: superlu_dist-mpich-devel
%endif
Requires: mpich%{?_isa} Requires: mpich%{?_isa}
%if 0%{?with_fortran} %if 0%{?with_fortran}
Requires: gcc-gfortran%{?_isa} Requires: gcc-gfortran%{?_isa}
@ -178,28 +209,26 @@ This package contains the documentation files.
%prep %prep
%setup -qc %setup -qc
pushd sundials-%{version} pushd %{name}-%{version}
%ifarch s390x x86_64 %{power64} aarch64 %ifarch s390x x86_64 %{power64} aarch64
%patch1 -p0 %patch1 -p0 -b .set_superlumt64_name
%endif %endif
%ifarch %{arm} %{ix86} %ifarch %{arm} %{ix86}
%patch0 -p0 %patch0 -p0 -b .set_superlumt_name
%endif %endif
%patch2 -p1 -b .disable_petsc_tests
##Set serial library's paths ##Set serial library's paths
sed -i 's|DESTINATION include/nvector|DESTINATION %{_includedir}/nvector|g' src/nvector/serial/CMakeLists.txt sed -i 's|DESTINATION include/nvector|DESTINATION %{_includedir}/nvector|g' src/nvector/serial/CMakeLists.txt
sed -i 's|DESTINATION include/nvector|DESTINATION %{_includedir}/nvector|g' src/nvector/openmp/CMakeLists.txt sed -i 's|DESTINATION include/nvector|DESTINATION %{_includedir}/nvector|g' src/nvector/openmp/CMakeLists.txt
sed -i 's|DESTINATION include/nvector|DESTINATION %{_includedir}/nvector|g' src/nvector/pthreads/CMakeLists.txt sed -i 's|DESTINATION include/nvector|DESTINATION %{_includedir}/nvector|g' src/nvector/pthreads/CMakeLists.txt
mv src/arkode/README src/README-arkode mv src/arkode/README.md src/README-arkode.md
mv src/cvode/README src/README-cvode mv src/cvode/README.md src/README-cvode.md
mv src/cvodes/README src/README-cvodes mv src/cvodes/README.md src/README-cvodes.md
mv src/ida/README src/README-ida mv src/ida/README.md src/README-ida.md
mv src/idas/README src/README.idas mv src/idas/README.md src/README.idas.md
mv src/kinsol/README src/README-kinsol mv src/kinsol/README.md src/README-kinsol.md
popd popd
%if 0%{?with_openmpi} %if 0%{?with_openmpi}
@ -218,12 +247,14 @@ export LIBBLASLINK=-lopenblas
export LIBBLAS=libopenblas export LIBBLAS=libopenblas
export INCBLAS=%{_includedir}/openblas export INCBLAS=%{_includedir}/openblas
%if 0%{?with_superlumt}
%ifarch s390x x86_64 %{power64} aarch64 %ifarch s390x x86_64 %{power64} aarch64
export LIBSUPERLUMTLINK=-lsuperlumt64_d export LIBSUPERLUMTLINK=-lsuperlumt64_d
%endif %endif
%ifarch %{arm} %{ix86} %ifarch %{arm} %{ix86}
export LIBSUPERLUMTLINK=-lsuperlumt_d export LIBSUPERLUMTLINK=-lsuperlumt_d
%endif %endif
%endif
%if 0%{?el7} %if 0%{?el7}
%{?dts:source /opt/rh/devtoolset-8/enable} %{?dts:source /opt/rh/devtoolset-8/enable}
@ -231,7 +262,8 @@ export LIBSUPERLUMTLINK=-lsuperlumt_d
%if %{with debug} %if %{with debug}
%undefine _hardened_build %undefine _hardened_build
export CFLAGS="" export CFLAGS=" "
export FFLAGS=" "
%global _cmake cmake3 %global _cmake cmake3
%_cmake \ %_cmake \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
@ -240,24 +272,31 @@ export CFLAGS=""
-DCMAKE_Fortran_FLAGS_DEBUG:STRING="-O0 -g -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -I$INCBLAS" \ -DCMAKE_Fortran_FLAGS_DEBUG:STRING="-O0 -g -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -I$INCBLAS" \
-DCMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING="%{__global_ldflags} -lklu $LIBBLASLINK $LIBSUPERLUMTLINK" \ -DCMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING="%{__global_ldflags} -lklu $LIBBLASLINK $LIBSUPERLUMTLINK" \
%else %else
%if 0%{?fedora} && 0%{?fedora} > 31 export CFLAGS="%{build_cflags}"
export CFLAGS="%{build_cflags} -fcommon" export CFLAGS="%{build_fflags}"
%endif
%cmake3 \ %cmake3 \
%endif
%if %{?__isa_bits:%{__isa_bits}}%{!?__isa_bits:32} == 64 %if %{?__isa_bits:%{__isa_bits}}%{!?__isa_bits:32} == 64
-DSUNDIALS_INDEX_SIZE:STRING=64 \ -DSUNDIALS_INDEX_SIZE:STRING=64 \
-DKLU_ENABLE=ON -DKLU_LIBRARY_DIR:PATH=%{_libdir} -DKLU_LIBRARY=%{_libdir}/libklu64.so \
-DAMD_LIBRARY=%{_libdir}/libamd64.so -DAMD_LIBRARY_DIR:PATH=%{_libdir} \
-DBTF_LIBRARY=%{_libdir}/libbtf64.so -DBTF_LIBRARY_DIR:PATH=%{_libdir} \
-DCOLAMD_LIBRARY=%{_libdir}/libcolamd64.so -DCOLAMD_LIBRARY_DIR:PATH=%{_libdir} \
-DKLU_INCLUDE_DIR:PATH=%{_includedir}/suitesparse \
%else %else
-DSUNDIALS_INDEX_SIZE:STRING=32 \ -DSUNDIALS_INDEX_SIZE:STRING=32 \
-DKLU_ENABLE=ON -DKLU_LIBRARY_DIR:PATH=%{_libdir} -DKLU_LIBRARY=%{_libdir}/libklu.so \
-DAMD_LIBRARY=%{_libdir}/libamd.so -DAMD_LIBRARY_DIR:PATH=%{_libdir} \
-DBTF_LIBRARY=%{_libdir}/libbtf.so -DBTF_LIBRARY_DIR:PATH=%{_libdir} \
-DCOLAMD_LIBRARY=%{_libdir}/libcolamd.so -DCOLAMD_LIBRARY_DIR:PATH=%{_libdir} \
-DKLU_INCLUDE_DIR:PATH=%{_includedir}/suitesparse \
%endif %endif
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
-DCMAKE_BUILD_TYPE:STRING=Release \ -DCMAKE_BUILD_TYPE:STRING=Release \
-DCMAKE_C_FLAGS_RELEASE:STRING="%{optflags} -I$INCBLAS" \ -DCMAKE_C_FLAGS_RELEASE:STRING="%{optflags} -I$INCBLAS" \
-DCMAKE_Fortran_FLAGS_RELEASE:STRING="%{optflags} -I$INCBLAS" \ -DCMAKE_Fortran_FLAGS_RELEASE:STRING="%{optflags} -I$INCBLAS" \
-DCMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING="%{__global_ldflags} -lklu $LIBBLASLINK $LIBSUPERLUMTLINK" \ -DCMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING="%{__global_ldflags} -lklu $LIBBLASLINK $LIBSUPERLUMTLINK" \
%endif
-DLAPACK_ENABLE:BOOL=OFF \ -DLAPACK_ENABLE:BOOL=OFF \
-DBLAS_ENABLE:BOOL=ON \
-DBLAS_LIBRARIES:STRING=%{_libdir}/$LIBBLAS.so \
-DCMAKE_MODULE_LINKER_FLAGS:STRING="%{__global_ldflags}" \ -DCMAKE_MODULE_LINKER_FLAGS:STRING="%{__global_ldflags}" \
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \ -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \
-DPYTHON_EXECUTABLE:FILEPATH=%{__python3} \ -DPYTHON_EXECUTABLE:FILEPATH=%{__python3} \
@ -274,17 +313,20 @@ export CFLAGS="%{build_cflags} -fcommon"
%endif %endif
-DUSE_GENERIC_MATH:BOOL=ON \ -DUSE_GENERIC_MATH:BOOL=ON \
-DOPENMP_ENABLE:BOOL=ON \ -DOPENMP_ENABLE:BOOL=ON \
%if %{with pthread}
-DPTHREAD_ENABLE:BOOL=ON \ -DPTHREAD_ENABLE:BOOL=ON \
%endif
-DSUNDIALS_PRECISION:STRING=double \ -DSUNDIALS_PRECISION:STRING=double \
%ifnarch s390x x86_64 %{power64} aarch64 %if 0%{?with_superlumt}
-DSUPERLUMT_ENABLE:BOOL=ON \ -DSUPERLUMT_ENABLE:BOOL=ON \
-DSUPERLUMT_INCLUDE_DIR:PATH=%{_includedir}/SuperLUMT \ -DSUPERLUMT_INCLUDE_DIR:PATH=%{_includedir}/SuperLUMT \
-DSUPERLUMT_LIBRARY_DIR:PATH=%{_libdir} \ -DSUPERLUMT_LIBRARY_DIR:PATH=%{_libdir} \
-DSUPERLUMT_THREAD_TYPE:STRING=OpenMP \ -DSUPERLUMT_THREAD_TYPE:STRING=OpenMP \
%endif %endif
-DSUPERLUDIST_ENABLE:BOOL=OFF \
-DHYPRE_ENABLE:BOOL=OFF \ -DHYPRE_ENABLE:BOOL=OFF \
-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 ..
%make_build V=1 %make_build V=1
cd .. cd ..
popd popd
@ -302,11 +344,6 @@ sed -i 's|DESTINATION include/nvector|DESTINATION %{_includedir}/openmpi-%{_arch
%endif %endif
mkdir -p build && cd build mkdir -p build && cd build
%if 0%{?el7}
%{?dts:source /opt/rh/devtoolset-8/enable}
%endif
%{_openmpi_load} %{_openmpi_load}
## Blas ## Blas
@ -314,13 +351,17 @@ export LIBBLASLINK=-lopenblas
export LIBBLAS=libopenblas export LIBBLAS=libopenblas
export INCBLAS=%{_includedir}/openblas export INCBLAS=%{_includedir}/openblas
## ##
## SuperLUMT ## SuperLUMT
%if 0%{?with_superlumt}
%ifarch s390x x86_64 %{power64} aarch64 %ifarch s390x x86_64 %{power64} aarch64
export LIBSUPERLUMTLINK=-lsuperlumt64_d export LIBSUPERLUMTLINK=-lsuperlumt64_d
%endif %endif
%ifarch %{arm} %{ix86} %ifarch %{arm} %{ix86}
export LIBSUPERLUMTLINK=-lsuperlumt_d export LIBSUPERLUMTLINK=-lsuperlumt_d
%endif %endif
%endif
## Hypre ## Hypre
%if 0%{?with_hypre} %if 0%{?with_hypre}
export LIBHYPRELINK="-L$MPI_LIB -lHYPRE" export LIBHYPRELINK="-L$MPI_LIB -lHYPRE"
@ -337,9 +378,14 @@ export FC=$MPI_BIN/mpif77
%endif %endif
## ##
%if 0%{?el7}
%{?dts:source /opt/rh/devtoolset-8/enable}
%endif
%if %{with debug} %if %{with debug}
%undefine _hardened_build %undefine _hardened_build
export CFLAGS="" export CFLAGS=" "
export FFLAGS=" "
%global _cmake cmake3 %global _cmake cmake3
%_cmake \ %_cmake \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
@ -348,28 +394,36 @@ export CFLAGS=""
-DCMAKE_Fortran_FLAGS_DEBUG:STRING="-O0 -g -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -I$INCBLAS" \ -DCMAKE_Fortran_FLAGS_DEBUG:STRING="-O0 -g -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -I$INCBLAS" \
-DCMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING="%{__global_ldflags} -lklu $LIBBLASLINK $LIBSUPERLUMTLINK $LIBHYPRELINK" \ -DCMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING="%{__global_ldflags} -lklu $LIBBLASLINK $LIBSUPERLUMTLINK $LIBHYPRELINK" \
%else %else
%if 0%{?fedora} && 0%{?fedora} > 31 export CFLAGS="%{build_cflags}"
export CFLAGS="%{build_cflags} -fcommon" export CFLAGS="%{build_fflags}"
%endif
%cmake3 \ %cmake3 \
%endif
%if %{?__isa_bits:%{__isa_bits}}%{!?__isa_bits:32} == 64 %if %{?__isa_bits:%{__isa_bits}}%{!?__isa_bits:32} == 64
-DSUNDIALS_INDEX_SIZE:STRING=64 \ -DSUNDIALS_INDEX_SIZE:STRING=64 \
-DKLU_ENABLE=ON -DKLU_LIBRARY_DIR:PATH=%{_libdir} -DKLU_LIBRARY=%{_libdir}/libklu64.so \
-DAMD_LIBRARY=%{_libdir}/libamd64.so -DAMD_LIBRARY_DIR:PATH=%{_libdir} \
-DBTF_LIBRARY=%{_libdir}/libbtf64.so -DBTF_LIBRARY_DIR:PATH=%{_libdir} \
-DCOLAMD_LIBRARY=%{_libdir}/libcolamd64.so -DCOLAMD_LIBRARY_DIR:PATH=%{_libdir} \
-DKLU_INCLUDE_DIR:PATH=%{_includedir}/suitesparse \
%else %else
-DSUNDIALS_INDEX_SIZE:STRING=32 \ -DSUNDIALS_INDEX_SIZE:STRING=32 \
-DKLU_ENABLE=ON -DKLU_LIBRARY_DIR:PATH=%{_libdir} -DKLU_LIBRARY=%{_libdir}/libklu.so \
-DAMD_LIBRARY=%{_libdir}/libamd.so -DAMD_LIBRARY_DIR:PATH=%{_libdir} \
-DBTF_LIBRARY=%{_libdir}/libbtf.so -DBTF_LIBRARY_DIR:PATH=%{_libdir} \
-DCOLAMD_LIBRARY=%{_libdir}/libcolamd.so -DCOLAMD_LIBRARY_DIR:PATH=%{_libdir} \
-DKLU_INCLUDE_DIR:PATH=%{_includedir}/suitesparse \
%endif %endif
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
-DCMAKE_BUILD_TYPE:STRING=Release \ -DCMAKE_BUILD_TYPE:STRING=Release \
-DCMAKE_C_FLAGS_RELEASE:STRING="%{optflags} -I$INCBLAS" \ -DCMAKE_C_FLAGS_RELEASE:STRING="%{optflags} -I$INCBLAS" \
-DCMAKE_Fortran_FLAGS_RELEASE:STRING="%{optflags} -I$INCBLAS" \ -DCMAKE_Fortran_FLAGS_RELEASE:STRING="%{optflags} -I$INCBLAS" \
-DCMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING="%{__global_ldflags} -lklu $LIBBLASLINK $LIBSUPERLUMTLINK $LIBHYPRELINK" \ -DCMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING="%{__global_ldflags} -lklu $LIBBLASLINK $LIBSUPERLUMTLINK $LIBHYPRELINK" \
%endif
-DLAPACK_ENABLE:BOOL=OFF \ -DLAPACK_ENABLE:BOOL=OFF \
-DBLAS_ENABLE:BOOL=ON \
-DBLAS_LIBRARIES:STRING=%{_libdir}/$LIBBLAS.so \
%if 0%{?with_petsc} %if 0%{?with_petsc}
-DPETSC_ENABLE:BOOL=ON \ -DPETSC_ENABLE:BOOL=ON \
-DPETSC_INCLUDE_DIR:PATH=$MPI_INCLUDE/petsc \ -DPETSC_INCLUDES:PATH=$MPI_INCLUDE/petsc \
-DPETSC_LIBRARY_DIR:PATH=$MPI_LIB \ -DPETSC_LIBRARIES:PATH=$MPI_LIB/libpetsc.so \
-DPETSC_EXECUTABLE_RUNS=YES \
%endif %endif
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DCMAKE_INSTALL_LIBDIR:PATH=%{_lib}/openmpi/lib \ -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DCMAKE_INSTALL_LIBDIR:PATH=%{_lib}/openmpi/lib \
-DPYTHON_EXECUTABLE:FILEPATH=%{__python3} \ -DPYTHON_EXECUTABLE:FILEPATH=%{__python3} \
@ -391,19 +445,26 @@ export CFLAGS="%{build_cflags} -fcommon"
%endif %endif
-DUSE_GENERIC_MATH:BOOL=ON \ -DUSE_GENERIC_MATH:BOOL=ON \
-DOPENMP_ENABLE:BOOL=ON \ -DOPENMP_ENABLE:BOOL=ON \
%if %{with pthread}
-DPTHREAD_ENABLE:BOOL=ON \ -DPTHREAD_ENABLE:BOOL=ON \
%ifnarch s390x x86_64 %{power64} aarch64 %endif
%if 0%{?with_superlumt}
-DSUPERLUMT_ENABLE:BOOL=ON \ -DSUPERLUMT_ENABLE:BOOL=ON \
-DSUPERLUMT_INCLUDE_DIR:PATH=%{_includedir}/SuperLUMT \ -DSUPERLUMT_INCLUDE_DIR:PATH=%{_includedir}/SuperLUMT \
-DSUPERLUMT_LIBRARY_DIR:PATH=%{_libdir} \ -DSUPERLUMT_LIBRARY_DIR:PATH=%{_libdir} \
-DSUPERLUMT_THREAD_TYPE:STRING=OpenMP \ -DSUPERLUMT_THREAD_TYPE:STRING=OpenMP \
%endif %endif
%if 0%{?with_superludist}
-DSUPERLUDIST_ENABLE:BOOL=ON \
-DSUPERLUDIST_INCLUDE_DIR:PATH=$MPI_INCLUDE/superlu_dist \
-DSUPERLUDIST_LIBRARY_DIR:PATH=$MPI_LIB \
-DSUPERLUDIST_LIBRARIES:STRING=libsuperlu_dist.so \
%endif
%if 0%{?with_hypre} %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
-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 ..
%make_build V=1 %make_build V=1
@ -416,11 +477,6 @@ popd
%if 0%{?with_mpich} %if 0%{?with_mpich}
pushd buildmpich_dir pushd buildmpich_dir
%if 0%{?el7}
%{?dts:source /opt/rh/devtoolset-8/enable}
%endif
##Set mpich library's paths ##Set mpich library's paths
sed -i 's|DESTINATION include/nvector|DESTINATION %{_includedir}/mpich-%{_arch}/nvector|g' src/nvector/parallel/CMakeLists.txt sed -i 's|DESTINATION include/nvector|DESTINATION %{_includedir}/mpich-%{_arch}/nvector|g' src/nvector/parallel/CMakeLists.txt
sed -i 's|DESTINATION include/nvector|DESTINATION %{_includedir}/mpich-%{_arch}/nvector|g' src/nvector/parhyp/CMakeLists.txt sed -i 's|DESTINATION include/nvector|DESTINATION %{_includedir}/mpich-%{_arch}/nvector|g' src/nvector/parhyp/CMakeLists.txt
@ -437,13 +493,17 @@ export LIBBLASLINK=-lopenblas
export LIBBLAS=libopenblas export LIBBLAS=libopenblas
export INCBLAS=%{_includedir}/openblas export INCBLAS=%{_includedir}/openblas
## ##
## SuperLUMT ## SuperLUMT
%if 0%{?with_superlumt}
%ifarch s390x x86_64 %{power64} aarch64 %ifarch s390x x86_64 %{power64} aarch64
export LIBSUPERLUMTLINK=-lsuperlumt64_d export LIBSUPERLUMTLINK=-lsuperlumt64_d
%endif %endif
%ifarch %{arm} %{ix86} %ifarch %{arm} %{ix86}
export LIBSUPERLUMTLINK=-lsuperlumt_d export LIBSUPERLUMTLINK=-lsuperlumt_d
%endif %endif
%endif
## Hypre ## Hypre
%if 0%{?with_hypre} %if 0%{?with_hypre}
export LIBHYPRELINK="-L$MPI_LIB -lHYPRE" export LIBHYPRELINK="-L$MPI_LIB -lHYPRE"
@ -460,9 +520,14 @@ export FC=$MPI_BIN/mpif77
%endif %endif
## ##
%if 0%{?el7}
%{?dts:source /opt/rh/devtoolset-8/enable}
%endif
%if %{with debug} %if %{with debug}
%undefine _hardened_build %undefine _hardened_build
export CFLAGS="" export CFLAGS=" "
export FFLAGS=" "
%global _cmake cmake3 %global _cmake cmake3
%_cmake \ %_cmake \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
@ -471,28 +536,36 @@ export CFLAGS=""
-DCMAKE_Fortran_FLAGS_DEBUG:STRING="-O0 -g -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -I$INCBLAS" \ -DCMAKE_Fortran_FLAGS_DEBUG:STRING="-O0 -g -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -I$INCBLAS" \
-DCMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING="%{__global_ldflags} -lklu $LIBBLASLINK $LIBSUPERLUMTLINK $LIBHYPRELINK" \ -DCMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING="%{__global_ldflags} -lklu $LIBBLASLINK $LIBSUPERLUMTLINK $LIBHYPRELINK" \
%else %else
%if 0%{?fedora} && 0%{?fedora} > 31 export CFLAGS="%{build_cflags}"
export CFLAGS="%{build_cflags} -fcommon" export CFLAGS="%{build_fflags}"
%endif
%cmake3 \ %cmake3 \
%endif
%if %{?__isa_bits:%{__isa_bits}}%{!?__isa_bits:32} == 64 %if %{?__isa_bits:%{__isa_bits}}%{!?__isa_bits:32} == 64
-DSUNDIALS_INDEX_SIZE:STRING=64 \ -DSUNDIALS_INDEX_SIZE:STRING=64 \
-DKLU_ENABLE=ON -DKLU_LIBRARY_DIR:PATH=%{_libdir} -DKLU_LIBRARY=%{_libdir}/libklu64.so \
-DAMD_LIBRARY=%{_libdir}/libamd64.so -DAMD_LIBRARY_DIR:PATH=%{_libdir} \
-DBTF_LIBRARY=%{_libdir}/libbtf64.so -DBTF_LIBRARY_DIR:PATH=%{_libdir} \
-DCOLAMD_LIBRARY=%{_libdir}/libcolamd64.so -DCOLAMD_LIBRARY_DIR:PATH=%{_libdir} \
-DKLU_INCLUDE_DIR:PATH=%{_includedir}/suitesparse \
%else %else
-DSUNDIALS_INDEX_SIZE:STRING=32 \ -DSUNDIALS_INDEX_SIZE:STRING=32 \
-DKLU_ENABLE=ON -DKLU_LIBRARY_DIR:PATH=%{_libdir} -DKLU_LIBRARY=%{_libdir}/libklu.so \
-DAMD_LIBRARY=%{_libdir}/libamd.so -DAMD_LIBRARY_DIR:PATH=%{_libdir} \
-DBTF_LIBRARY=%{_libdir}/libbtf.so -DBTF_LIBRARY_DIR:PATH=%{_libdir} \
-DCOLAMD_LIBRARY=%{_libdir}/libcolamd.so -DCOLAMD_LIBRARY_DIR:PATH=%{_libdir} \
-DKLU_INCLUDE_DIR:PATH=%{_includedir}/suitesparse \
%endif %endif
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
-DCMAKE_BUILD_TYPE:STRING=Release \ -DCMAKE_BUILD_TYPE:STRING=Release \
-DCMAKE_C_FLAGS_RELEASE:STRING="%{optflags} -I$INCBLAS" \ -DCMAKE_C_FLAGS_RELEASE:STRING="%{optflags} -I$INCBLAS" \
-DCMAKE_Fortran_FLAGS_RELEASE:STRING="%{optflags} -I$INCBLAS" \ -DCMAKE_Fortran_FLAGS_RELEASE:STRING="%{optflags} -I$INCBLAS" \
-DCMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING="%{__global_ldflags} -lklu $LIBBLASLINK $LIBSUPERLUMTLINK $LIBHYPRELINK" \ -DCMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING="%{__global_ldflags} -lklu $LIBBLASLINK $LIBSUPERLUMTLINK $LIBHYPRELINK" \
%endif
-DLAPACK_ENABLE:BOOL=OFF \ -DLAPACK_ENABLE:BOOL=OFF \
-DBLAS_ENABLE:BOOL=ON \
-DBLAS_LIBRARIES:STRING=%{_libdir}/$LIBBLAS.so \
%if 0%{?with_petsc} %if 0%{?with_petsc}
-DPETSC_ENABLE:BOOL=ON \ -DPETSC_ENABLE:BOOL=ON \
-DPETSC_INCLUDE_DIR:PATH=$MPI_INCLUDE/petsc \ -DPETSC_INCLUDES:PATH=$MPI_INCLUDE/petsc \
-DPETSC_LIBRARY_DIR:PATH=$MPI_LIB \ -DPETSC_LIBRARIES:PATH=$MPI_LIB/libpetsc.so \
-DPETSC_EXECUTABLE_RUNS=YES \
%endif %endif
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DCMAKE_INSTALL_LIBDIR:PATH=%{_lib}/mpich/lib \ -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DCMAKE_INSTALL_LIBDIR:PATH=%{_lib}/mpich/lib \
-DPYTHON_EXECUTABLE:FILEPATH=%{__python3} \ -DPYTHON_EXECUTABLE:FILEPATH=%{__python3} \
@ -514,19 +587,26 @@ export CFLAGS="%{build_cflags} -fcommon"
%endif %endif
-DUSE_GENERIC_MATH:BOOL=ON \ -DUSE_GENERIC_MATH:BOOL=ON \
-DOPENMP_ENABLE:BOOL=ON \ -DOPENMP_ENABLE:BOOL=ON \
%if %{with pthread}
-DPTHREAD_ENABLE:BOOL=ON \ -DPTHREAD_ENABLE:BOOL=ON \
%ifnarch s390x x86_64 %{power64} aarch64 %endif
%if 0%{?with_superlumt}
-DSUPERLUMT_ENABLE:BOOL=ON \ -DSUPERLUMT_ENABLE:BOOL=ON \
-DSUPERLUMT_INCLUDE_DIR:PATH=%{_includedir}/SuperLUMT \ -DSUPERLUMT_INCLUDE_DIR:PATH=%{_includedir}/SuperLUMT \
-DSUPERLUMT_LIBRARY_DIR:PATH=%{_libdir} \ -DSUPERLUMT_LIBRARY_DIR:PATH=%{_libdir} \
-DSUPERLUMT_THREAD_TYPE:STRING=OpenMP \ -DSUPERLUMT_THREAD_TYPE:STRING=OpenMP \
%endif %endif
%if 0%{?with_superludist}
-DSUPERLUDIST_ENABLE:BOOL=ON \
-DSUPERLUDIST_INCLUDE_DIR:PATH=$MPI_INCLUDE/superlu_dist \
-DSUPERLUDIST_LIBRARY_DIR:PATH=$MPI_LIB \
-DSUPERLUDIST_LIBRARIES:STRING=libsuperlu_dist.so \
%endif
%if 0%{?with_hypre} %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
-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 ..
%make_build V=1 %make_build V=1
@ -568,16 +648,11 @@ pushd buildopenmpi_dir/build
%{_openmpi_load} %{_openmpi_load}
%if %{with debug} %if %{with debug}
export LD_LIBRARY_PATH=%{buildroot}$MPI_LIB:$MPI_LIB export LD_LIBRARY_PATH=%{buildroot}$MPI_LIB:$MPI_LIB
ctest3 --force-new-ctest-process -VV %{?_smp_mflags} --output-on-failure --debug ctest3 --force-new-ctest-process -VV -j1 --output-on-failure --debug
%else %else
export LD_LIBRARY_PATH=%{buildroot}$MPI_LIB:$MPI_LIB export LD_LIBRARY_PATH=%{buildroot}$MPI_LIB:$MPI_LIB
# Tests excluded fail on ppc64le and aarch64
%if 0%{?rhel}
ctest3 --force-new-ctest-process %{?_smp_mflags} -E 'spgmr|spfgmr|spbcgs|sptfqmr'
%else
ctest3 --force-new-ctest-process %{?_smp_mflags} ctest3 --force-new-ctest-process %{?_smp_mflags}
%endif %endif
%endif
%{_openmpi_unload} %{_openmpi_unload}
popd popd
%endif %endif
@ -591,15 +666,11 @@ pushd buildmpich_dir/build
%{_mpich_load} %{_mpich_load}
%if %{with debug} %if %{with debug}
export LD_LIBRARY_PATH=%{buildroot}$MPI_LIB:$MPI_LIB export LD_LIBRARY_PATH=%{buildroot}$MPI_LIB:$MPI_LIB
ctest3 --force-new-ctest-process -VV %{?_smp_mflags} --output-on-failure --debug ctest3 --force-new-ctest-process -VV -j1 --output-on-failure --debug
%else %else
export LD_LIBRARY_PATH=%{buildroot}$MPI_LIB:$MPI_LIB export LD_LIBRARY_PATH=%{buildroot}$MPI_LIB:$MPI_LIB
%if 0%{?rhel}
ctest3 --force-new-ctest-process %{?_smp_mflags} -E 'spgmr|spfgmr|spbcgs|sptfqmr'
%else
ctest3 --force-new-ctest-process %{?_smp_mflags} ctest3 --force-new-ctest-process %{?_smp_mflags}
%endif %endif
%endif
%{_mpich_unload} %{_mpich_unload}
popd popd
%endif %endif
@ -611,7 +682,7 @@ popd
pushd sundials-%{version}/build pushd sundials-%{version}/build
%if %{with debug} %if %{with debug}
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}:%{_libdir} export LD_LIBRARY_PATH=%{buildroot}%{_libdir}:%{_libdir}
ctest3 --force-new-ctest-process -VV %{?_smp_mflags} --output-on-failure --debug ctest3 --force-new-ctest-process -VV -j1 --output-on-failure --debug
%else %else
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}:%{_libdir} export LD_LIBRARY_PATH=%{buildroot}%{_libdir}:%{_libdir}
ctest3 --force-new-ctest-process %{?_smp_mflags} ctest3 --force-new-ctest-process %{?_smp_mflags}
@ -623,12 +694,12 @@ popd
%files %files
%license sundials-%{version}/LICENSE %license sundials-%{version}/LICENSE
%doc sundials-%{version}/README.md %doc sundials-%{version}/README.md
%doc sundials-%{version}/src/README-arkode %doc sundials-%{version}/src/README-arkode.md
%doc sundials-%{version}/src/README-cvode %doc sundials-%{version}/src/README-cvode.md
%doc sundials-%{version}/src/README-cvodes %doc sundials-%{version}/src/README-cvodes.md
%doc sundials-%{version}/src/README-ida %doc sundials-%{version}/src/README-ida.md
%doc sundials-%{version}/src/README.idas %doc sundials-%{version}/src/README.idas.md
%doc sundials-%{version}/src/README-kinsol %doc sundials-%{version}/src/README-kinsol.md
%doc sundials-%{version}/NOTICE %doc sundials-%{version}/NOTICE
%{_libdir}/libsundials_ida*.so.* %{_libdir}/libsundials_ida*.so.*
%{_libdir}/libsundials_cvode*.so.* %{_libdir}/libsundials_cvode*.so.*
@ -636,17 +707,36 @@ popd
%{_libdir}/libsundials_kinsol.so.* %{_libdir}/libsundials_kinsol.so.*
%{_libdir}/libsundials_nvecserial.so.* %{_libdir}/libsundials_nvecserial.so.*
%{_libdir}/libsundials_nvecopenmp.so.* %{_libdir}/libsundials_nvecopenmp.so.*
%{_libdir}/libsundials_nvecmanyvector.so.*
%if %{with pthread}
%{_libdir}/libsundials_nvecpthreads.so.*
%endif
%{_libdir}/libsundials_sunmatrix*.so.* %{_libdir}/libsundials_sunmatrix*.so.*
%{_libdir}/libsundials_sunlinsol*.so.* %{_libdir}/libsundials_sunlinsol*.so.*
%{_libdir}/libsundials_sunnonlinsol*.so.* %{_libdir}/libsundials_sunnonlinsol*.so.*
%if 0%{?with_fortran} %if 0%{?with_fortran}
%{_libdir}/libsundials_*_mod.so.*
%{_libdir}/libsundials_fnvecserial.so.* %{_libdir}/libsundials_fnvecserial.so.*
%{_libdir}/libsundials_fnvecserial_mod.so.*
%{_libdir}/libsundials_fnvecopenmp.so.* %{_libdir}/libsundials_fnvecopenmp.so.*
%{_libdir}/libsundials_fnvecopenmp_mod.so.* %if %{with pthread}
%{_libdir}/libsundials_fsunmatrix*.so.* %{_libdir}/libsundials_fnvecpthreads.so.*
%{_libdir}/libsundials_fsunlinsol*.so.* %endif
%{_libdir}/libsundials_fsunnonlinsol*.so.* %{_libdir}/libsundials_fsunlinsolband.so.*
%{_libdir}/libsundials_fsunlinsoldense.so.*
%{_libdir}/libsundials_fsunlinsolklu.so.*
%{_libdir}/libsundials_fsunlinsolpcg.so.*
%{_libdir}/libsundials_fsunlinsolspbcgs.so.*
%{_libdir}/libsundials_fsunlinsolspfgmr.so.*
%{_libdir}/libsundials_fsunlinsolspgmr.so.*
%{_libdir}/libsundials_fsunlinsolsptfqmr.so.*
%if 0%{?with_superlumt}
%{_libdir}/libsundials_fsunlinsolsuperlumt.so.*
%endif
%{_libdir}/libsundials_fsunmatrixband.so.*
%{_libdir}/libsundials_fsunmatrixdense.so.*
%{_libdir}/libsundials_fsunmatrixsparse.so.*
%{_libdir}/libsundials_fsunnonlinsolfixedpoint.so.*
%{_libdir}/libsundials_fsunnonlinsolnewton.so.*
%endif %endif
%files devel %files devel
@ -656,22 +746,40 @@ popd
%{_libdir}/libsundials_kinsol.so %{_libdir}/libsundials_kinsol.so
%{_libdir}/libsundials_nvecserial.so %{_libdir}/libsundials_nvecserial.so
%{_libdir}/libsundials_nvecopenmp.so %{_libdir}/libsundials_nvecopenmp.so
%{_libdir}/libsundials_nvecmanyvector.so
%if %{with pthread}
%{_libdir}/libsundials_nvecpthreads.so
%endif
%{_libdir}/libsundials_sunmatrix*.so %{_libdir}/libsundials_sunmatrix*.so
%{_libdir}/libsundials_sunlinsol*.so %{_libdir}/libsundials_sunlinsol*.so
%{_libdir}/libsundials_sunnonlinsol*.so %{_libdir}/libsundials_sunnonlinsol*.so
%if 0%{?with_fortran} %if 0%{?with_fortran}
%{_includedir}/sundials/sundials_fconfig.h %{_includedir}/sundials/sundials_fconfig.h
%{_libdir}/libsundials_*_mod.so
%{_fmoddir}/%{name}/ %{_fmoddir}/%{name}/
%{_libdir}/libsundials_fcvode_mod.so %{_libdir}/libsundials_fcvode_mod.so
%{_libdir}/libsundials_fnvecserial.so %{_libdir}/libsundials_fnvecserial.so
%{_libdir}/libsundials_fnvecserial_mod.so
%{_libdir}/libsundials_fnvecopenmp.so %{_libdir}/libsundials_fnvecopenmp.so
%{_libdir}/libsundials_fnvecopenmp_mod.so %if %{with pthread}
%{_libdir}/libsundials_fsunmatrix*.so %{_libdir}/libsundials_fnvecpthreads.so
%{_libdir}/libsundials_fsunlinsol*.so %endif
%{_libdir}/libsundials_fsunnonlinsol*.so %{_libdir}/libsundials_fsunlinsolband.so
%{_libdir}/libsundials_fsunlinsoldense.so
%{_libdir}/libsundials_fsunlinsolklu.so
%{_libdir}/libsundials_fsunlinsolpcg.so
%{_libdir}/libsundials_fsunlinsolspbcgs.so
%{_libdir}/libsundials_fsunlinsolspfgmr.so
%{_libdir}/libsundials_fsunlinsolspgmr.so
%{_libdir}/libsundials_fsunlinsolsptfqmr.so
%if 0%{?with_superlumt}
%{_libdir}/libsundials_fsunlinsolsuperlumt.so
%endif
%{_libdir}/libsundials_fsunmatrixband.so
%{_libdir}/libsundials_fsunmatrixdense.so
%{_libdir}/libsundials_fsunmatrixsparse.so
%{_libdir}/libsundials_fsunnonlinsolfixedpoint.so
%{_libdir}/libsundials_fsunnonlinsolnewton.so
%endif %endif
%{_includedir}/sundials/
%{_includedir}/nvector/ %{_includedir}/nvector/
%{_includedir}/sunmatrix/ %{_includedir}/sunmatrix/
%{_includedir}/sunlinsol/ %{_includedir}/sunlinsol/
@ -682,21 +790,29 @@ popd
%{_includedir}/ida/ %{_includedir}/ida/
%{_includedir}/idas/ %{_includedir}/idas/
%{_includedir}/kinsol/ %{_includedir}/kinsol/
%{_includedir}/sundials/
%if 0%{?with_openmpi} %if 0%{?with_openmpi}
%files openmpi %files openmpi
%license sundials-%{version}/LICENSE %license sundials-%{version}/LICENSE
%doc sundials-%{version}/README.md %doc sundials-%{version}/README.md
%doc sundials-%{version}/src/README-arkode %doc sundials-%{version}/src/README-arkode.md
%doc sundials-%{version}/src/README-cvode %doc sundials-%{version}/src/README-cvode.md
%doc sundials-%{version}/src/README-cvodes %doc sundials-%{version}/src/README-cvodes.md
%doc sundials-%{version}/src/README-ida %doc sundials-%{version}/src/README-ida.md
%doc sundials-%{version}/src/README.idas %doc sundials-%{version}/src/README.idas.md
%doc sundials-%{version}/src/README-kinsol %doc sundials-%{version}/src/README-kinsol.md
%doc sundials-%{version}/NOTICE %doc sundials-%{version}/NOTICE
%{_libdir}/openmpi/lib/libsundials_nvecparallel.so.* %{_libdir}/openmpi/lib/libsundials_nvecparallel.so.*
%{_libdir}/openmpi/lib/libsundials_nvecparhyp.so.* %{_libdir}/openmpi/lib/libsundials_nvecparhyp.so.*
%if 0%{?with_petsc}
%{_libdir}/openmpi/lib/libsundials_nvecpetsc.so.* %{_libdir}/openmpi/lib/libsundials_nvecpetsc.so.*
%endif
%{_libdir}/openmpi/lib/libsundials_nvecmpimanyvector.so.*
%if %{with pthread}
%{_libdir}/openmpi/lib/libsundials_nvecmpipthreads.so.*
%endif
%{_libdir}/openmpi/lib/libsundials_nvecmpiplusx.so.*
%exclude %{_libdir}/openmpi/lib/libsundials_kinsol.so.* %exclude %{_libdir}/openmpi/lib/libsundials_kinsol.so.*
%exclude %{_libdir}/openmpi/lib/libsundials_ida*.so.* %exclude %{_libdir}/openmpi/lib/libsundials_ida*.so.*
%exclude %{_libdir}/openmpi/lib/libsundials_cvode*.so.* %exclude %{_libdir}/openmpi/lib/libsundials_cvode*.so.*
@ -706,12 +822,15 @@ popd
%exclude %{_libdir}/openmpi/lib/libsundials_sunmatrix*.so.* %exclude %{_libdir}/openmpi/lib/libsundials_sunmatrix*.so.*
%exclude %{_libdir}/openmpi/lib/libsundials_sunlinsol*.so.* %exclude %{_libdir}/openmpi/lib/libsundials_sunlinsol*.so.*
%exclude %{_libdir}/openmpi/lib/libsundials_sunnonlinsol*.so.* %exclude %{_libdir}/openmpi/lib/libsundials_sunnonlinsol*.so.*
%exclude %{_libdir}/openmpi/lib/libsundials_nvecmanyvector.so.*
%if %{with pthread}
%exclude %{_libdir}/openmpi/lib/libsundials_nvecpthreads.so.*
%endif
%if 0%{?with_fortran} %if 0%{?with_fortran}
%{_libdir}/openmpi/lib/libsundials_fnvecparallel.so.* %{_libdir}/openmpi/lib/libsundials_fnvecparallel.so.*
%{_libdir}/openmpi/lib/libsundials_*_mod.so.*
%exclude %{_libdir}/openmpi/lib/libsundials_fnvecserial.so.* %exclude %{_libdir}/openmpi/lib/libsundials_fnvecserial.so.*
%exclude %{_libdir}/openmpi/lib/libsundials_fnvecserial_mod.so.*
%exclude %{_libdir}/openmpi/lib/libsundials_fnvecopenmp.so.* %exclude %{_libdir}/openmpi/lib/libsundials_fnvecopenmp.so.*
%exclude %{_libdir}/openmpi/lib/libsundials_fnvecopenmp_mod.so.*
%exclude %{_libdir}/openmpi/lib/libsundials_fsunmatrix*.so.* %exclude %{_libdir}/openmpi/lib/libsundials_fsunmatrix*.so.*
%exclude %{_libdir}/openmpi/lib/libsundials_fsunlinsol*.so.* %exclude %{_libdir}/openmpi/lib/libsundials_fsunlinsol*.so.*
%exclude %{_libdir}/openmpi/lib/libsundials_fsunnonlinsol*.so.* %exclude %{_libdir}/openmpi/lib/libsundials_fsunnonlinsol*.so.*
@ -723,18 +842,24 @@ popd
%if 0%{?with_fortran} %if 0%{?with_fortran}
%{_fmoddir}/openmpi%{?el7:-%_arch}/%{name}/ %{_fmoddir}/openmpi%{?el7:-%_arch}/%{name}/
%{_libdir}/openmpi/lib/libsundials_fnvecparallel.so %{_libdir}/openmpi/lib/libsundials_fnvecparallel.so
%{_libdir}/openmpi/lib/libsundials_*_mod.so
%exclude %{_libdir}/openmpi/lib/libsundials_fcvode_mod.so %exclude %{_libdir}/openmpi/lib/libsundials_fcvode_mod.so
%exclude %{_libdir}/openmpi/lib/libsundials_fnvecserial.so %exclude %{_libdir}/openmpi/lib/libsundials_fnvecserial.so
%exclude %{_libdir}/openmpi/lib/libsundials_fnvecserial_mod.so
%exclude %{_libdir}/openmpi/lib/libsundials_fnvecopenmp.so %exclude %{_libdir}/openmpi/lib/libsundials_fnvecopenmp.so
%exclude %{_libdir}/openmpi/lib/libsundials_fnvecopenmp_mod.so
%exclude %{_libdir}/openmpi/lib/libsundials_fsunmatrix*.so %exclude %{_libdir}/openmpi/lib/libsundials_fsunmatrix*.so
%exclude %{_libdir}/openmpi/lib/libsundials_fsunlinsol*.so %exclude %{_libdir}/openmpi/lib/libsundials_fsunlinsol*.so
%exclude %{_libdir}/openmpi/lib/libsundials_fsunnonlinsol*.so %exclude %{_libdir}/openmpi/lib/libsundials_fsunnonlinsol*.so
%endif %endif
%{_libdir}/openmpi/lib/libsundials_nvecparallel.so %{_libdir}/openmpi/lib/libsundials_nvecparallel.so
%{_libdir}/openmpi/lib/libsundials_nvecparhyp.so %{_libdir}/openmpi/lib/libsundials_nvecparhyp.so
%if 0%{?with_petsc}
%{_libdir}/openmpi/lib/libsundials_nvecpetsc.so %{_libdir}/openmpi/lib/libsundials_nvecpetsc.so
%endif
%{_libdir}/openmpi/lib/libsundials_nvecmpimanyvector.so
%if %{with pthread}
%{_libdir}/openmpi/lib/libsundials_nvecmpipthreads.so
%endif
%{_libdir}/openmpi/lib/libsundials_nvecmpiplusx.so
%exclude %{_libdir}/openmpi/lib/libsundials_kinsol.so %exclude %{_libdir}/openmpi/lib/libsundials_kinsol.so
%exclude %{_libdir}/openmpi/lib/libsundials_ida*.so %exclude %{_libdir}/openmpi/lib/libsundials_ida*.so
%exclude %{_libdir}/openmpi/lib/libsundials_cvode*.so %exclude %{_libdir}/openmpi/lib/libsundials_cvode*.so
@ -744,22 +869,33 @@ popd
%exclude %{_libdir}/openmpi/lib/libsundials_sunmatrix*.so %exclude %{_libdir}/openmpi/lib/libsundials_sunmatrix*.so
%exclude %{_libdir}/openmpi/lib/libsundials_sunlinsol*.so %exclude %{_libdir}/openmpi/lib/libsundials_sunlinsol*.so
%exclude %{_libdir}/openmpi/lib/libsundials_sunnonlinsol*.so %exclude %{_libdir}/openmpi/lib/libsundials_sunnonlinsol*.so
%exclude %{_libdir}/openmpi/lib/libsundials_nvecmanyvector.so
%if %{with pthread}
%exclude %{_libdir}/openmpi/lib/libsundials_nvecpthreads.so
%endif
%endif %endif
%if 0%{?with_mpich} %if 0%{?with_mpich}
%files mpich %files mpich
%license sundials-%{version}/LICENSE %license sundials-%{version}/LICENSE
%doc sundials-%{version}/README.md %doc sundials-%{version}/README.md
%doc sundials-%{version}/src/README-arkode %doc sundials-%{version}/src/README-arkode.md
%doc sundials-%{version}/src/README-cvode %doc sundials-%{version}/src/README-cvode.md
%doc sundials-%{version}/src/README-cvodes %doc sundials-%{version}/src/README-cvodes.md
%doc sundials-%{version}/src/README-ida %doc sundials-%{version}/src/README-ida.md
%doc sundials-%{version}/src/README.idas %doc sundials-%{version}/src/README.idas.md
%doc sundials-%{version}/src/README-kinsol %doc sundials-%{version}/src/README-kinsol.md
%doc sundials-%{version}/NOTICE %doc sundials-%{version}/NOTICE
%{_libdir}/mpich/lib/libsundials_nvecparallel.so.* %{_libdir}/mpich/lib/libsundials_nvecparallel.so.*
%{_libdir}/mpich/lib/libsundials_nvecparhyp.so.* %{_libdir}/mpich/lib/libsundials_nvecparhyp.so.*
%if 0%{?with_petsc}
%{_libdir}/mpich/lib/libsundials_nvecpetsc.so.* %{_libdir}/mpich/lib/libsundials_nvecpetsc.so.*
%endif
%{_libdir}/mpich/lib/libsundials_nvecmpimanyvector.so.*
%if %{with pthread}
%{_libdir}/mpich/lib/libsundials_nvecmpipthreads.so.*
%endif
%{_libdir}/mpich/lib/libsundials_nvecmpiplusx.so.*
%exclude %{_libdir}/mpich/lib/libsundials_kinsol.so.* %exclude %{_libdir}/mpich/lib/libsundials_kinsol.so.*
%exclude %{_libdir}/mpich/lib/libsundials_ida*.so.* %exclude %{_libdir}/mpich/lib/libsundials_ida*.so.*
%exclude %{_libdir}/mpich/lib/libsundials_cvode*.so.* %exclude %{_libdir}/mpich/lib/libsundials_cvode*.so.*
@ -769,12 +905,15 @@ popd
%exclude %{_libdir}/mpich/lib/libsundials_sunmatrix*.so.* %exclude %{_libdir}/mpich/lib/libsundials_sunmatrix*.so.*
%exclude %{_libdir}/mpich/lib/libsundials_sunlinsol*.so.* %exclude %{_libdir}/mpich/lib/libsundials_sunlinsol*.so.*
%exclude %{_libdir}/mpich/lib/libsundials_sunnonlinsol*.so.* %exclude %{_libdir}/mpich/lib/libsundials_sunnonlinsol*.so.*
%exclude %{_libdir}/mpich/lib/libsundials_nvecmanyvector.so.*
%if %{with pthread}
%exclude %{_libdir}/mpich/lib/libsundials_nvecpthreads.so.*
%endif
%if 0%{?with_fortran} %if 0%{?with_fortran}
%{_libdir}/mpich/lib/libsundials_fnvecparallel.so.* %{_libdir}/mpich/lib/libsundials_fnvecparallel.so.*
%{_libdir}/mpich/lib/libsundials_*_mod.so.*
%exclude %{_libdir}/mpich/lib/libsundials_fnvecserial.so.* %exclude %{_libdir}/mpich/lib/libsundials_fnvecserial.so.*
%exclude %{_libdir}/mpich/lib/libsundials_fnvecserial_mod.so.*
%exclude %{_libdir}/mpich/lib/libsundials_fnvecopenmp.so.* %exclude %{_libdir}/mpich/lib/libsundials_fnvecopenmp.so.*
%exclude %{_libdir}/mpich/lib/libsundials_fnvecopenmp_mod.so.*
%exclude %{_libdir}/mpich/lib/libsundials_fsunmatrix*.so.* %exclude %{_libdir}/mpich/lib/libsundials_fsunmatrix*.so.*
%exclude %{_libdir}/mpich/lib/libsundials_fsunlinsol*.so.* %exclude %{_libdir}/mpich/lib/libsundials_fsunlinsol*.so.*
%exclude %{_libdir}/mpich/lib/libsundials_fsunnonlinsol*.so.* %exclude %{_libdir}/mpich/lib/libsundials_fsunnonlinsol*.so.*
@ -787,18 +926,24 @@ popd
%if 0%{?with_fortran} %if 0%{?with_fortran}
%{_fmoddir}/mpich%{?el7:-%_arch}/%{name}/ %{_fmoddir}/mpich%{?el7:-%_arch}/%{name}/
%{_libdir}/mpich/lib/libsundials_fnvecparallel.so %{_libdir}/mpich/lib/libsundials_fnvecparallel.so
%{_libdir}/mpich/lib/libsundials_*_mod.so
%exclude %{_libdir}/mpich/lib/libsundials_fcvode_mod.so %exclude %{_libdir}/mpich/lib/libsundials_fcvode_mod.so
%exclude %{_libdir}/mpich/lib/libsundials_fnvecserial.so %exclude %{_libdir}/mpich/lib/libsundials_fnvecserial.so
%exclude %{_libdir}/mpich/lib/libsundials_fnvecserial_mod.so
%exclude %{_libdir}/mpich/lib/libsundials_fnvecopenmp.so %exclude %{_libdir}/mpich/lib/libsundials_fnvecopenmp.so
%exclude %{_libdir}/mpich/lib/libsundials_fnvecopenmp_mod.so
%exclude %{_libdir}/mpich/lib/libsundials_fsunmatrix*.so %exclude %{_libdir}/mpich/lib/libsundials_fsunmatrix*.so
%exclude %{_libdir}/mpich/lib/libsundials_fsunlinsol*.so %exclude %{_libdir}/mpich/lib/libsundials_fsunlinsol*.so
%exclude %{_libdir}/mpich/lib/libsundials_fsunnonlinsol*.so %exclude %{_libdir}/mpich/lib/libsundials_fsunnonlinsol*.so
%endif %endif
%{_libdir}/mpich/lib/libsundials_nvecparallel.so %{_libdir}/mpich/lib/libsundials_nvecparallel.so
%{_libdir}/mpich/lib/libsundials_nvecparhyp.so %{_libdir}/mpich/lib/libsundials_nvecparhyp.so
%if 0%{?with_petsc}
%{_libdir}/mpich/lib/libsundials_nvecpetsc.so %{_libdir}/mpich/lib/libsundials_nvecpetsc.so
%endif
%{_libdir}/mpich/lib/libsundials_nvecmpimanyvector.so
%if %{with pthread}
%{_libdir}/mpich/lib/libsundials_nvecmpipthreads.so
%endif
%{_libdir}/mpich/lib/libsundials_nvecmpiplusx.so
%exclude %{_libdir}/mpich/lib/libsundials_kinsol.so %exclude %{_libdir}/mpich/lib/libsundials_kinsol.so
%exclude %{_libdir}/mpich/lib/libsundials_ida*.so %exclude %{_libdir}/mpich/lib/libsundials_ida*.so
%exclude %{_libdir}/mpich/lib/libsundials_cvode*.so %exclude %{_libdir}/mpich/lib/libsundials_cvode*.so
@ -808,11 +953,16 @@ popd
%exclude %{_libdir}/mpich/lib/libsundials_sunmatrix*.so %exclude %{_libdir}/mpich/lib/libsundials_sunmatrix*.so
%exclude %{_libdir}/mpich/lib/libsundials_sunlinsol*.so %exclude %{_libdir}/mpich/lib/libsundials_sunlinsol*.so
%exclude %{_libdir}/mpich/lib/libsundials_sunnonlinsol*.so %exclude %{_libdir}/mpich/lib/libsundials_sunnonlinsol*.so
%exclude %{_libdir}/mpich/lib/libsundials_nvecmanyvector.so
%if %{with pthread}
%exclude %{_libdir}/mpich/lib/libsundials_nvecpthreads.so
%endif
%endif %endif
%files doc %files doc
%license sundials-%{version}/LICENSE %license sundials-%{version}/LICENSE
%doc sundials-%{version}/README.md %doc sundials-%{version}/README.md
%doc sundials-%{version}/NOTICE
%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
@ -820,6 +970,14 @@ popd
%doc sundials-%{version}/doc/arkode/* %doc sundials-%{version}/doc/arkode/*
%changelog %changelog
* Fri Apr 10 2020 Antonio Trande <sagitter@fedoraproject.org> - 5.2.0-1
- Release 5.2.0
* Sat Mar 21 2020 Antonio Trande <sagitter@fedoraproject.org> - 5.1.0-1
- Release 5.1.0
- Use -fcommon flag workaround for GCC-10
- Disable pthread support (do not mix-up openmp and pthread)
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-10 * Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
@ -843,8 +1001,6 @@ popd
* Wed Jun 26 2019 Antonio Trande <sagitter@fedoraproject.org> - 4.1.0-3 * Wed Jun 26 2019 Antonio Trande <sagitter@fedoraproject.org> - 4.1.0-3
- Do not use curly brackets under %%files - Do not use curly brackets under %%files
- PETSc needs HDF5
- Use devtoolset-8 on epel
* Thu Apr 25 2019 Antonio Trande <sagitter@fedoraproject.org> - 4.1.0-2 * Thu Apr 25 2019 Antonio Trande <sagitter@fedoraproject.org> - 4.1.0-2
- Reorganization of the files - Reorganization of the files