Changeset 3979


Ignore:
Timestamp:
Nov 17, 2017 5:19:47 AM (21 months ago)
Author:
bradbell
Message:

merge to branch: trunk
from repository: https://github.com/coin-or/CppAD
start hash code: 92d064abe9fd79c5dbfb34fa7ae42edc214f24f9
end hash code: 8c00eba5a1d917cdec656feee262fccc40ab9221

commit 8c00eba5a1d917cdec656feee262fccc40ab9221
Author: Brad Bell <bradbell@…>
Date: Fri Nov 17 03:11:53 2017 -0700

  1. Advance to newer version of autotools.
  2. Fix problem with autotools build (subgraph_sparsity missing). check_copyright.sh: fix files automatically generated by autotools.

commit 0ae9d6f849f90cb34869a9fc5e65938c20c690ea
Author: Brad Bell <bradbell@…>
Date: Wed Nov 15 22:23:42 2017 -0700

whats_new_17.omh: fix user documentation cross reference.

commit 79a697abea4f0bc3d665f7cc0a20beb89868facd
Author: Brad Bell <bradbell@…>
Date: Wed Nov 15 21:50:27 2017 -0700

CMakeLists.txt: make building ipopt_solve dir depend on ipopt_prefix.

commit 02d1f4cd6026b27659fd573eaa37670aa96954b0
Author: Brad Bell <bradbell@…>
Date: Wed Nov 15 04:33:12 2017 -0700

Advance to cppad-20171115.

commit 7e9ae2cb7f9dadd698cd91c49ce36b77df2e4e7f
Author: Brad Bell <bradbell@…>
Date: Wed Nov 15 04:32:04 2017 -0700

Add wish list items for using atomic sparsity patterns in subgraph_sparsity.

Location:
trunk
Files:
18 edited

Legend:

Unmodified
Added
Removed
  • trunk/CMakeLists.txt

    r3978 r3979  
    2525#
    2626# cppad_version is used by set_version.sh to get the version number.
    27 SET(cppad_version      "20171113" )
     27SET(cppad_version      "20171115" )
    2828SET(cppad_url          "http://www.coin-or.org/CppAD" )
    2929SET(cppad_description  "Differentiation of C++ Algorithms" )
  • trunk/authors

    r3978 r3979  
    22             ===========================================
    33
    4 To date, 2017-11-13, Bradley M. Bell is the sole author of CppAD.
     4To date, 2017-11-15, Bradley M. Bell is the sole author of CppAD.
    55While Bradley M. Bell worked for the University of Washington during
    66the development of CppAD, the following are also true:
  • trunk/bin/check_copyright.sh

    r3920 r3979  
    3030                        sed -e '/^makefile.in$/d' \
    3131                                -e '/^.gitignore$/d' \
    32                                 -e '/\/makefile.in$/d' \
     32                                -e '/^authors$/d' \
     33                                -e '/^readme.md$/d' \
     34                                -e '/^COPYING$/d' \
     35                                -e '/^compile$/d' \
     36                                -e '/^config.guess$/d' \
     37                                -e '/^config.sub$/d' \
     38                                -e '/^configure$/d' \
    3339                                -e '/\/check_copyright.sh$/d' \
    34                                 -e '/authors/d' \
    35                                 -e '/readme.md/d' \
    36                                 -e '/COPYING/d' |
     40                                -e '/\/makefile.in$/d' |
    3741                sort -u`
    3842cat << EOF > check_copyright.1.$$
  • trunk/config.guess

    r3705 r3979  
    11#! /bin/sh
    22# Attempt to guess a canonical system name.
    3 #   Copyright 1992-2015 Free Software Foundation, Inc.
    4 
    5 timestamp='2015-01-01'
     3#   Copyright 1992-2016 Free Software Foundation, Inc.
     4
     5timestamp='2016-10-02'
    66
    77# This file is free software; you can redistribute it and/or modify it
     
    2828#
    2929# You can get the latest version of this script from:
    30 # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
     30# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
    3131#
    3232# Please send patches to <config-patches@gnu.org>.
     
    5151
    5252Originally written by Per Bothner.
    53 Copyright 1992-2015 Free Software Foundation, Inc.
     53Copyright 1992-2016 Free Software Foundation, Inc.
    5454
    5555This is free software; see the source for copying conditions.  There is NO
     
    169169        # portion of the name.  We always set it to "unknown".
    170170        sysctl="sysctl -n hw.machine_arch"
    171         UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
    172             /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
     171        UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \
     172            /sbin/$sysctl 2>/dev/null || \
     173            /usr/sbin/$sysctl 2>/dev/null || \
     174            echo unknown)`
    173175        case "${UNAME_MACHINE_ARCH}" in
    174176            armeb) machine=armeb-unknown ;;
     
    177179            sh3eb) machine=sh-unknown ;;
    178180            sh5el) machine=sh5le-unknown ;;
     181            earmv*)
     182                arch=`echo ${UNAME_MACHINE_ARCH} | sed -e 's,^e\(armv[0-9]\).*$,\1,'`
     183                endian=`echo ${UNAME_MACHINE_ARCH} | sed -ne 's,^.*\(eb\)$,\1,p'`
     184                machine=${arch}${endian}-unknown
     185                ;;
    179186            *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
    180187        esac
    181188        # The Operating System including object format, if it has switched
    182         # to ELF recently, or will in the future.
     189        # to ELF recently (or will in the future) and ABI.
    183190        case "${UNAME_MACHINE_ARCH}" in
     191            earm*)
     192                os=netbsdelf
     193                ;;
    184194            arm*|i386|m68k|ns32k|sh3*|sparc|vax)
    185195                eval $set_cc_for_build
     
    198208                ;;
    199209        esac
     210        # Determine ABI tags.
     211        case "${UNAME_MACHINE_ARCH}" in
     212            earm*)
     213                expr='s/^earmv[0-9]/-eabi/;s/eb$//'
     214                abi=`echo ${UNAME_MACHINE_ARCH} | sed -e "$expr"`
     215                ;;
     216        esac
    200217        # The OS release
    201218        # Debian GNU/NetBSD machines have a different userland, and
     
    208225                ;;
    209226            *)
    210                 release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
     227                release=`echo ${UNAME_RELEASE} | sed -e 's/[-_].*//' | cut -d. -f1,2`
    211228                ;;
    212229        esac
     
    214231        # contains redundant information, the shorter form:
    215232        # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
    216         echo "${machine}-${os}${release}"
     233        echo "${machine}-${os}${release}${abi}"
    217234        exit ;;
    218235    *:Bitrig:*:*)
     
    224241        echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
    225242        exit ;;
     243    *:LibertyBSD:*:*)
     244        UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'`
     245        echo ${UNAME_MACHINE_ARCH}-unknown-libertybsd${UNAME_RELEASE}
     246        exit ;;
    226247    *:ekkoBSD:*:*)
    227248        echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
     
    235256    *:MirBSD:*:*)
    236257        echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
     258        exit ;;
     259    *:Sortix:*:*)
     260        echo ${UNAME_MACHINE}-unknown-sortix
    237261        exit ;;
    238262    alpha:OSF1:*:*)
     
    252276        case "$ALPHA_CPU_TYPE" in
    253277            "EV4 (21064)")
    254                 UNAME_MACHINE="alpha" ;;
     278                UNAME_MACHINE=alpha ;;
    255279            "EV4.5 (21064)")
    256                 UNAME_MACHINE="alpha" ;;
     280                UNAME_MACHINE=alpha ;;
    257281            "LCA4 (21066/21068)")
    258                 UNAME_MACHINE="alpha" ;;
     282                UNAME_MACHINE=alpha ;;
    259283            "EV5 (21164)")
    260                 UNAME_MACHINE="alphaev5" ;;
     284                UNAME_MACHINE=alphaev5 ;;
    261285            "EV5.6 (21164A)")
    262                 UNAME_MACHINE="alphaev56" ;;
     286                UNAME_MACHINE=alphaev56 ;;
    263287            "EV5.6 (21164PC)")
    264                 UNAME_MACHINE="alphapca56" ;;
     288                UNAME_MACHINE=alphapca56 ;;
    265289            "EV5.7 (21164PC)")
    266                 UNAME_MACHINE="alphapca57" ;;
     290                UNAME_MACHINE=alphapca57 ;;
    267291            "EV6 (21264)")
    268                 UNAME_MACHINE="alphaev6" ;;
     292                UNAME_MACHINE=alphaev6 ;;
    269293            "EV6.7 (21264A)")
    270                 UNAME_MACHINE="alphaev67" ;;
     294                UNAME_MACHINE=alphaev67 ;;
    271295            "EV6.8CB (21264C)")
    272                 UNAME_MACHINE="alphaev68" ;;
     296                UNAME_MACHINE=alphaev68 ;;
    273297            "EV6.8AL (21264B)")
    274                 UNAME_MACHINE="alphaev68" ;;
     298                UNAME_MACHINE=alphaev68 ;;
    275299            "EV6.8CX (21264D)")
    276                 UNAME_MACHINE="alphaev68" ;;
     300                UNAME_MACHINE=alphaev68 ;;
    277301            "EV6.9A (21264/EV69A)")
    278                 UNAME_MACHINE="alphaev69" ;;
     302                UNAME_MACHINE=alphaev69 ;;
    279303            "EV7 (21364)")
    280                 UNAME_MACHINE="alphaev7" ;;
     304                UNAME_MACHINE=alphaev7 ;;
    281305            "EV7.9 (21364A)")
    282                 UNAME_MACHINE="alphaev79" ;;
     306                UNAME_MACHINE=alphaev79 ;;
    283307        esac
    284308        # A Pn.n version is a patched version.
     
    287311        # A Xn.n version is an unreleased experimental baselevel.
    288312        # 1.2 uses "1.2" for uname -r.
    289         echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
     313        echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
    290314        # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
    291315        exitcode=$?
     
    360384    i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
    361385        eval $set_cc_for_build
    362         SUN_ARCH="i386"
     386        SUN_ARCH=i386
    363387        # If there is a compiler, see if it is configured for 64-bit objects.
    364388        # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
    365389        # This test works for both compilers.
    366         if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
     390        if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
    367391            if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
    368                 (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
     392                (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
    369393                grep IS_64BIT_ARCH >/dev/null
    370394            then
    371                 SUN_ARCH="x86_64"
     395                SUN_ARCH=x86_64
    372396            fi
    373397        fi
     
    394418    sun*:*:4.2BSD:*)
    395419        UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
    396         test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
     420        test "x${UNAME_RELEASE}" = x && UNAME_RELEASE=3
    397421        case "`/bin/arch`" in
    398422            sun3)
     
    619643                    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
    620644                    case "${sc_cpu_version}" in
    621                       523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
    622                       528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
     645                      523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0
     646                      528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1
    623647                      532)                      # CPU_PA_RISC2_0
    624648                        case "${sc_kernel_bits}" in
    625                           32) HP_ARCH="hppa2.0n" ;;
    626                           64) HP_ARCH="hppa2.0w" ;;
    627                           '') HP_ARCH="hppa2.0" ;;   # HP-UX 10.20
     649                          32) HP_ARCH=hppa2.0n ;;
     650                          64) HP_ARCH=hppa2.0w ;;
     651                          '') HP_ARCH=hppa2.0 ;;   # HP-UX 10.20
    628652                        esac ;;
    629653                    esac
     
    664688                }
    665689EOF
    666                     (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
     690                    (CCOPTS="" $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
    667691                    test -z "$HP_ARCH" && HP_ARCH=hppa
    668692                fi ;;
    669693        esac
    670         if [ ${HP_ARCH} = "hppa2.0w" ]
     694        if [ ${HP_ARCH} = hppa2.0w ]
    671695        then
    672696            eval $set_cc_for_build
     
    681705            # => hppa64-hp-hpux11.23
    682706
    683             if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
     707            if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) |
    684708                grep -q __LP64__
    685709            then
    686                 HP_ARCH="hppa2.0w"
     710                HP_ARCH=hppa2.0w
    687711            else
    688                 HP_ARCH="hppa64"
     712                HP_ARCH=hppa64
    689713            fi
    690714        fi
     
    791815        exit ;;
    792816    F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
    793         FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
    794         FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
     817        FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
     818        FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
    795819        FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
    796820        echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
    797821        exit ;;
    798822    5000:UNIX_System_V:4.*:*)
    799         FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
    800         FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
     823        FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
     824        FUJITSU_REL=`echo ${UNAME_RELEASE} | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'`
    801825        echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
    802826        exit ;;
     
    880904    *:GNU/*:*:*)
    881905        # other systems with GNU libc and userland
    882         echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
     906        echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
    883907        exit ;;
    884908    i*86:Minix:*:*)
     
    903927        esac
    904928        objdump --private-headers /bin/sh | grep -q ld.so.1
    905         if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
     929        if test "$?" = 0 ; then LIBC=gnulibc1 ; fi
    906930        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
    907931        exit ;;
     
    934958        echo ${UNAME_MACHINE}-axis-linux-${LIBC}
    935959        exit ;;
     960    e2k:Linux:*:*)
     961        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
     962        exit ;;
    936963    frv:Linux:*:*)
    937964        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
     
    944971        exit ;;
    945972    ia64:Linux:*:*)
     973        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
     974        exit ;;
     975    k1om:Linux:*:*)
    946976        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
    947977        exit ;;
     
    9711001        test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
    9721002        ;;
     1003    mips64el:Linux:*:*)
     1004        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
     1005        exit ;;
    9731006    openrisc*:Linux:*:*)
    9741007        echo or1k-unknown-linux-${LIBC}
     
    10031036        echo powerpcle-unknown-linux-${LIBC}
    10041037        exit ;;
     1038    riscv32:Linux:*:* | riscv64:Linux:*:*)
     1039        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
     1040        exit ;;
    10051041    s390:Linux:*:* | s390x:Linux:*:*)
    10061042        echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
     
    10221058        exit ;;
    10231059    x86_64:Linux:*:*)
    1024         echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
     1060        echo ${UNAME_MACHINE}-pc-linux-${LIBC}
    10251061        exit ;;
    10261062    xtensa*:Linux:*:*)
     
    11011137        # the processor, so we play safe by assuming i586.
    11021138        # Note: whatever this is, it MUST be the same as what config.sub
    1103         # prints for the "djgpp" host, or else GDB configury will decide that
     1139        # prints for the "djgpp" host, or else GDB configure will decide that
    11041140        # this is a cross-build.
    11051141        echo i586-pc-msdosdjgpp
     
    12501286        echo sx8r-nec-superux${UNAME_RELEASE}
    12511287        exit ;;
     1288    SX-ACE:SUPER-UX:*:*)
     1289        echo sxace-nec-superux${UNAME_RELEASE}
     1290        exit ;;
    12521291    Power*:Rhapsody:*:*)
    12531292        echo powerpc-apple-rhapsody${UNAME_RELEASE}
     
    12631302        fi
    12641303        if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then
    1265             if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
     1304            if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
    12661305                if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
    1267                     (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
     1306                    (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
    12681307                    grep IS_64BIT_ARCH >/dev/null
    12691308                then
     
    12871326    *:procnto*:*:* | *:QNX:[0123456789]*:*)
    12881327        UNAME_PROCESSOR=`uname -p`
    1289         if test "$UNAME_PROCESSOR" = "x86"; then
     1328        if test "$UNAME_PROCESSOR" = x86; then
    12901329                UNAME_PROCESSOR=i386
    12911330                UNAME_MACHINE=pc
     
    13181357        # is converted to i386 for consistency with other x86
    13191358        # operating systems.
    1320         if test "$cputype" = "386"; then
     1359        if test "$cputype" = 386; then
    13211360            UNAME_MACHINE=i386
    13221361        else
     
    13601399        exit ;;
    13611400    i*86:skyos:*:*)
    1362         echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
     1401        echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE} | sed -e 's/ .*$//'`
    13631402        exit ;;
    13641403    i*86:rdos:*:*)
     
    13711410        echo ${UNAME_MACHINE}-unknown-esx
    13721411        exit ;;
     1412    amd64:Isilon\ OneFS:*:*)
     1413        echo x86_64-unknown-onefs
     1414        exit ;;
    13731415esac
    13741416
     
    13761418$0: unable to guess system type
    13771419
    1378 This script, last modified $timestamp, has failed to recognize
    1379 the operating system you are using. It is advised that you
    1380 download the most up to date version of the config scripts from
    1381 
    1382   http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
     1420This script (version $timestamp), has failed to recognize the
     1421operating system you are using. If your script is old, overwrite
     1422config.guess and config.sub with the latest versions from:
     1423
     1424  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
    13831425and
    1384   http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
    1385 
    1386 If the version you run ($0) is already up to date, please
    1387 send the following data and any information you think might be
    1388 pertinent to <config-patches@gnu.org> in order to provide the needed
    1389 information to handle your system.
     1426  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
     1427
     1428If $0 has already been updated, send the following data and any
     1429information you think might be pertinent to config-patches@gnu.org to
     1430provide the necessary information to handle your system.
    13901431
    13911432config.guess timestamp = $timestamp
  • trunk/config.sub

    r3705 r3979  
    11#! /bin/sh
    22# Configuration validation subroutine script.
    3 #   Copyright 1992-2015 Free Software Foundation, Inc.
    4 
    5 timestamp='2015-01-01'
     3#   Copyright 1992-2016 Free Software Foundation, Inc.
     4
     5timestamp='2016-09-05'
    66
    77# This file is free software; you can redistribute it and/or modify it
     
    3434
    3535# You can get the latest version of this script from:
    36 # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
     36# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
    3737
    3838# This file is supposed to be the same for all GNU packages
     
    5454
    5555usage="\
    56 Usage: $0 [OPTION] CPU-MFR-OPSYS
    57        $0 [OPTION] ALIAS
     56Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS
    5857
    5958Canonicalize a configuration name.
     
    6968GNU config.sub ($timestamp)
    7069
    71 Copyright 1992-2015 Free Software Foundation, Inc.
     70Copyright 1992-2016 Free Software Foundation, Inc.
    7271
    7372This is free software; see the source for copying conditions.  There is NO
     
    118117  nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
    119118  linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
    120   knetbsd*-gnu* | netbsd*-gnu* | \
    121   kopensolaris*-gnu* | \
     119  knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \
     120  kopensolaris*-gnu* | cloudabi*-eabi* | \
    122121  storm-chaos* | os2-emx* | rtmk-nova*)
    123122    os=-$maybe_os
     
    256255        | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
    257256        | avr | avr32 \
     257        | ba \
    258258        | be32 | be64 \
    259259        | bfin \
    260260        | c4x | c8051 | clipper \
    261261        | d10v | d30v | dlx | dsp16xx \
    262         | epiphany \
     262        | e2k | epiphany \
    263263        | fido | fr30 | frv | ft32 \
    264264        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
     
    306306        | rl78 | rx \
    307307        | score \
    308         | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
     308        | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
    309309        | sh64 | sh64le \
    310310        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
     
    377377        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
    378378        | avr-* | avr32-* \
     379        | ba-* \
    379380        | be32-* | be64-* \
    380381        | bfin-* | bs2000-* \
     
    382383        | c8051-* | clipper-* | craynv-* | cydra-* \
    383384        | d10v-* | d30v-* | dlx-* \
    384         | elxsi-* \
     385        | e2k-* | elxsi-* \
    385386        | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
    386387        | h8300-* | h8500-* \
     
    429430        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
    430431        | pyramid-* \
     432        | riscv32-* | riscv64-* \
    431433        | rl78-* | romp-* | rs6000-* | rx-* \
    432434        | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
     
    434436        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
    435437        | sparclite-* \
    436         | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
     438        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \
    437439        | tahoe-* \
    438440        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
     
    519521                os=-aros
    520522                ;;
     523        asmjs)
     524                basic_machine=asmjs-unknown
     525                ;;
    521526        aux)
    522527                basic_machine=m68k-apple
     
    638643                basic_machine=m68k-bull
    639644                os=-sysv3
     645                ;;
     646        e500v[12])
     647                basic_machine=powerpc-unknown
     648                os=$os"spe"
     649                ;;
     650        e500v[12]-*)
     651                basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
     652                os=$os"spe"
    640653                ;;
    641654        ebmon29k)
     
    10181031                basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
    10191032                ;;
    1020         ppcle | powerpclittle | ppc-le | powerpc-little)
     1033        ppcle | powerpclittle)
    10211034                basic_machine=powerpcle-unknown
    10221035                ;;
     
    10281041        ppc64-* | ppc64p7-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
    10291042                ;;
    1030         ppc64le | powerpc64little | ppc64-le | powerpc64-little)
     1043        ppc64le | powerpc64little)
    10311044                basic_machine=powerpc64le-unknown
    10321045                ;;
     
    13741387              | -sym* | -kopensolaris* | -plan9* \
    13751388              | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
    1376               | -aos* | -aros* \
     1389              | -aos* | -aros* | -cloudabi* | -sortix* \
    13771390              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
    13781391              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
    13791392              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
    1380               | -bitrig* | -openbsd* | -solidbsd* \
     1393              | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \
    13811394              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
    13821395              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
     
    13851398              | -chorusos* | -chorusrdb* | -cegcc* \
    13861399              | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
    1387               | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
     1400              | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
    13881401              | -linux-newlib* | -linux-musl* | -linux-uclibc* \
    13891402              | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
     
    13941407              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
    13951408              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
    1396               | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*)
     1409              | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
     1410              | -onefs* | -tirtos* | -phoenix*)
    13971411        # Remember, each alternative MUST END IN *, to match a version number.
    13981412                ;;
     
    15261540        -nacl*)
    15271541                ;;
     1542        -ios)
     1543                ;;
    15281544        -none)
    15291545                ;;
  • trunk/configure

    r3978 r3979  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.69 for cppad 20171113.
     3# Generated by GNU Autoconf 2.69 for cppad 20171115.
    44#
    55# Report bugs to <cppad@list.coin-or.org>.
     
    580580PACKAGE_NAME='cppad'
    581581PACKAGE_TARNAME='cppad'
    582 PACKAGE_VERSION='20171113'
    583 PACKAGE_STRING='cppad 20171113'
     582PACKAGE_VERSION='20171115'
     583PACKAGE_STRING='cppad 20171115'
    584584PACKAGE_BUGREPORT='cppad@list.coin-or.org'
    585585PACKAGE_URL=''
     
    13751375  # This message is too long to be a string in the A/UX 3.1 sh.
    13761376  cat <<_ACEOF
    1377 \`configure' configures cppad 20171113 to adapt to many kinds of systems.
     1377\`configure' configures cppad 20171115 to adapt to many kinds of systems.
    13781378
    13791379Usage: $0 [OPTION]... [VAR=VALUE]...
     
    14451445if test -n "$ac_init_help"; then
    14461446  case $ac_init_help in
    1447      short | recursive ) echo "Configuration of cppad 20171113:";;
     1447     short | recursive ) echo "Configuration of cppad 20171115:";;
    14481448   esac
    14491449  cat <<\_ACEOF
     
    15791579if $ac_init_version; then
    15801580  cat <<\_ACEOF
    1581 cppad configure 20171113
     1581cppad configure 20171115
    15821582generated by GNU Autoconf 2.69
    15831583
     
    19521952running configure, to aid debugging if configure makes a mistake.
    19531953
    1954 It was created by cppad $as_me 20171113, which was
     1954It was created by cppad $as_me 20171115, which was
    19551955generated by GNU Autoconf 2.69.  Invocation command line was
    19561956
     
    28422842# Define the identity of the package.
    28432843 PACKAGE='cppad'
    2844  VERSION='20171113'
     2844 VERSION='20171115'
    28452845
    28462846
     
    78257825# values after options handling.
    78267826ac_log="
    7827 This file was extended by cppad $as_me 20171113, which was
     7827This file was extended by cppad $as_me 20171115, which was
    78287828generated by GNU Autoconf 2.69.  Invocation command line was
    78297829
     
    78827882ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
    78837883ac_cs_version="\\
    7884 cppad config.status 20171113
     7884cppad config.status 20171115
    78857885configured by $0, generated by GNU Autoconf 2.69,
    78867886  with options \\"\$ac_cs_config\\"
  • trunk/configure.ac

    r3978 r3979  
    1212dnl Process this file with autoconf to produce a configure script.
    1313dnl   package   version              bug-report
    14 AC_INIT([cppad], [20171113], [cppad@list.coin-or.org])
     14AC_INIT([cppad], [20171115], [cppad@list.coin-or.org])
    1515AM_SILENT_RULES([yes])
    1616
  • trunk/cppad/core/subgraph_sparsity.hpp

    r3978 r3979  
    4545$head Atomic Function$$
    4646The sparsity calculation for
    47 $cref/Atomic functions/atomic_afun/$$ that are in $icode f$$
    48 are not efficient. To be specific, each atomic function is considered
    49 one operation and all of its inputs depend on all of its outputs.
    50 This may be improved upon in the future.
     47$cref/atomic functions/atomic_afun/$$ in the $icode f$$ operation sequence
     48are not efficient. To be specific, each atomic function is treated as if
     49all of its outputs depend on all of its inputs.
     50This may be improved upon in the future; see the
     51$cref/subgraph atomic functions/wish_list/Subgraph Atomic Functions/$$
     52wish list item.
    5153
    5254$head BoolVector$$
  • trunk/cppad/local/rev_jac_subgraph.hpp

    r3978 r3979  
    145145        select_domain[ col_out[k] ] == true
    146146\endcode
     147
     148\par UserOp
     149All of the inputs and outputs for an atomic function call are considered
     150to be connected.
     1512DO: It would be good to use the sparsity patters for atomic function calls
     152to to make the sparsity pattern more efficient.
    147153*/
    148154
  • trunk/doc.omh

    r3978 r3979  
    9191$comment bin/version assumes that : follows cppad version number here$$
    9292$section
    93 cppad-20171113: A Package for Differentiation of C++ Algorithms
     93cppad-20171115: A Package for Differentiation of C++ Algorithms
    9494$$
    9595$mindex AD algorithmic differentiation automatic C++ algorithm derivative CppAD version cppad.hpp$$
  • trunk/example/CMakeLists.txt

    r3957 r3979  
    3131
    3232# ipopt_solve examples
    33 ADD_SUBDIRECTORY(ipopt_solve)
     33IF( cppad_has_ipopt)
     34        ADD_SUBDIRECTORY(ipopt_solve)
     35ENDIF( cppad_has_ipopt)
    3436
    3537# multi_thread examples
  • trunk/example/sparse/makefile.am

    r3945 r3979  
    4343        sparse_sub_hes.cpp \
    4444        sparsity_sub.cpp \
    45         sub_sparse_hes.cpp
     45        sub_sparse_hes.cpp \
     46        subgraph_sparsity.cpp
    4647#
    4748test: check
  • trunk/example/sparse/makefile.in

    r3973 r3979  
    109109        sparse_jac_for.$(OBJEXT) sparse_jacobian.$(OBJEXT) \
    110110        sparse_jac_rev.$(OBJEXT) sparse_sub_hes.$(OBJEXT) \
    111         sparsity_sub.$(OBJEXT) sub_sparse_hes.$(OBJEXT)
     111        sparsity_sub.$(OBJEXT) sub_sparse_hes.$(OBJEXT) \
     112        subgraph_sparsity.$(OBJEXT)
    112113sparse_OBJECTS = $(am_sparse_OBJECTS)
    113114sparse_LDADD = $(LDADD)
     
    375376        sparse_sub_hes.cpp \
    376377        sparsity_sub.cpp \
    377         sub_sparse_hes.cpp
     378        sub_sparse_hes.cpp \
     379        subgraph_sparsity.cpp
    378380
    379381all: all-am
     
    448450@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sparsity_sub.Po@am__quote@
    449451@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sub_sparse_hes.Po@am__quote@
     452@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/subgraph_sparsity.Po@am__quote@
    450453
    451454.cpp.o:
  • trunk/makefile.in

    r3973 r3979  
    585585        cppad/core/sub_eq.hpp \
    586586        cppad/core/sub.hpp \
     587        cppad/core/subgraph_sparsity.hpp \
    587588        cppad/core/tape_link.hpp \
    588589        cppad/core/test_vector.hpp \
     
    648649        cppad/local/optimize/csum_stacks.hpp \
    649650        cppad/local/optimize/csum_variable.hpp \
    650         cppad/local/optimize/get_op_info.hpp \
     651        cppad/local/optimize/get_opt_op_info.hpp \
    651652        cppad/local/optimize/hash_code.hpp \
    652653        cppad/local/optimize/old2new.hpp \
    653         cppad/local/optimize/op_info.hpp \
     654        cppad/local/optimize/opt_op_info.hpp \
    654655        cppad/local/optimize/optimize_run.hpp \
    655656        cppad/local/optimize/record_csum.hpp \
     
    668669        cppad/local/reverse_sweep.hpp \
    669670        cppad/local/rev_hes_sweep.hpp \
     671        cppad/local/rev_jac_subgraph.hpp \
    670672        cppad/local/rev_jac_sweep.hpp \
    671673        cppad/local/set_get_in_parallel.hpp \
  • trunk/omh/appendix/whats_new/whats_new_17.omh

    r3978 r3979  
    5656$cref/debug_which/speed/debug_which/$$
    5757
     58$head 11-15$$
     59$list number$$
     60Add wish list item for $cref subgraph_sparsity$$ when
     61$cref/atomic functions/wish_list/Subgraph Atomic Functions/$$
     62are present.
     63$lnext
     64Fix $cref cmake_check$$ when $cref ipopt_prefix$$ is not present on the
     65$cref cmake$$ command line
     66(make was trying to build some of the ipopt tests).
     67$lend
     68
    5869$head 11-13$$
    5970$list number$$
  • trunk/omh/appendix/wish_list.omh

    r3976 r3979  
    1111$begin wish_list$$
    1212$spell
     13        subgraph
    1314        Recomputation
    1415        optimizer
     
    3637$section The CppAD Wish List$$
    3738
     39$head Subgraph Atomic Functions$$
     40The $cref subgraph_sparsity$$ calculation treats
     41each atomic function call as if
     42all of its outputs depend on all of its inputs;
     43see $cref/atomic function/subgraph_sparsity/Atomic Function/$$.
     44These sparsity patterns could be made more efficient
     45(could have fewer possibly non-zeros entries)
     46by using the sparsity patterns for the atomic functions.
     47
     48
    3849$head check_finite$$
    3950$list number$$
  • trunk/omh/install/download.omh

    r3978 r3979  
    9696$rnext
    9797current  $cnext EPL $cnext $href%
    98 http://www.coin-or.org/download/source/CppAD/cppad-20171113.epl.tgz%
    99 cppad-20171113.epl.tgz%$$
     98http://www.coin-or.org/download/source/CppAD/cppad-20171115.epl.tgz%
     99cppad-20171115.epl.tgz%$$
    100100$rnext
    101101current  $cnext GPL $cnext $href%
    102 http://www.coin-or.org/download/source/CppAD/cppad-20171113.gpl.tgz%
    103 cppad-20171113.gpl.tgz%$$
     102http://www.coin-or.org/download/source/CppAD/cppad-20171115.gpl.tgz%
     103cppad-20171115.gpl.tgz%$$
    104104$tend
    105105
  • trunk/test_more/general/makefile.in

    r3973 r3979  
    133133        sin_cos.cpp sinh.cpp sparse_hessian.cpp sparse_jacobian.cpp \
    134134        sparse_sub_hes.cpp sparse_vec_ad.cpp sqrt.cpp std_math.cpp \
    135         sub.cpp sub_eq.cpp sub_zero.cpp tan.cpp test_vector.cpp \
    136         to_string.cpp value.cpp vec_ad.cpp vec_ad_par.cpp \
    137         vec_unary.cpp
     135        sub.cpp sub_eq.cpp sub_zero.cpp subgraph_sparsity.cpp tan.cpp \
     136        test_vector.cpp to_string.cpp value.cpp vec_ad.cpp \
     137        vec_ad_par.cpp vec_unary.cpp
    138138@CppAD_ADOLC_TRUE@am__objects_1 = base_adolc.$(OBJEXT)
    139139@CppAD_IPOPT_TRUE@am__objects_2 = ipopt_solve.$(OBJEXT)
     
    172172        sparse_vec_ad.$(OBJEXT) sqrt.$(OBJEXT) std_math.$(OBJEXT) \
    173173        sub.$(OBJEXT) sub_eq.$(OBJEXT) sub_zero.$(OBJEXT) \
    174         tan.$(OBJEXT) test_vector.$(OBJEXT) to_string.$(OBJEXT) \
    175         value.$(OBJEXT) vec_ad.$(OBJEXT) vec_ad_par.$(OBJEXT) \
    176         vec_unary.$(OBJEXT)
     174        subgraph_sparsity.$(OBJEXT) tan.$(OBJEXT) \
     175        test_vector.$(OBJEXT) to_string.$(OBJEXT) value.$(OBJEXT) \
     176        vec_ad.$(OBJEXT) vec_ad_par.$(OBJEXT) vec_unary.$(OBJEXT)
    177177general_OBJECTS = $(am_general_OBJECTS)
    178178general_LDADD = $(LDADD)
     
    585585        sub_eq.cpp \
    586586        sub_zero.cpp \
     587        subgraph_sparsity.cpp \
    587588        tan.cpp \
    588589        test_vector.cpp \
     
    739740@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sub_eq.Po@am__quote@
    740741@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sub_zero.Po@am__quote@
     742@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/subgraph_sparsity.Po@am__quote@
    741743@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tan.Po@am__quote@
    742744@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_vector.Po@am__quote@
Note: See TracChangeset for help on using the changeset viewer.