Mentions légales du service

Skip to content
Snippets Groups Projects
Commit ca8b7592 authored by Adrien Leman's avatar Adrien Leman Committed by hhakim
Browse files

add vm mac 4 openblas ctest

parent 7081dfae
Branches dev
Tags
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='mac-OSX-Darwin-OpenBlas'
# Directory of the library used in the FAUST PROJECT
# On ajoute le path /usr/local/bin pour le ctest command.
export PATH=$PATH:/Applications/MATLAB_R2014b.app/bin/:/usr/local/bin;
# Directory of the local path of the nightly project
export PATH_DIR_RUN_NIGHTLY='/Users/ci/CTest_nightly'
#export OPENBLASDIR='/Users/ci/local/OPENBLAS-v0.2.15'
#export EIGENDIR='/Users/ci/local/eigen-3.2.8'
#export HDF5_ROOT_DIR='/Users/ci/local/hdf5-1.8.17/lib'
#export MATIODIR='/Users/ci/local/matio-1.5.2'
#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;"
#-DBUILD_MULTITHREAD=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