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
047436af
Commit
047436af
authored
6 years ago
by
Pietro Incardona
Browse files
Options
Downloads
Patches
Plain Diff
Activating full compilation with Cmake
parent
c9db5247
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
+9
-9
9 additions, 9 deletions
build.sh
with
9 additions
and
9 deletions
build.sh
+
9
−
9
View file @
047436af
...
...
@@ -47,24 +47,24 @@ then
export
PATH
=
"/usr/local/binutils/bin/:
$PATH
"
mkdir
$HOME
/
$branch
if
[
x
"
$
4
"
==
x
"full"
]
;
then
if
[
x
"
$
5
"
==
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 environment variable"
mv
$HOME
/openfpm_vars
$HOME
/openfpm_vars_
$branch
source
$HOME
/openfpm_vars_
$branch
elif
[
x
"
$
3
"
==
x
"numerics"
]
;
then
elif
[
x
"
$
4
"
==
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
"Moving environment variable"
mv
$HOME
/openfpm_vars
$HOME
/openfpm_vars_
$branch
source
$HOME
/openfpm_vars_
$branch
make
$3
make
-j
12
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
"Moving environment variables"
mv
$HOME
/openfpm_vars
$HOME
/openfpm_vars_
$branch
source
$HOME
/openfpm_vars_
$branch
make
$3
make
-j
12
fi
if
[
$?
-ne
0
]
;
then
...
...
@@ -93,7 +93,7 @@ then
./install
-m
-i
"/scratch/p_ppm/
$branch
"
-s
-c
"CXX=mpic++ --no-recursion"
mv
$HOME
/openfpm_vars
$HOME
/openfpm_vars_
$branch
source
$HOME
/openfpm_vars_
$branch
make
$3
make
-j
24
if
[
$?
-ne
0
]
;
then
...
...
@@ -117,23 +117,23 @@ else
chmod
600
$HOME
/.ssh/config
mkdir
$HOME
/openfpm_dependencies/openfpm_pdata/
$branch
if
[
x
"
$
4
"
==
x
"full"
]
;
then
if
[
x
"
$
5
"
==
x
"full"
]
;
then
echo
"Installing with: ./install -i
$HOME
/openfpm_dependencies/openfpm_pdata/
$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
elif
[
x
"
$
4
"
==
x
"numerics"
]
;
then
branch
=
$(
git ls-remote
--heads
origin |
grep
$(
git rev-parse HEAD
)
|
cut
-d
/
-f
3
)
./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
make
-j
4
else
echo
"Installing with: ./install -i
$HOME
/openfpm_dependencies/openfpm_pdata/
$branch
-m -s -c
\"
$installation_dir
--no-recursion
\"
"
./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
make
-j
4
fi
if
[
$?
-ne
0
]
;
then
...
...
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