From 3b07f4cb3d2fb74cdae97923b80695072e6eee702a27fb2b51b7f78b7a8aeb83 Mon Sep 17 00:00:00 2001 From: Kshitij Kulshreshtha Date: Tue, 25 Feb 2014 11:56:29 +0000 Subject: [PATCH] - Update to upstream version 2.5.0 * An overhaul of the internal memory management to make it more efficient * Support for the AdjoinableMPI API (thanks to Jean Utke) * Overhaul of the external functions interface (thanks to Jean Utke) * Support for piecewise linearizations of piecewise smooth functions * Support for pkg-config (thanks to Oliver Sander) * Computations on the NVIDIA-GPU in forward mode using CUDA * Overhaul of the traceless forward mode. * Support for sparsity in traceless forward mode. * Fixes in higher order tensor propagation * Fix a function name conflict address() -> tensor_address() * Various other small misceleneous fixes - Patch added * no-return-in-non-void-adouble_tl_cpp.patch OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/adolc?expand=0&rev=39 --- adolc-2.4.1.tar.bz2 | 3 --- adolc-2.5.0.tar.bz2 | 3 +++ adolc.changes | 20 ++++++++++++++++++++ adolc.spec | 15 ++++++++------- no-return-in-non-void-adouble_tl_cpp.patch | 12 ++++++++++++ 5 files changed, 43 insertions(+), 10 deletions(-) delete mode 100644 adolc-2.4.1.tar.bz2 create mode 100644 adolc-2.5.0.tar.bz2 create mode 100644 no-return-in-non-void-adouble_tl_cpp.patch diff --git a/adolc-2.4.1.tar.bz2 b/adolc-2.4.1.tar.bz2 deleted file mode 100644 index f9a110a..0000000 --- a/adolc-2.4.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cceda284e4f8f3a6f060654494ab9dcd25edda431d160f723eb8b3be4f41252e -size 1942342 diff --git a/adolc-2.5.0.tar.bz2 b/adolc-2.5.0.tar.bz2 new file mode 100644 index 0000000..d5ff82c --- /dev/null +++ b/adolc-2.5.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2c8182a910477d7c2f1455b43e1d2ec3027eca83805360466334cfc875346ba8 +size 1975963 diff --git a/adolc.changes b/adolc.changes index 1793d77..6e9ac9e 100644 --- a/adolc.changes +++ b/adolc.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Tue Feb 25 11:44:46 UTC 2014 - kkhere.geo@gmail.com + +- Update to upstream version 2.5.0 + * An overhaul of the internal memory management to make it + more efficient + * Support for the AdjoinableMPI API (thanks to Jean Utke) + * Overhaul of the external functions interface (thanks to Jean Utke) + * Support for piecewise linearizations of piecewise smooth functions + * Support for pkg-config (thanks to Oliver Sander) + * Computations on the NVIDIA-GPU in forward mode using CUDA + * Overhaul of the traceless forward mode. + * Support for sparsity in traceless forward mode. + * Fixes in higher order tensor propagation + * Fix a function name conflict + address() -> tensor_address() + * Various other small misceleneous fixes +- Patch added + * no-return-in-non-void-adouble_tl_cpp.patch + ------------------------------------------------------------------- Tue Mar 19 11:41:14 UTC 2013 - kkhere.geo@gmail.com diff --git a/adolc.spec b/adolc.spec index 29e4d13..6fe1684 100644 --- a/adolc.spec +++ b/adolc.spec @@ -1,7 +1,7 @@ # # spec file for package adolc # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,25 +16,24 @@ # -%define packver 2.4.1 -%define packname ADOL-C - Name: adolc %define lname libadolc1 -Version: 2.4.1 +Version: 2.5.0 Release: 0 Summary: Algorithmic Differentiation Library for C/C++ License: GPL-2.0+ or EPL-1.0 Group: Development/Libraries/C and C++ Url: http://projects.coin-or.org/ADOL-C -Source: %{name}-%{packver}.tar.bz2 +Source: %{name}-%{version}.tar.bz2 Source1: baselibs.conf +Patch1: no-return-in-non-void-adouble_tl_cpp.patch BuildRequires: ColPack-devel BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: libstdc++-devel BuildRequires: libtool +BuildRequires: pkg-config # BuildRequires: texlive texlive-latex BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -103,7 +102,8 @@ accessed memory of the given function evaluation program. This package provides the userĀ“s manual for adolc %prep -%setup -q -n %{packname}-%{packver} +%setup -q -n %{name}-%{version} +%patch1 -p1 %build %if 0%{?suse_version} && %{suse_version} > 1110 @@ -144,6 +144,7 @@ find "%buildroot" -type f -name "*.a" -delete; %{_includedir}/adolc/sparse/*.h %{_includedir}/adolc/tapedoc/*.h %{_libdir}/libadolc.so +%{_libdir}/pkgconfig/adolc.pc %files doc %defattr(-,root,root) diff --git a/no-return-in-non-void-adouble_tl_cpp.patch b/no-return-in-non-void-adouble_tl_cpp.patch new file mode 100644 index 0000000..9da8b87 --- /dev/null +++ b/no-return-in-non-void-adouble_tl_cpp.patch @@ -0,0 +1,12 @@ +diff --git a/ADOL-C/src/adouble_tl.cpp b/ADOL-C/src/adouble_tl.cpp +index d72c538..9deaec7 100644 +--- a/ADOL-C/src/adouble_tl.cpp ++++ b/ADOL-C/src/adouble_tl.cpp +@@ -72,6 +72,7 @@ istream& operator >> ( istream& in, adouble& a) { + while (c!=')' && !in.eof()); + return in; + } ++ return in; + } + + /**************** ADOLC_TRACELESS_SPARSE_PATTERN ****************************/