From 34b30a0773594f676e5f4987c0f9f66e85e1f21a Mon Sep 17 00:00:00 2001 From: sagitter Date: Sun, 22 Oct 2017 17:06:36 +0200 Subject: [PATCH] Update to 3.8.0 --- .gitignore | 1 + petsc-avoid_clash_with_complex.h.patch | 10 ---------- petsc.spec | 23 +++++++---------------- sources | 2 +- 4 files changed, 9 insertions(+), 27 deletions(-) delete mode 100644 petsc-avoid_clash_with_complex.h.patch diff --git a/.gitignore b/.gitignore index d50d131..9609c47 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /petsc-3.7.5.tar.gz /petsc-3.7.6.tar.gz /petsc-3.7.7.tar.gz +/petsc-3.8.0.tar.gz diff --git a/petsc-avoid_clash_with_complex.h.patch b/petsc-avoid_clash_with_complex.h.patch deleted file mode 100644 index 0ac365a..0000000 --- a/petsc-avoid_clash_with_complex.h.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- src/dm/impls/plex/plexcgns.c~ 2015-06-09 22:24:49.000000000 +0100 -+++ src/dm/impls/plex/plexcgns.c 2015-07-04 23:16:15.861601437 +0100 -@@ -1,6 +1,7 @@ - #define PETSCDM_DLL - #include /*I "petscdmplex.h" I*/ - -+#undef I - #if defined(PETSC_HAVE_CGNS) - #include - #include diff --git a/petsc.spec b/petsc.spec index 0b06bec..a96aa9c 100644 --- a/petsc.spec +++ b/petsc.spec @@ -109,8 +109,8 @@ Name: petsc Summary: Portable Extensible Toolkit for Scientific Computation -Version: 3.7.7 -Release: 5%{?dist} +Version: 3.8.0 +Release: 1%{?dist} License: BSD URL: https://www.mcs.anl.gov/petsc Source0: http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-%{version}.tar.gz @@ -121,9 +121,6 @@ Patch0: %{name}-3.7-no-rpath.patch ## Rename library name for 64-bit integer package Patch1: %{name}-lib64.patch -# Avoid a clash with complex.h -Patch2: %{name}-avoid_clash_with_complex.h.patch - # Diable checkopts and petscnagupgrade.py Patch3: %{name}-disable_petscnagupgrade.patch @@ -352,9 +349,6 @@ popd cp -a %{name}-%{version} build64 pushd build64 %patch1 -p0 -%if 0%{?fedora} || 0%{?rhel} >= 7 -%patch2 -p0 -%endif popd %endif @@ -364,10 +358,6 @@ find . -name 'configure' | xargs sed -i '1s|^#!/usr/bin/env python|#!%{__python2 find config -name '*.py' | xargs sed -i '1s|^#!/usr/bin/env python|#!%{__python2}|' find src/benchmarks/streams -name '*.py' | xargs sed -i '1s|^#!/usr/bin/env python|#!%{__python2}|' %patch0 -p0 - -%if 0%{?fedora} || 0%{?rhel} >= 7 -%patch2 -p0 -%endif popd %if %{with openmpi} @@ -427,7 +417,6 @@ CFLAGS="$CFLAGS -O3 -Wl,-z,now" CXXFLAGS="$CXXFLAGS -O3" FFLAGS="$FFLAGS -O3 -Wl --with-superlu-include=%{_includedir}/SuperLU \ --with-superlu-lib=-lsuperlu \ %endif - --with-mpiuni-fortran-binding=1 \ %if %{with mumps_serial} --with-mumps-serial=1 \ --with-mumps-include=%{_includedir}/MUMPS \ @@ -487,7 +476,6 @@ CFLAGS="$CFLAGS -O3 -Wl,-z,now" CXXFLAGS="$CXXFLAGS -O3" FFLAGS="$FFLAGS -O3 -Wl --with-cxxlib-autodetect=0 \ %endif --with-mpi=0 \ - --with-mpiuni-fortran-binding=1 \ --with-threadsafety=0 --with-log=1 \ %if %{with debug} --with-debugging=1 \ @@ -573,7 +561,6 @@ CFLAGS="$CFLAGS -O3 -Wl,-z,now" CXXFLAGS="$CXXFLAGS -O3" FFLAGS="$FFLAGS -O3 -Wl --with-mpi=1 \ --with-mpi-compilers=$MPI_BIN/mpicc \ --with-mpiexec=$MPI_BIN/mpiexec \ - --with-mpiuni-fortran-binding=1 \ %endif %if %{with cgns} --with-cgns=1 \ @@ -685,7 +672,6 @@ CFLAGS="$CFLAGS -O3 -Wl,-z,now" CXXFLAGS="$CXXFLAGS -O3" FFLAGS="$FFLAGS -O3 -Wl --with-mpi=1 \ --with-mpi-compilers=$MPI_BIN/mpicc \ --with-mpiexec=$MPI_BIN/mpiexec \ - --with-mpiuni-fortran-binding=1 \ %endif %if %{with cgns} --with-cgns=1 \ @@ -1023,6 +1009,11 @@ make -C buildmpich_dir test %endif %changelog +* Tue Oct 03 2017 Antonio Trande - 3.8.0-1 +- Update to 3.8.0 +- with-mpiuni-fortran-binding option deprecated +- Remove obsolete patch2 + * Mon Oct 02 2017 Antonio Trande - 3.7.7-5 - Disable debugging - Unset default compiler flags when tests are built diff --git a/sources b/sources index d10a9a9..f32c298 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (petsc-3.7.7.tar.gz) = 408b176536c66b24ceebcc09ba94682d776b157a3eb841fe976b576fd4dc6073e65e76814f95d40a48f8c49dce3f4132dde0249ace64335ad37d2b347f0ed46d +SHA512 (petsc-3.8.0.tar.gz) = 66d186e8facb17d29c0b690646c29903d0afe3d2f7ef89a94f406ebceeb11e265b07ab605dd8ac4bd98929b3a48475ed3179733a1117187318e50bc64473fba1