Changeset 2939 for trunk/bin/jenkins.sh


Ignore:
Timestamp:
Oct 14, 2013 7:06:18 AM (7 years ago)
Author:
bradbell
Message:
  1. Make sure all '# defines' have an '# undef' and vise-verser.
  2. Add adolc tests to jenkins.sh.

check_define.sh: New reoutine that check defines have matching undef.
package.sh: run check_define.sh.
search.sh: add missing source directory to search.
configure.hpp.in: fix bug in speed tests (name of preprocessor macro).
pow.hpp: fix comment.
thread_alloc.hpp: fix spelling in comment.
jenkins.sh: Automatically set LD_LIBRARY_PATH.
base_adolc.hpp: fix problem when using ADOL-C-2.4.1
adolc_prefix.omh: add link to get_adolc.sh.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/jenkins.sh

    r2933 r2939  
    5353        exit 1
    5454fi
     55# --------------------------------------------------------------------------
     56if [ -e /usr/lib64 ]
     57then
     58        libdir='lib64'
     59else
     60        libdir='lib'
     61fi
    5562# -----------------------------------------------------------------------
    56 # Running bin/get_fadbad.sh will install include files in
    57 #       trunk_dir/build/prefix/include/FADBAD++
    58 log_eval bin/get_fadbad.sh
     63# The following test can be used to skip install of other packages
     64skip='false'
     65if [ "$skip" != 'true' ]
     66then
     67        # ----------------------------------------------------------------------
     68        # Running bin/get_fadbad.sh will install include files in
     69        #       $trunk_dir/build/prefix/include/FADBAD++
     70        log_eval bin/get_fadbad.sh
     71        # ----------------------------------------------------------------------
     72        # Running bin/get_eigen.sh will install include files in
     73        #       $trunk_dir/build/prefix/include/Eigen
     74        log_eval bin/get_eigen.sh
     75        # ----------------------------------------------------------------------
     76        # Running bin/get_ipopt.sh will install include files in
     77        #       $trunk_dir/build/prefix/include/coin
     78        # and library files in
     79        #       $trunk_dir/build/prefix/$libdir
     80        # where $libdir is 'lib64' if /usr/lib64 exists and just 'lib' otherwise.
     81        log_eval bin/get_ipopt.sh
     82        # ----------------------------------------------------------------------
     83        # Running bin/get_sacado.sh will install include files in
     84        #       $trunk_dir/build/prefix/include
     85        # and library files in
     86        #       $trunk_dir/build/prefix/$libdir
     87        log_eval bin/get_sacado.sh
     88        # ----------------------------------------------------------------------
     89        # Running bin/get_acolc.sh will install include files in
     90        #       $trunk_dir/build/prefix/include/adolc
     91        # and library files in
     92        #       $trunk_dir/build/prefix/$libdir
     93        log_eval bin/get_colpack.sh
     94        log_eval bin/get_adolc.sh
     95        # ----------------------------------------------------------------------
     96fi
    5997# -----------------------------------------------------------------------
    60 # Running bin/get_eigen.sh will install include files in
    61 #       trunk_dir/build/prefix/include/Eigen
    62 log_eval bin/get_eigen.sh
    63 # -----------------------------------------------------------------------
    64 # Running bin/get_ipopt.sh will install include files in
    65 #       trunk_dir/build/prefix/include/coin
    66 # and library files in
    67 #       trunk_dir/build/prefix/$libdir
    68 # where $libdir is 'lib64' if /usr/lib64 exists and just 'lib' otherwise.
    69 log_eval bin/get_ipopt.sh
    70 # -----------------------------------------------------------------------
    71 # Running bin/get_sacado.sh will install include files in
    72 #       trunk_dir/build/prefix/include
    73 # and library files in
    74 #       trunk_dir/build/prefix/$libdir
    75 log_eval bin/get_sacado.sh
     98system_name=`uname | sed -e 's|\(......\).*|\1|'`
     99if [ "$system_name" == 'CYGWIN' ]
     100then
     101        export PATH="$trunk_dir/build/prefix/bin:$PATH"
     102else
     103        export LD_LIBRARY_PATH="$trunk_dir/build/prefix/$libdir"
     104fi
    76105# -----------------------------------------------------------------------
    77106# Use trunk_dir/../build to build and test CppAD (no reuse)
     
    100129EOF
    101130if ! $trunk_dir/configure $build_type \
     131        ADOLC_DIR="$trunk_dir/build/prefix" \
    102132        SACADO_DIR="$trunk_dir/build/prefix" \
    103133        EIGEN_DIR="$trunk_dir/build/prefix" \
Note: See TracChangeset for help on using the changeset viewer.