rpms/cppad/EL-6 .cvsignore, 1.5, 1.6 cppad.spec, 1.16, 1.17 sources, 1.6, 1.7

Bradley M. Bell bradbell at fedoraproject.org
Thu Jul 8 18:09:12 UTC 2010


Author: bradbell

Update of /cvs/pkgs/rpms/cppad/EL-6
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv29780

Modified Files:
	.cvsignore cppad.spec sources 
Log Message:
copy from devel to EPL-5


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/cppad/EL-6/.cvsignore,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- .cvsignore	29 Mar 2009 10:49:24 -0000	1.5
+++ .cvsignore	8 Jul 2010 18:09:12 -0000	1.6
@@ -1 +1 @@
-cppad-20090303.0.gpl.tgz
+cppad-20100101.4.gpl.tgz


Index: cppad.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cppad/EL-6/cppad.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -p -r1.16 -r1.17
--- cppad.spec	24 Jul 2009 19:33:51 -0000	1.16
+++ cppad.spec	8 Jul 2010 18:09:12 -0000	1.17
@@ -1,7 +1,3 @@
-# ----------------------------------------------------------------------------
-# RPM source for this version of cppad.spec:
-# http://www.seanet.com/~bradbell/cppad/cppad-%{version}-%{release}.fc7.src.rpm
-# ----------------------------------------------------------------------------
 # Known Problems: 
 #
 # After installation of cppad-doc-%{version} the command
@@ -15,8 +11,8 @@
 # ---------------------------------------------------------------------------- 
 
 Name: cppad
-Version: 20090303.0
-Release: 5%{?dist}
+Version: 20100101.4
+Release: 1%{?dist}
 Summary: No base package is installed, see %{name}-devel 
 
 Group: Development/Libraries 
@@ -62,47 +58,6 @@ as a single web page, in both html and x
 %prep
 %setup -q 
 
-# Patch problems fix in trunk on 20090606, but not yet in any release
-# This grep should fail once the version passes 20090606
-grep 'x\[2\] = 5.0; x\[2\] = 5.0;' test_more/jacobian.cpp
-# This patch will no longer be needed once the version passes 20090606
-sed -i.stamp test_more/jacobian.cpp \
-	-e 's/x\[2\] = 5.0; x\[2\] = 5.0;/x[1] = 5.0; x[2] = 5.0;/'
-# This patch will no longer be needed once the version passes 20090606
-sed -i.stamp cppad/local/default.hpp \
-	-e 's/AD<Base>::AD(void) :/& value_(Base(0)), /'
-
-# This patch will no longer be needed once branches/sweep is merged into
-# the CppAD trunk (date is as yet unknown).
-sed -i.stamp cppad/local/fun_construct.hpp \
-	-e '/for(i = 0; i < m; i++)/,$d'
-cat << EOF >> cppad/local/fun_construct.hpp
-# ifndef NDEBUG
-	for(i = 0; i < m; i++) if( taylor_[dep_taddr_[i]] != y[i].value_ )
-	{	using std::endl;
-		std::ostringstream buf;
-		buf << "A dependent variable value is not equal to "
-		    << "its tape evaluation value (perhaps it is nan)" << endl
-		    << "Dependent variable value = " 
-		    <<  y[i].value_ << endl
-		    << "Tape evaluation value    = " 
-		    <<  taylor_[dep_taddr_[i]]  << endl
-		    << "Difference               = " 
-		    <<  y[i].value_ -  taylor_[dep_taddr_[i]]  << endl
-		;
-		CPPAD_ASSERT_KNOWN(
-			0,
-			buf.str().c_str()
-		);
-	}
-# endif
-}
-
-} // END CppAD namespace
-
-# endif
-EOF
-
 # change example/example.cpp to print out machine epsilon 
 cat << EOF > example.sed
 /^int main(void)/N
@@ -115,9 +70,6 @@ int main(void)\\
 EOF
 sed -i.stamp example/example.cpp -f example.sed
 
-# See Sat Jan 12 2008  log entry
-sed -i.stamp speed/example/example.cpp -e '/Run(speed_test,/d'
-
 # Remove setting of permissions in documentation destination directory.
 # Create the doc_prefix directory (if it does not already exist).
 # (Note we are not using a postfix directory, so can overwrite its case.)
@@ -140,11 +92,16 @@ make install DESTDIR=$RPM_BUILD_ROOT
 %check
 example/example 
 test_more/test_more
-speed/cppad/cppad     correct 123 true
-speed/cppad/cppad     correct 123 false
-speed/double/double   correct 123 true
 speed/example/example
-speed/profile/profile correct 123 true
+speed/double/double   correct 123
+speed/cppad/cppad     correct 123
+speed/cppad/cppad     correct 123 optimize
+speed/cppad/cppad     correct 123 retape
+speed/cppad/cppad     correct 123 optimize retape
+speed/profile/profile correct 123
+speed/profile/profile correct 123 optimize
+speed/profile/profile correct 123 retape
+speed/profile/profile correct 123 optimize retape
 
 %clean
 # cleanup 
@@ -161,6 +118,26 @@ rm -rf $RPM_BUILD_ROOT
 
 # ----------------------------------------------------------------------------
 %changelog
+* Thu Jul 08 2010 Brad Bell <bradbell at seanet dot com> - 20100101.4-1
+- Use new upstream source which has bug fix at revision
+- https://projects.coin-or.org/CppAD/changeset/1698
+
+* Wed Mar 31 2010 Brad Bell <bradbell at seanet dot com> - 20100101.2-1
+- Use new upstream source with bug fixes at revision
+- https://projects.coin-or.org/CppAD/changeset/1664
+- and remove patch from Wed Feb 10 2010. 
+
+* Wed Feb 10 2010 Brad Bell <bradbell at seanet dot com> - 20100101.0-2
+- Patch sources for bug fix between 20100101.0 and 20100101.1.
+- This should no longer be necessary once a new upstream source is loaded.
+
+* Sat Jan 01 2010 Brad Bell <bradbell at seanet dot com> - 20100101.0-1
+- Use new upstream source.
+- Remove out of date comment about where this spec file is maintained.
+- Remove patches that are no longer necessary in prep section.
+- Change calling sequence for correctness of speed tests (we do not run speed
+- tests, that requires a computer with no other processes running).
+
 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 20090303.0-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/cppad/EL-6/sources,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- sources	29 Mar 2009 10:49:24 -0000	1.6
+++ sources	8 Jul 2010 18:09:12 -0000	1.7
@@ -1 +1 @@
-d34e093cb4b59b87b73a1b38597e45ac  cppad-20090303.0.gpl.tgz
+ff39d739635985ee78c7572f6ec9b03c  cppad-20100101.4.gpl.tgz



More information about the scm-commits mailing list