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
f6522e41
Commit
f6522e41
authored
8 years ago
by
Pietro Incardona
Browse files
Options
Downloads
Patches
Plain Diff
Changed script to update BOOST and EIGEN
parent
982907e6
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
script/remove_old
+14
-2
14 additions, 2 deletions
script/remove_old
with
14 additions
and
2 deletions
script/remove_old
+
14
−
2
View file @
f6522e41
...
...
@@ -76,10 +76,10 @@ function remove_old()
## Check the installed version of the dependencies
if
[
-d
$1
/BOOST
]
;
then
is_update
=
$(
cat
$1
/BOOST/include/boost/version.hpp |
grep
"#define BOOST_VERSION 10600
0
"
)
is_update
=
$(
cat
$1
/BOOST/include/boost/version.hpp |
grep
"#define BOOST_VERSION 10600
3
"
)
if
[
x
"
$is_update
"
==
x
""
]
;
then
echo
-e
"
\0
33[1;34;5m ---------------------------------------------------------------------------
\0
33[0m"
echo
-e
"
\0
33[1;34;5m Boost has been updated to 1.6
0
, the component will be updated automatically
\0
33[0m"
echo
-e
"
\0
33[1;34;5m Boost has been updated to 1.6
3
, the component will be updated automatically
\0
33[0m"
echo
-e
"
\0
33[1;34;5m ---------------------------------------------------------------------------
\0
33[0m"
sleep
5
rm
-rf
$1
/BOOST/include
...
...
@@ -134,6 +134,18 @@ function remove_old()
rm
-rf
$1
/HDF5
fi
fi
if
[
-d
$1
/EIGEN
]
;
then
version
=
$(
cat
$1
/EIGEN/version
)
if
[
x
"
$version
"
!=
x
"1"
]
;
then
echo
-e
"
\0
33[1;34;5m ----------------------------------------------------------------------
\0
33[0m"
echo
-e
"
\0
33[1;34;5m EIGEN has been updated, the component will be updated automatically
\0
33[0m"
echo
-e
"
\0
33[1;34;5m ----------------------------------------------------------------------
\0
33[0m"
sleep
5
rm
-rf
$1
/EIGEN/Eigen
fi
fi
}
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