Commit 2836c5b6 authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

don't run any CI scripts

parent 20c6ce71
......@@ -5,45 +5,47 @@ set -x
# stops when fails
set -e
# Init
export destdir=$(pwd)"/ci-installdir"
export pythonbin=/home/ubuntu/anaconda3/bin/python3
export bfpspythonpath=$destdir/lib/python3.6/site-packages/
export PYTHONPATH=:$bfpspythonpath$PYTHONPATH
export PATH=$destdir/bin/:/home/ubuntu/hdf5/install/bin/:$PATH
export LD_LIBRARY_PATH=/home/ubuntu/hdf5/install/lib/:/home/ubuntu/fftw/install/lib/
echo "destdir = $destdir"
echo "pythonbin = $pythonbin"
echo "bfpspythonpath = $bfpspythonpath"
# Remove possible previous installation
if [[ -d $destdir ]] ; then
rm -rf $destdir ;
fi
# Create install path
if [[ ! -d $bfpspythonpath ]] ; then
mkdir -p $bfpspythonpath ;
fi
# Build
$pythonbin setup.py compile_library --timing-output 1
# Install
$pythonbin setup.py install --prefix=$destdir
# Test
ls $destdir
ls $destdir/bin/
$pythonbin $destdir/bin/bfps.test_fftw
$pythonbin $destdir/bin/bfps.test_Parseval
$pythonbin $destdir/bin/bfps.test_NSVEparticles
# Clean
if [[ -d $destdir ]] ; then
rm -rf $destdir ;
fi
echo "please check VM before turning tests back on"
## Init
#export destdir=$(pwd)"/ci-installdir"
#export pythonbin=/home/ubuntu/anaconda3/bin/python3
#export bfpspythonpath=$destdir/lib/python3.6/site-packages/
#export PYTHONPATH=:$bfpspythonpath$PYTHONPATH
#export PATH=$destdir/bin/:/home/ubuntu/hdf5/install/bin/:$PATH
#export LD_LIBRARY_PATH=/home/ubuntu/hdf5/install/lib/:/home/ubuntu/fftw/install/lib/
#
#echo "destdir = $destdir"
#echo "pythonbin = $pythonbin"
#echo "bfpspythonpath = $bfpspythonpath"
#
## Remove possible previous installation
#if [[ -d $destdir ]] ; then
# rm -rf $destdir ;
#fi
#
## Create install path
#if [[ ! -d $bfpspythonpath ]] ; then
# mkdir -p $bfpspythonpath ;
#fi
#
## Build
#$pythonbin setup.py compile_library --timing-output 1
## Install
#$pythonbin setup.py install --prefix=$destdir
#
## Test
#ls $destdir
#ls $destdir/bin/
#
#$pythonbin $destdir/bin/bfps.test_fftw
#
#$pythonbin $destdir/bin/bfps.test_Parseval
#
#$pythonbin $destdir/bin/bfps.test_NSVEparticles
#
## Clean
#if [[ -d $destdir ]] ; then
# rm -rf $destdir ;
#fi
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment