Update upstream source from tag 'upstream/2021.00.00.1'
Update to upstream version '2021.00.00.1'
with Debian dir 19f58cb783db8f77c6c1d04f6d7e1311f0ae7e93
Barak A. Pearlmutter
3 years ago
24 | 24 | endif() |
25 | 25 | # |
26 | 26 | # cppad_version is used by version.sh to get the version number. |
27 | SET(cppad_version "20210000.0") | |
27 | SET(cppad_version "20210000.1") | |
28 | 28 | SET(cppad_url "https://coin-or.github.io/CppAD" ) |
29 | 29 | SET(cppad_description "Differentiation of C++ Algorithms" ) |
30 | 30 | # |
10 | 10 | # GNU General Public License, Version 2.0 or later. |
11 | 11 | # ----------------------------------------------------------------------------- |
12 | 12 | stable_version='20210000' # date at which this stable branch started |
13 | release='0' # first release for each stable version is 0 | |
13 | release='1' # first release for each stable version is 0 | |
14 | 14 | # ----------------------------------------------------------------------------- |
15 | 15 | # bash function that echos and executes a command |
16 | 16 | echo_eval() { |
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.69 for cppad 20210000.0. | |
2 | # Generated by GNU Autoconf 2.69 for cppad 20210000.1. | |
3 | 3 | # |
4 | 4 | # Report bugs to <cppad@list.coin-or.org>. |
5 | 5 | # |
578 | 578 | # Identity of this package. |
579 | 579 | PACKAGE_NAME='cppad' |
580 | 580 | PACKAGE_TARNAME='cppad' |
581 | PACKAGE_VERSION='20210000.0' | |
582 | PACKAGE_STRING='cppad 20210000.0' | |
581 | PACKAGE_VERSION='20210000.1' | |
582 | PACKAGE_STRING='cppad 20210000.1' | |
583 | 583 | PACKAGE_BUGREPORT='cppad@list.coin-or.org' |
584 | 584 | PACKAGE_URL='' |
585 | 585 | |
1351 | 1351 | # Omit some internal or obsolete options to make the list less imposing. |
1352 | 1352 | # This message is too long to be a string in the A/UX 3.1 sh. |
1353 | 1353 | cat <<_ACEOF |
1354 | \`configure' configures cppad 20210000.0 to adapt to many kinds of systems. | |
1354 | \`configure' configures cppad 20210000.1 to adapt to many kinds of systems. | |
1355 | 1355 | |
1356 | 1356 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1357 | 1357 | |
1421 | 1421 | |
1422 | 1422 | if test -n "$ac_init_help"; then |
1423 | 1423 | case $ac_init_help in |
1424 | short | recursive ) echo "Configuration of cppad 20210000.0:";; | |
1424 | short | recursive ) echo "Configuration of cppad 20210000.1:";; | |
1425 | 1425 | esac |
1426 | 1426 | cat <<\_ACEOF |
1427 | 1427 | |
1543 | 1543 | test -n "$ac_init_help" && exit $ac_status |
1544 | 1544 | if $ac_init_version; then |
1545 | 1545 | cat <<\_ACEOF |
1546 | cppad configure 20210000.0 | |
1546 | cppad configure 20210000.1 | |
1547 | 1547 | generated by GNU Autoconf 2.69 |
1548 | 1548 | |
1549 | 1549 | Copyright (C) 2012 Free Software Foundation, Inc. |
1916 | 1916 | This file contains any messages produced by compilers while |
1917 | 1917 | running configure, to aid debugging if configure makes a mistake. |
1918 | 1918 | |
1919 | It was created by cppad $as_me 20210000.0, which was | |
1919 | It was created by cppad $as_me 20210000.1, which was | |
1920 | 1920 | generated by GNU Autoconf 2.69. Invocation command line was |
1921 | 1921 | |
1922 | 1922 | $ $0 $@ |
2806 | 2806 | |
2807 | 2807 | # Define the identity of the package. |
2808 | 2808 | PACKAGE='cppad' |
2809 | VERSION='20210000.0' | |
2809 | VERSION='20210000.1' | |
2810 | 2810 | |
2811 | 2811 | |
2812 | 2812 | cat >>confdefs.h <<_ACEOF |
7648 | 7648 | # report actual input values of CONFIG_FILES etc. instead of their |
7649 | 7649 | # values after options handling. |
7650 | 7650 | ac_log=" |
7651 | This file was extended by cppad $as_me 20210000.0, which was | |
7651 | This file was extended by cppad $as_me 20210000.1, which was | |
7652 | 7652 | generated by GNU Autoconf 2.69. Invocation command line was |
7653 | 7653 | |
7654 | 7654 | CONFIG_FILES = $CONFIG_FILES |
7705 | 7705 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
7706 | 7706 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
7707 | 7707 | ac_cs_version="\\ |
7708 | cppad config.status 20210000.0 | |
7708 | cppad config.status 20210000.1 | |
7709 | 7709 | configured by $0, generated by GNU Autoconf 2.69, |
7710 | 7710 | with options \\"\$ac_cs_config\\" |
7711 | 7711 |
10 | 10 | # ----------------------------------------------------------------------------- |
11 | 11 | dnl Process this file with autoconf to produce a configure script. |
12 | 12 | dnl package version bug-report |
13 | AC_INIT([cppad], [20210000.0], [cppad@list.coin-or.org]) | |
13 | AC_INIT([cppad], [20210000.1], [cppad@list.coin-or.org]) | |
14 | 14 | AM_SILENT_RULES([no]) |
15 | 15 | |
16 | 16 | dnl By defalut disable maintainer mode when running configure; |
23 | 23 | json_lexer.cpp \ |
24 | 24 | cpp_graph_op.cpp \ |
25 | 25 | json_parser.cpp \ |
26 | json_writer.cpp \ | |
27 | code_gen_fun.cpp | |
26 | json_writer.cpp | |
27 | ||
28 | # autotools version of install does not support CppADCodeGen but need source | |
29 | # here so that bin/check_makefile.sh knows not using it is OK. | |
30 | # code_gen_fun.cpp |
134 | 134 | libcppad_lib_a_LIBADD = |
135 | 135 | am_libcppad_lib_a_OBJECTS = cppad_colpack.$(OBJEXT) \ |
136 | 136 | json_lexer.$(OBJEXT) cpp_graph_op.$(OBJEXT) \ |
137 | json_parser.$(OBJEXT) json_writer.$(OBJEXT) \ | |
138 | code_gen_fun.$(OBJEXT) | |
137 | json_parser.$(OBJEXT) json_writer.$(OBJEXT) | |
139 | 138 | libcppad_lib_a_OBJECTS = $(am_libcppad_lib_a_OBJECTS) |
140 | 139 | AM_V_P = $(am__v_P_@AM_V@) |
141 | 140 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) |
152 | 151 | DEFAULT_INCLUDES = |
153 | 152 | depcomp = $(SHELL) $(top_srcdir)/depcomp |
154 | 153 | am__maybe_remake_depfiles = depfiles |
155 | am__depfiles_remade = ./$(DEPDIR)/code_gen_fun.Po \ | |
156 | ./$(DEPDIR)/cpp_graph_op.Po ./$(DEPDIR)/cppad_colpack.Po \ | |
157 | ./$(DEPDIR)/json_lexer.Po ./$(DEPDIR)/json_parser.Po \ | |
158 | ./$(DEPDIR)/json_writer.Po | |
154 | am__depfiles_remade = ./$(DEPDIR)/cpp_graph_op.Po \ | |
155 | ./$(DEPDIR)/cppad_colpack.Po ./$(DEPDIR)/json_lexer.Po \ | |
156 | ./$(DEPDIR)/json_parser.Po ./$(DEPDIR)/json_writer.Po | |
159 | 157 | am__mv = mv -f |
160 | 158 | CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ |
161 | 159 | $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) |
384 | 382 | json_lexer.cpp \ |
385 | 383 | cpp_graph_op.cpp \ |
386 | 384 | json_parser.cpp \ |
387 | json_writer.cpp \ | |
388 | code_gen_fun.cpp | |
385 | json_writer.cpp | |
389 | 386 | |
390 | 387 | all: all-am |
391 | 388 | |
463 | 460 | distclean-compile: |
464 | 461 | -rm -f *.tab.c |
465 | 462 | |
466 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/code_gen_fun.Po@am__quote@ # am--include-marker | |
467 | 463 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpp_graph_op.Po@am__quote@ # am--include-marker |
468 | 464 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cppad_colpack.Po@am__quote@ # am--include-marker |
469 | 465 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/json_lexer.Po@am__quote@ # am--include-marker |
619 | 615 | clean-am: clean-generic clean-libLIBRARIES mostlyclean-am |
620 | 616 | |
621 | 617 | distclean: distclean-am |
622 | -rm -f ./$(DEPDIR)/code_gen_fun.Po | |
623 | -rm -f ./$(DEPDIR)/cpp_graph_op.Po | |
618 | -rm -f ./$(DEPDIR)/cpp_graph_op.Po | |
624 | 619 | -rm -f ./$(DEPDIR)/cppad_colpack.Po |
625 | 620 | -rm -f ./$(DEPDIR)/json_lexer.Po |
626 | 621 | -rm -f ./$(DEPDIR)/json_parser.Po |
670 | 665 | installcheck-am: |
671 | 666 | |
672 | 667 | maintainer-clean: maintainer-clean-am |
673 | -rm -f ./$(DEPDIR)/code_gen_fun.Po | |
674 | -rm -f ./$(DEPDIR)/cpp_graph_op.Po | |
668 | -rm -f ./$(DEPDIR)/cpp_graph_op.Po | |
675 | 669 | -rm -f ./$(DEPDIR)/cppad_colpack.Po |
676 | 670 | -rm -f ./$(DEPDIR)/json_lexer.Po |
677 | 671 | -rm -f ./$(DEPDIR)/json_parser.Po |
712 | 706 | .PRECIOUS: makefile |
713 | 707 | |
714 | 708 | |
709 | # autotools version of install does not support CppADCodeGen but need source | |
710 | # here so that bin/check_makefile.sh knows not using it is OK. | |
711 | # code_gen_fun.cpp | |
712 | ||
715 | 713 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
716 | 714 | # Otherwise a system limit (for SysV at least) may be exceeded. |
717 | 715 | .NOEXPORT: |
135 | 135 | result.tape_id_ = tape_id; |
136 | 136 | result.ad_type_ = variable_enum; |
137 | 137 | } |
138 | else if( IdenticalZero( y.value_ ) ) | |
138 | else if( ( ! dyn_y ) & IdenticalZero( y.value_ ) ) | |
139 | 139 | { // result = variable * 0 |
140 | 140 | } |
141 | else if( IdenticalOne( y.value_ ) ) | |
141 | else if( ( ! dyn_y ) & IdenticalOne( y.value_ ) ) | |
142 | 142 | { // result = variable * 1 |
143 | 143 | result.make_variable(x.tape_id_, x.taddr_); |
144 | 144 | } |
162 | 162 | } |
163 | 163 | } |
164 | 164 | else if( var_y ) |
165 | { if( IdenticalZero(x.value_) ) | |
165 | { if( ( ! dyn_x ) & IdenticalZero(x.value_) ) | |
166 | 166 | { // result = 0 * variable |
167 | 167 | } |
168 | else if( IdenticalOne( x.value_ ) ) | |
168 | else if( ( ! dyn_x ) & IdenticalOne( x.value_ ) ) | |
169 | 169 | { // result = 1 * variable |
170 | 170 | result.make_variable(y.tape_id_, y.taddr_); |
171 | 171 | } |
64 | 64 | |
65 | 65 | $comment bin/version assumes that : follows cppad version number here$$ |
66 | 66 | $section |
67 | cppad-20210000.0: A C++ Algorithmic Differentiation Package$$ | |
67 | cppad-20210000.1: A C++ Algorithmic Differentiation Package$$ | |
68 | 68 | |
69 | 69 | $comment =================================================================== $$ |
70 | 70 | $align middle$$ |