Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TurTLE
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TurTLE
TurTLE
Commits
2836c5b6
Commit
2836c5b6
authored
6 years ago
by
Cristian Lalescu
Browse files
Options
Downloads
Patches
Plain Diff
don't run any CI scripts
parent
20c6ce71
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!23
WIP: Feature/use cmake
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/ci-scripts/test.sh
+43
-41
43 additions, 41 deletions
tests/ci-scripts/test.sh
with
43 additions
and
41 deletions
tests/ci-scripts/test.sh
+
43
−
41
View file @
2836c5b6
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment