Ignore:
Timestamp:
Nov 30, 2015 11:12:28 PM (4 years ago)
Author:
bradbell
Message:

merge to branch: trunk
from repository: https://github.com/coin-or/CppAD
start hash code: 45a12ad2239733dd6fed7375a21cc8afe670c79a
end hash code: 1c6bd0d4a9645624a8353a71abce8d13a689e72b

commit 1c6bd0d4a9645624a8353a71abce8d13a689e72b
Author: Brad Bell <bradbell@…>
Date: Mon Nov 30 20:00:00 2015 -0800

Put removeal of old directories at front (havning permissions trouble with it).

commit 2ed11779bd51c8dc02900df1f933d6d883af5dd3
Author: Brad Bell <bradbell@…>
Date: Mon Nov 30 18:39:13 2015 -0800

Deprecate individual include files for the utilities and remove from install
(when deprecated is no).

commit 76fe973d931b111bb5c3cde60ae94e7828001919
Author: Brad Bell <bradbell@…>
Date: Mon Nov 30 16:29:38 2015 -0800

Change cppad_implicit_ctor_from_any_type -> cppad_deprecated
(in preparation for excluding more features from installation).

commit 8b429e9401f5ca315c461517f8c12724cf823c55
Author: Brad Bell <bradbell@…>
Date: Mon Nov 30 15:24:44 2015 -0800

Change verbose documentaiton to be YES/NO instead of 0/1.

commit d6f726e0f6145fd59f8ffc5f4080d08faf86c083
Author: Brad Bell <bradbell@…>
Date: Mon Nov 30 15:07:54 2015 -0800

Change cmake_install_prefix->cppad_prefix, cmake_install_postfix->cppad_postfix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/check_all.sh

    r3123 r3760  
    22# $Id$
    33# -----------------------------------------------------------------------------
    4 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-14 Bradley M. Bell
     4# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-15 Bradley M. Bell
    55#
    66# CppAD is distributed under multiple licenses. This distribution is under
     
    2929        then
    3030                echo "$msg"
    31                 echo 'Warning: see check_all.err' 
     31                echo 'Warning: see check_all.err'
    3232                exit 1
    3333        fi
     
    5555}
    5656# ---------------------------------------------------------------------------
     57list="
     58        $HOME/prefix/cppad
     59        build
     60"
     61for name in $list
     62do
     63        if [ -e "$name" ]
     64        then
     65                echo_log_eval rm -r $name
     66        fi
     67done
     68# ---------------------------------------------------------------------------
    5769# Create package to run test in
    5870echo "bin/package.sh"
     
    7688echo_log_eval cd cppad-$version
    7789# -----------------------------------------------------------------------------
    78 list="
    79         $HOME/prefix/cppad
    80         build
    81 "
    82 for name in $list
    83 do
    84         if [ -e "$name" ]
    85         then
    86                 echo_log_eval rm -r $name
    87         fi
    88 done
    89 echo_log_eval bin/run_cmake.sh --boost_vector
     90random_zero_one=`expr $RANDOM % 2`
     91if [ "$random_zero_one" == '0' ]
     92then
     93        echo_log_eval bin/run_cmake.sh --boost_vector
     94else
     95        echo_log_eval bin/run_cmake.sh --deprecated
     96fi
    9097echo_log_eval cd build
    9198# -----------------------------------------------------------------------------
    92 echo_log_eval make check 
     99echo_log_eval make check
    93100# -----------------------------------------------------------------------------
    94101for package in adolc eigen ipopt fadbad sacado
     
    133140        next_program
    134141        echo_log_eval ./$program harmonic 1 4 1
    135         # 
     142        #
    136143        # test_time=2,max_thread=4,num_zero=20,num_sub=30,num_sum=500,use_ad=true
    137144        next_program
     
    147154fi
    148155#
    149 # print_for test 
     156# print_for test
    150157if [ ! -e 'print_for/print_for' ]
    151158then
    152159        skip="$skip print_for/print_for"
    153160else
    154         echo_log_eval print_for/print_for 
     161        echo_log_eval print_for/print_for
    155162        print_for/print_for | sed -e '/^Test passes/,$d' > junk.1.$$
    156163        print_for/print_for | sed -e '1,/^Test passes/d' > junk.2.$$
     
    158165        then
    159166                rm junk.1.$$ junk.2.$$
    160                 echo_log_eval echo "print_for: OK" 
     167                echo_log_eval echo "print_for: OK"
    161168        else
    162169                echo_log_eval echo "print_for: Error"
     
    165172fi
    166173#
    167 echo_log_eval make install 
     174echo_log_eval make install
    168175#
    169176if [ "$skip" != '' ]
Note: See TracChangeset for help on using the changeset viewer.