Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
O
openfpm_pdata
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
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
argupta
openfpm_pdata
Commits
04affb51
Commit
04affb51
authored
Jan 24, 2019
by
incardon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing build script
parent
ec80eed1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
28 deletions
+16
-28
build.sh
build.sh
+16
-28
No files found.
build.sh
View file @
04affb51
...
...
@@ -73,39 +73,27 @@ installation_dir="--prefix=$HOME/openfpm_install/$branch"
#echo "StrictHostKeyChecking=no" > $HOME/.ssh/config
#chmod 600 $HOME/.ssh/config
mkdir
$HOME
/openfpm_dependencies/openfpm_pdata/
$branch
if
[
x
"
$comp_type
"
==
x
"full"
]
;
then
echo
"Installing with: ./install -i
$dependency_dir
-s -c
\"
$installation_dir
\"
"
./install
-i
$dependency_dir
-s
-c
"
$installation_dir
"
make
install
if
[
$?
-ne
0
]
;
then
curl
-X
POST
--data
"payload={
\"
icon_emoji
\"
:
\"
:jenkins:
\"
,
\"
username
\"
:
\"
jenkins
\"
,
\"
attachments
\"
:[{
\"
title
\"
:
\"
Error:
\"
,
\"
color
\"
:
\"
#FF0000
\"
,
\"
text
\"
:
\"
$hostname
failed to complete the openfpm_pdata test
\"
}] }"
https://hooks.slack.com/services/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
exit
1
;
fi
mv
$HOME
/openfpm_vars
$HOME
/openfpm_vars_
$branch
source
$HOME
/openfpm_vars_
$branch
elif
[
x
"
$comp_type
"
==
x
"numerics"
]
;
then
./install
-i
$dependency_dir
-m
-s
-c
"
$installation_dir
"
install_options
=
if
[
x
"
$comp_type
"
!=
x
"full"
]
;
then
install_options
=
"-m"
fi
if
[
$?
-ne
0
]
;
then
curl
-X
POST
--data
"payload={
\"
icon_emoji
\"
:
\"
:jenkins:
\"
,
\"
username
\"
:
\"
jenkins
\"
,
\"
attachments
\"
:[{
\"
title
\"
:
\"
Error:
\"
,
\"
color
\"
:
\"
#FF0000
\"
,
\"
text
\"
:
\"
$hostname
failed to complete the openfpm_pdata test
\"
}] }"
https://hooks.slack.com/services/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
exit
1
;
fi
mv
$HOME
/openfpm_vars
$HOME
/openfpm_vars_
$branch
source
$HOME
/openfpm_vars_
$branch
make
VERBOSE
=
1
-j
8
else
echo
"Installing with: ./install
$gpu_support
-i
$dependency_dir
-m -s -c
\"
$installation_dir
--no-recursion
\"
"
./install
$gpu_support
-i
$dependency_dir
-m
-s
-c
"
$installation_dir
"
mkdir
$HOME
/openfpm_dependencies/openfpm_pdata/
$branch
if
[
$?
-ne
0
]
;
then
echo
"Installing with: ./install
$gpu_support
-i
$dependency_dir
$install_options
-s -c
\"
$installation_dir
\"
"
./install
$gpu_support
-i
$dependency_dir
$install_options
-s
-c
"
$installation_dir
"
if
[
$?
-ne
0
]
;
then
curl
-X
POST
--data
"payload={
\"
icon_emoji
\"
:
\"
:jenkins:
\"
,
\"
username
\"
:
\"
jenkins
\"
,
\"
attachments
\"
:[{
\"
title
\"
:
\"
Error:
\"
,
\"
color
\"
:
\"
#FF0000
\"
,
\"
text
\"
:
\"
$hostname
failed to complete the openfpm_pdata test
\"
}] }"
https://hooks.slack.com/services/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
exit
1
;
fi
mv
$HOME
/openfpm_vars
$HOME
/openfpm_vars_
$branch
source
$HOME
/openfpm_vars_
$branch
fi
make
VERBOSE
=
1
-j
8
# Check of we have to do a make install
if
[
x
"
$comp_type
"
==
x
"full"
]
;
then
make
install
else
mv
$HOME
/openfpm_vars
$HOME
/openfpm_vars_
$branch
source
$HOME
/openfpm_vars_
$branch
make
VERBOSE
=
1
-j
8
fi
if
[
$?
-ne
0
]
;
then
...
...
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