Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
argupta
openfpm_vcluster
Commits
f2772afb
Commit
f2772afb
authored
Nov 18, 2018
by
incardon
Browse files
Testing vcluster on GitLab CI
parent
1fdaace8
Changes
2
Hide whitespace changes
Inline
Side-by-side
build.sh
View file @
f2772afb
...
...
@@ -13,6 +13,8 @@ mv /tmp/openfpm_vcluster openfpm_vcluster
mkdir
openfpm_vcluster/src/config
## It is equivalent to the git modules
git clone git@git.mpi-cbg.de:/openfpm/openfpm_devices.git openfpm_devices
git clone git@git.mpi-cbg.de:/openfpm/openfpm_data.git openfpm_data
cd
openfpm_data
...
...
@@ -24,6 +26,35 @@ cd ..
cd
"
$1
/openfpm_vcluster"
# install MPI and BOOST LIBHILBERT if needed
if
[
!
-d
$HOME
/openfpm_dependencies/openfpm_vcluster/LIBHILBERT
]
;
then
./install_LIBHILBERT.sh
$HOME
/openfpm_dependencies/openfpm_vcluster/ 4
fi
if
[
!
-d
$HOME
/openfpm_dependencies/openfpm_vcluster/BOOST
]
;
then
if
[
x
"
$2
"
==
x
"mac,"
]
;
then
echo
"Compiling for OSX"
./install_BOOST.sh
$HOME
/openfpm_dependencies/openfpm_vcluster/ 4 darwin
else
echo
"Compiling for Linux"
./install_BOOST.sh
$HOME
/openfpm_dependencies/openfpm_vcluster/ 4 gcc
fi
fi
if
[
!
-d
$HOME
/openfpm_dependencies/openfpm_vcluster/MPI
]
;
then
if
[
x
"
$2
"
==
x
"mac,"
]
;
then
echo
"Compiling for OSX"
./install_MPI.sh
$HOME
/openfpm_dependencies/openfpm_vcluster/ 4
else
echo
"Compiling for Linux"
./install_MPI.sh
$HOME
/openfpm_dependencies/openfpm_vcluster/ 4
fi
fi
source
$HOME
/openfpm_vars_
$3
if
[
"
$2
"
==
"gin"
]
;
then
...
...
run.sh
View file @
f2772afb
...
...
@@ -7,6 +7,8 @@ echo "Directory: $1"
echo
"Machine:
$2
"
echo
"Branch:
$4
"
exit
1
cd
"
$1
/openfpm_vcluster"
source
$HOME
/openfpm_vars_
$4
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment