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
14c95abd
Commit
14c95abd
authored
Mar 15, 2016
by
Pietro Incardona
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing installation
parent
f48f4a45
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
8 deletions
+23
-8
script/remove_old
script/remove_old
+23
-8
No files found.
script/remove_old
View file @
14c95abd
...
...
@@ -74,16 +74,31 @@ function remove_old()
fi
## Check the installed version of the dependencies
is_update
=
$(
cat
$1
/BOOST/include/boost/version.hpp |
grep
"#define BOOST_VERSION 106000"
)
if
[
x
"
$is_update
"
==
x
""
]
;
then
echo
"New boost version, removing the old one"
rm
-rf
$1
/BOOST/include
rm
-rf
$1
/BOOST/lib
rm
-rf
$1
/BOOST
cat
$1
/BOOST/include/boost/version.hpp
>
/dev/null
if
[
$?
-eq
0
]
;
then
is_update
=
$(
cat
$1
/BOOST/include/boost/version.hpp |
grep
"#define BOOST_VERSION 106000"
)
if
[
x
"
$is_update
"
==
x
""
]
;
then
echo
"
\0
33[1;34;5m New boost version, removing the old one
\0
33[0m"
sleep
3
rm
-rf
$1
/BOOST/include
rm
-rf
$1
/BOOST/lib
rm
-rf
$1
/BOOST
fi
fi
##
cat
$1
/METIS/version
if
[
$?
-eq
0
]
;
then
version
=
$(
cat
$1
/METIS/version
)
if
[
x
"
$version
"
!=
x
"1"
]
;
then
echo
-e
"
\0
33[1;34;5m New METIS version, removing the old one
\0
33[0m"
sleep
3
rm
-rf
$1
/METIS/include
rm
-rf
$1
/METIS/lib
rm
-rf
$1
/METIS
fi
fi
}
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