Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
Michael Black
OpenXG-RAN
Commits
c3ba7ba7
Commit
c3ba7ba7
authored
Jan 15, 2018
by
Cedric Roux
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/support-ubuntu17' into develop_integration_2018_w02
parents
9c8b6e56
ec56a416
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
8 deletions
+16
-8
cmake_targets/tools/build_helper
cmake_targets/tools/build_helper
+16
-8
No files found.
cmake_targets/tools/build_helper
View file @
c3ba7ba7
...
@@ -95,6 +95,8 @@ get_distribution_release() {
...
@@ -95,6 +95,8 @@ get_distribution_release() {
check_supported_distribution() {
check_supported_distribution() {
local distribution=$(get_distribution_release)
local distribution=$(get_distribution_release)
case "$distribution" in
case "$distribution" in
"ubuntu17.10") return 0 ;;
"ubuntu17.04") return 0 ;;
"ubuntu16.04") return 0 ;;
"ubuntu16.04") return 0 ;;
"ubuntu14.04") return 0 ;;
"ubuntu14.04") return 0 ;;
"fedora24") return 0 ;;
"fedora24") return 0 ;;
...
@@ -480,16 +482,26 @@ check_install_oai_software() {
...
@@ -480,16 +482,26 @@ check_install_oai_software() {
fi
fi
$SUDO $INSTALLER update -y
$SUDO $INSTALLER update -y
if [[ "$OS_DISTRO" == "ubuntu" ]]; then
if [[ "$OS_DISTRO" == "ubuntu" ]]; then
local LAPACK_LIBNAME="liblapack.so"
local LAPACK_TARGET="/usr/lib/atlas-base/atlas/liblapack.so"
$SUDO apt install -y software-properties-common
$SUDO apt install -y software-properties-common
case "$(get_distribution_release)" in
case "$(get_distribution_release)" in
"ubuntu14.04")
"ubuntu14.04")
specific_packages="libtasn1-3-dev"
specific_packages="libtasn1-3-dev
gccxml libgnutls-dev libatlas-dev
"
# For iperf3
# For iperf3
$SUDO add-apt-repository "deb http://archive.ubuntu.com/ubuntu trusty-backports universe"
$SUDO add-apt-repository "deb http://archive.ubuntu.com/ubuntu trusty-backports universe"
$SUDO apt-get update
$SUDO apt-get update
;;
;;
"ubuntu16.04")
"ubuntu16.04")
specific_packages="libtasn1-6-dev"
specific_packages="libtasn1-6-dev gccxml libgnutls-dev libatlas-dev"
;;
"ubuntu17.04")
specific_packages="libtasn1-6-dev castxml libgnutls28-dev libatlas-dev"
;;
"ubuntu17.10")
specific_packages="libtasn1-6-dev castxml libgnutls28-dev"
LAPACK_LIBNAME="liblapack.so-x86_64-linux-gnu"
LAPACK_TARGET="/usr/lib/x86_64-linux-gnu/atlas/liblapack.so"
;;
;;
esac
esac
$SUDO apt-get install -y \
$SUDO apt-get install -y \
...
@@ -505,7 +517,6 @@ check_install_oai_software() {
...
@@ -505,7 +517,6 @@ check_install_oai_software() {
texlive-latex-base \
texlive-latex-base \
ethtool \
ethtool \
flex \
flex \
gccxml \
gdb \
gdb \
git \
git \
graphviz \
graphviz \
...
@@ -516,7 +527,6 @@ check_install_oai_software() {
...
@@ -516,7 +527,6 @@ check_install_oai_software() {
iptables \
iptables \
iptables-dev \
iptables-dev \
libatlas-base-dev \
libatlas-base-dev \
libatlas-dev \
libblas-dev \
libblas-dev \
libconfig8-dev \
libconfig8-dev \
libffi-dev \
libffi-dev \
...
@@ -554,11 +564,9 @@ check_install_oai_software() {
...
@@ -554,11 +564,9 @@ check_install_oai_software() {
wget \
wget \
libxpm-dev
libxpm-dev
$SUDO update-alternatives --set liblapack.so /usr/lib/atlas-base/atlas/liblapack.so
$SUDO update-alternatives --set "$LAPACK_LIBNAME" "$LAPACK_TARGET"
$SUDO apt-get install -y nettle-dev nettle-bin
$SUDO apt-get install -y
libgnutls-dev
$SUDO apt-get install -y
nettle-dev nettle-bin
elif [[ "$OS_BASEDISTRO" == "fedora" ]]; then
elif [[ "$OS_BASEDISTRO" == "fedora" ]]; then
if [[ "$OS_DISTRO" == "rhel" ]] || [[ "$OS_DISTRO" == "centos" ]]; then
if [[ "$OS_DISTRO" == "rhel" ]] || [[ "$OS_DISTRO" == "centos" ]]; then
if rpm -q epel-release > /dev/null; then
if rpm -q epel-release > /dev/null; 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