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
Sbalzarini Lab
S
Software
P
Parallel Computing
OpenFPM
openfpm_pdata
Commits
7c460bd3
Commit
7c460bd3
authored
Sep 20, 2017
by
incardon
Browse files
Cheching why envoronment variable file is not created
parent
c7a959fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
build.sh
View file @
7c460bd3
...
...
@@ -46,16 +46,19 @@ then
mkdir
$HOME
/
$branch
if
[
x
"
$4
"
==
x
"full"
]
;
then
CC
=
gcc-4.9.2
CXX
=
g++-4.9.2
FC
=
gfortran-4.9.2
F77
=
gfortran-4.9.2 ./install
-i
$HOME
/
$branch
-s
-c
"--prefix=/home/jenkins/openfpm_install"
echo
"Moving envoronment variable"
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
)
CC
=
gcc-4.9.2
CXX
=
g++-4.9.2
FC
=
gfortran-4.9.2
F77
=
gfortran-4.9.2 ./install
-i
$HOME
/
$branch
-m
-s
-c
"--prefix=/home/jenkins/openfpm_install"
echo
"Mooving environment variable"
mv
$HOME
/openfpm_vars
$HOME
/openfpm_vars_
$branch
source
$HOME
/openfpm_vars_
$branch
make
$3
else
CC
=
gcc-4.9.2
CXX
=
g++-4.9.2
FC
=
gfortran-4.9.2
F77
=
gfortran-4.9.2 ./install
-i
$HOME
/
$branch
-m
-s
-c
"--prefix=/home/jenkins/openfpm_install --no-recursion"
echo
"Mooving envoronment variables"
mv
$HOME
/openfpm_vars
$HOME
/openfpm_vars_
$branch
source
$HOME
/openfpm_vars_
$branch
make
$3
...
...
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