Changeset 2928


Ignore:
Timestamp:
Oct 11, 2013 5:07:39 PM (6 years ago)
Author:
bradbell
Message:

get_sacado.sh: Attempt to get sacado tests to run on jenkins.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/get_sacado.sh

    r2926 r2928  
    9696fi
    9797# -----------------------------------------------------------------------------
     98# check if we have a local copy of coin lapack and blas libraries installed
     99coin_lapack_blas='no'
     100if [ -e build/prefix/$libdir/libcoinlapack.a ]
     101then
     102        if [ -e build/prefix/$libdir/libcoinblas.a ]
     103        then
     104                coin_lapack_blas='yes'
     105        fi
     106fi
     107echo "coin_lapack_blas=$coin_lapack_blas"
     108# -----------------------------------------------------------------------------
    98109if [ ! -d build/external ]
    99110then
     
    125136        echo_eval rm CMakeCache.txt
    126137fi
    127 echo_eval $cmake_program \
    128         -D CMAKE_BUILD_TYPE:STRING=RELEASE \
    129         -D Trilinos_ENABLE_Sacado:BOOL=ON \
    130         -D Sacado_ENABLE_TESTS:BOOL=OFF \
    131         -D CMAKE_INSTALL_PREFIX:PATH=$prefix \
    132         -D Trilinos_INSTALL_LIB_DIR=$prefix/$libdir \
    133         ../
     138if [ "$coin_lapack_blas" == 'yes' ]
     139then
     140        echo_eval $cmake_program \
     141                -D CMAKE_BUILD_TYPE:STRING=RELEASE \
     142                -D Trilinos_ENABLE_Sacado:BOOL=ON \
     143                -D Sacado_ENABLE_TESTS:BOOL=OFF \
     144                -D CMAKE_INSTALL_PREFIX:PATH=$prefix \
     145                -D Trilinos_INSTALL_LIB_DIR=$prefix/$libdir \
     146                -D LAPACK_LIBRARY_NAMES:STRING=coinlapack \
     147                -D BLAS_LIBRARY_NAMES:STRING=coinblas \
     148                -D LAPACK_LIBRARY_DIRS:STRING=../prefix/$libdir \
     149                -D BLAS_LIBRARY_DIRS:STRING=../prefix/$libdir \
     150                ../
     151else
     152        echo_eval $cmake_program \
     153                -D CMAKE_BUILD_TYPE:STRING=RELEASE \
     154                -D Trilinos_ENABLE_Sacado:BOOL=ON \
     155                -D Sacado_ENABLE_TESTS:BOOL=OFF \
     156                -D CMAKE_INSTALL_PREFIX:PATH=$prefix \
     157                -D Trilinos_INSTALL_LIB_DIR=$prefix/$libdir \
     158                ../
     159fi
    134160echo_eval make install
    135161#
Note: See TracChangeset for help on using the changeset viewer.