Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 614577ad authored by Nicolas Bellot's avatar Nicolas Bellot Committed by hhakim
Browse files

test matlab

parent 19a3992e
No related branches found
No related tags found
No related merge requests found
##################################################################
####################### run_nightly ##############################
# This shell-bash SCRIPT performs :
# - svn checkout
# - compile the selected target of faust project
# - run some examples relating to these targets.
#
# faust_test directory contains the sources of the faust project.
# faust_test_build directory contains the build of faust project.
# faust_output directory contains the build of faust project.
#
# WARNING : Please adjust your environment variables, corresponding
# to your computer configurations (library path)
#
# svn checkout --username XXX https://scm.gforge.inria.fr/authscm/XXX/svn/faust/trunk/devcpp/test/CTest_nightly ./
#
###################################################################
### name system of Machine for CDASH
export CMAKE_SYSTEM='linux-fedora23_x86_64-openblas'
# Directory of the library used in the FAUST PROJECT
# On ajoute le path /usr/local/bin pour le ctest command.
#export PATH=$PATH:/usr/local/MATLAB/R2014b/bin:/usr/local/bin;
#export PATH=$PATH:usr/local/include
# Directory of the local path of the nightly project
export PATH_DIR_RUN_NIGHTLY='/home/nbellot/CTest_Nightly'
#export EIGENDIR='/home/ci/Library/eigen-eigen-07105f7124f9'
#export OPENBLASDIR='/home/ci/local/OPENBLAS'
#modif NB
export LD_PRELOAD='/home/ci/local/OPENBLAS/lib/libopenblas.so' #enable matlab mexfile to find openblas at runtime
#export HDF5_ROOT_DIR='/home/ci/local/HDF5/lib'
#export MATIODIR=/usr/local
#export CUDADIR=/usr/local/cuda-6.5
# export version of gcc
# export CC=/usr/lib64/ccache/gcc
# export CXX=/usr/lib64/ccache/g++
# /usr/local/bin/matlab in the PATH
#export PATH=/usr/local/cuda-7.5/bin:/usr/local/bin:$PATH
#export PATH=/usr/local/cuda-7.5/bin:/usr/local/bin:/usr/lib64/ccache/:$PATH
if [ ! -d "$PATH_DIR_RUN_NIGHTLY" ];
then
echo "ERROR : $PATH_DIR_RUN_NIGHTLY directory is not defined or do no exist !!!!!! Please select a valid PATH_DIR_RUN_NIGHTLY "
exit 1
fi
# CTEST OPTION
export CTEST_CONFIGURE_OPTIONS="\
-DBUILD_OPENBLAS=ON;\
-DBUILD_READ_MAT_FILE=ON;\
-DBUILD_READ_XML_FILE=ON;\
-DBUILD_MATLAB_MEX_FILES=ON;\
-DBUILD_USE_GPU:BOOL=OFF;\
-DFAUST_USE_PROFILING=OFF;\
-DBUILD_VERBOSE=OFF;\
-DBUILD_DOCUMENTATION:BOOL=OFF"
#-DDASH_TESTING:BOOL=ON;\
#-DBUILD_DEBUG:BOOL=OFF;\
#-DBUILD_COVERAGE:BOOL=ON;\
cd $PATH_DIR_RUN_NIGHTLY
rm -rf ./faust_test
rm -rf ./faust_test_build
rm -rf ./faust_output
mkdir ./faust_test
mkdir ./faust_test_build
mkdir ./faust_output
# launch ctest file
ctest -VV -C Release -S faustTest.cmake
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment