Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-AMF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
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
OpenXG
OpenXG-AMF
Commits
294f355f
Commit
294f355f
authored
Jun 07, 2021
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Install boost 1.66.0 from source for Ubuntu 18.04
parent
f4158c3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
2 deletions
+15
-2
build/scripts/build_helper.amf
build/scripts/build_helper.amf
+15
-2
No files found.
build/scripts/build_helper.amf
View file @
294f355f
...
@@ -288,6 +288,8 @@ install_nlohmann_from_git() {
...
@@ -288,6 +288,8 @@ install_nlohmann_from_git() {
#arg2 is debug (0 or 1) (install debug libraries)
#arg2 is debug (0 or 1) (install debug libraries)
check_install_amf_deps(){
check_install_amf_deps(){
var_ubuntu_18_04=0
if [ $1 -gt 0 ]; then
if [ $1 -gt 0 ]; then
OPTION="-y"
OPTION="-y"
else
else
...
@@ -353,12 +355,20 @@ check_install_amf_deps(){
...
@@ -353,12 +355,20 @@ check_install_amf_deps(){
if [[ $OS_DISTRO == "ubuntu" ]]; then
if [[ $OS_DISTRO == "ubuntu" ]]; then
case "$(get_distribution_release)" in
case "$(get_distribution_release)" in
"ubuntu18.04")
"ubuntu18.04")
var_ubuntu_18_04=1
if [ $IS_CONTAINER -eq 0 ]; then
if [ $IS_CONTAINER -eq 0 ]; then
specific_packages="libconfig++-dev mysql-server"
specific_packages="libconfig++-dev mysql-server"
else
else
specific_packages="libconfig++-dev"
specific_packages="libconfig++-dev"
fi
fi
;;
;;
*)
if [ $IS_CONTAINER -eq 0 ]; then
specific_packages="libconfig++-dev libasio-dev libboost-all-dev mysql-server"
else
specific_packages="libconfig++-dev libasio-dev libboost-all-dev"
fi
;;
esac
esac
# removed libspdlog-dev
# removed libspdlog-dev
PACKAGE_LIST="\
PACKAGE_LIST="\
...
@@ -420,8 +430,11 @@ check_install_amf_deps(){
...
@@ -420,8 +430,11 @@ check_install_amf_deps(){
$SUDO $INSTALLER install $OPTION $PACKAGE_LIST
$SUDO $INSTALLER install $OPTION $PACKAGE_LIST
ret=$?;[[ $ret -ne 0 ]] && return $ret
ret=$?;[[ $ret -ne 0 ]] && return $ret
install_boost_1_66 $1 $2
ret=$?;[[ $ret -ne 0 ]] && return $ret
if [ $var_ubuntu_18_04 -ne 0 ]; then
install_boost_1_66 $1 $2
ret=$?;[[ $ret -ne 0 ]] && return $ret
fi
install_cpprestsdk_from_git $1 $2
install_cpprestsdk_from_git $1 $2
ret=$?;[[ $ret -ne 0 ]] && return $ret
ret=$?;[[ $ret -ne 0 ]] && return $ret
...
...
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