Changeset 3020


Ignore:
Timestamp:
Dec 10, 2013 7:46:20 AM (6 years ago)
Author:
bradbell
Message:

eigen_io.sh: bring up to date.
eigen_mul.sh: new bug.

Location:
trunk/bug
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bug/eigen_io.sh

    r2792 r3020  
    1111# Please visit http://www.coin-or.org/CppAD/ for information on other licenses.
    1212# -----------------------------------------------------------------------------
    13 #! /bin/bash -e
    14 cat << EOF > eigen_io.cpp
     13if [ ! -e build ]
     14then
     15        mkdir build
     16fi
     17cd build
     18echo "$0"
     19name=`echo $0 | sed -e 's|.*/||' -e 's|\..*||'`
     20#
     21cat << EOF > $name.cpp
    1522# include <cppad/cppad.hpp>
    1623# include <cppad/example/cppad_eigen.hpp>
     
    2936EOF
    3037echo_eval g++ \
    31         eigen_io.cpp \
     38        $name.cpp \
    3239        -I$HOME/cppad/trunk \
    3340        -I$HOME/prefix/eigen/include \
     
    3542        -O0 \
    3643        -std=c++11 \
    37         -o eigen_io
    38 echo_eval ./eigen_io
    39 echo_eval rm eigen_io.cpp eigen_io
     44        -o $name
     45echo_eval ./$name
Note: See TracChangeset for help on using the changeset viewer.