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
1
Issues
1
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_pdata
Commits
a6c237a4
Commit
a6c237a4
authored
Apr 17, 2018
by
incardon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing installation dir on OSX
parent
f6770de4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
build.sh
build.sh
+10
-3
No files found.
build.sh
View file @
a6c237a4
...
@@ -101,20 +101,27 @@ else
...
@@ -101,20 +101,27 @@ else
echo
"Compiling general"
echo
"Compiling general"
source
~/.bashrc
source
~/.bashrc
installation_dir
=
""
if
[
x
"
$2
"
==
x
"sbalzarini-mac-15"
]
;
then
installation_dir
=
"--prefix=/Users/jenkins/openfpm_install"
else
installation_dir
=
"--prefix=/home/jenkins/openfpm_install"
fi
mkdir
$HOME
/
$branch
mkdir
$HOME
/
$branch
if
[
x
"
$4
"
==
x
"full"
]
;
then
if
[
x
"
$4
"
==
x
"full"
]
;
then
./install
-i
$HOME
/
$branch
-s
-c
"
--prefix=/Users/jenkins/openfpm_install
"
./install
-i
$HOME
/
$branch
-s
-c
"
$installation_dir
"
mv
$HOME
/openfpm_vars
$HOME
/openfpm_vars_
$branch
mv
$HOME
/openfpm_vars
$HOME
/openfpm_vars_
$branch
source
$HOME
/openfpm_vars_
$branch
source
$HOME
/openfpm_vars_
$branch
elif
[
x
"
$3
"
==
x
"numerics"
]
;
then
elif
[
x
"
$3
"
==
x
"numerics"
]
;
then
branch
=
$(
git ls-remote
--heads
origin |
grep
$(
git rev-parse HEAD
)
|
cut
-d
/
-f
3
)
branch
=
$(
git ls-remote
--heads
origin |
grep
$(
git rev-parse HEAD
)
|
cut
-d
/
-f
3
)
./install
-i
$HOME
/
$branch
-m
-s
-c
"
--prefix=/home/jenkins/openfpm_install
"
./install
-i
$HOME
/
$branch
-m
-s
-c
"
$installation_dir
"
mv
$HOME
/openfpm_vars
$HOME
/openfpm_vars_
$branch
mv
$HOME
/openfpm_vars
$HOME
/openfpm_vars_
$branch
source
$HOME
/openfpm_vars_
$branch
source
$HOME
/openfpm_vars_
$branch
make
$3
make
$3
else
else
./install
-i
$HOME
/
$branch
-m
-s
-c
"
--prefix=/Users/jenkins/openfpm_install
--no-recursion"
./install
-i
$HOME
/
$branch
-m
-s
-c
"
$installation_dir
--no-recursion"
mv
$HOME
/openfpm_vars
$HOME
/openfpm_vars_
$branch
mv
$HOME
/openfpm_vars
$HOME
/openfpm_vars_
$branch
source
$HOME
/openfpm_vars_
$branch
source
$HOME
/openfpm_vars_
$branch
make
$3
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