Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
O
openfpm_vcluster
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openfpm
openfpm_vcluster
Commits
f2772afb
Commit
f2772afb
authored
Nov 18, 2018
by
incardon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Testing vcluster on GitLab CI
parent
1fdaace8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
0 deletions
+33
-0
build.sh
build.sh
+31
-0
run.sh
run.sh
+2
-0
No files found.
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