Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openfpm_pdata
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
argupta
openfpm_pdata
Commits
7d24cfba
Commit
7d24cfba
authored
6 years ago
by
Pietro Incardona
Browse files
Options
Downloads
Patches
Plain Diff
Fixing SSH
parent
43244027
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build.sh
+8
-5
8 additions, 5 deletions
build.sh
with
8 additions
and
5 deletions
build.sh
+
8
−
5
View file @
7d24cfba
...
...
@@ -106,29 +106,32 @@ else
if
[
x
"
$2
"
==
x
"sbalzarini-mac-15"
]
;
then
installation_dir
=
"--prefix=/Users/jenkins/openfpm_install"
else
installation_dir
=
"--prefix=
$HOME
/openfpm_
dependencies/openfpm_pdata
/
$branch
"
installation_dir
=
"--prefix=
$HOME
/openfpm_
install
/
$branch
"
fi
#ssh -vvvT -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o GlobalKnownHostsFile=/dev/null git@git.mpi-cbg.de
#ssh -vvvT -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o GlobalKnownHostsFile=/dev/null git@git.mpi-cbg.de
# force ssh to not use HostKey verification
cat
$HOME
/.ssh/id_rsa.pub
echo
"StrictHostKeyChecking=no"
>
$HOME
/.ssh/config
chmod
600
$HOME
/.ssh/config
ssh
-vvvT
git@git.mpi-cbg.de
rm
-rf
$HOME
/METIS
mkdir
$HOME
/openfpm_dependencies/openfpm_pdata/
$branch
if
[
x
"
$4
"
==
x
"full"
]
;
then
./install
-i
$HOME
/
$branch
-s
-c
"
$installation_dir
"
./install
-i
$HOME
/
openfpm_dependencies/openfpm_pdata/
$branch
-s
-c
"
$installation_dir
"
mv
$HOME
/openfpm_vars
$HOME
/openfpm_vars_
$branch
source
$HOME
/openfpm_vars_
$branch
elif
[
x
"
$3
"
==
x
"numerics"
]
;
then
branch
=
$(
git ls-remote
--heads
origin |
grep
$(
git rev-parse HEAD
)
|
cut
-d
/
-f
3
)
./install
-i
$HOME
/
$branch
-m
-s
-c
"
$installation_dir
"
./install
-i
$HOME
/
openfpm_dependencies/openfpm_pdata/
$branch
-m
-s
-c
"
$installation_dir
"
mv
$HOME
/openfpm_vars
$HOME
/openfpm_vars_
$branch
source
$HOME
/openfpm_vars_
$branch
make
$3
else
./install
-i
$HOME
/
$branch
-m
-s
-c
"
$installation_dir
--no-recursion"
echo
"
$installation_dir
"
exit
1
./install
-i
$HOME
/openfpm_dependencies/openfpm_pdata/
$branch
-m
-s
-c
"
$installation_dir
--no-recursion"
mv
$HOME
/openfpm_vars
$HOME
/openfpm_vars_
$branch
source
$HOME
/openfpm_vars_
$branch
make
$3
...
...
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