This repository was archived by the owner on Nov 2, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +11
-10
lines changed
Expand file tree Collapse file tree 4 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 33yum install -y epel-release
44yum install -y libxslt-devel libssh-devel python-devel cmake3 python-pip which make sudo > /dev/null
55./dependencies_gnmi.sh
6- yum install -y https://devhub.cisco.com/artifactory/rpm-ydk/0.8.0/libydk-0.8.0-1.x86_64.rpm > /dev/null
7- yum install https://devhub.cisco.com/artifactory/rpm-ydk/0.8.0/libydk_gnmi_0.4.0-1.x86_64.rpm > /dev/null
6+
7+ yum install -y https://devhub.cisco.com/artifactory/rpm-ydk/0.8.1/libydk-0.8.1-1.x86_64.rpm > /dev/null
8+ yum install https://devhub.cisco.com/artifactory/rpm-ydk/0.8.1/libydk_gnmi_0.4.0-1.x86_64.rpm > /dev/null
89
910yum install centos-release-scl -y > /dev/null
1011yum install devtoolset-4-gcc* -y > /dev/null
Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ function install_libssh {
2525
2626function install_libydk {
2727 print_msg " Installing YDK C++ core library"
28- curl -O https://devhub.cisco.com/artifactory/osx-ydk/0.8.0 /libydk-0.8.0 -Darwin.pkg
29- sudo installer -pkg libydk-0.8.0 -Darwin.pkg -target /
28+ curl -O https://devhub.cisco.com/artifactory/osx-ydk/0.8.1 /libydk-0.8.1 -Darwin.pkg
29+ sudo installer -pkg libydk-0.8.1 -Darwin.pkg -target /
3030}
3131
3232# Terminal colors
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ sudo ln -f -s /usr/bin/g++-5 /usr/bin/c++
2121sudo ln -f -s /usr/bin/gcc-5 /usr/bin/cc
2222
2323print_msg " Installing YDK C++ core library"
24- git clone https://github.com/ciscodevnet/ydk-cpp.git -b 0.8.0
24+ git clone https://github.com/ciscodevnet/ydk-cpp.git -b 0.8.1
2525mkdir ydk-cpp/core/ydk/build
2626cd ydk-cpp/core/ydk/build
2727cmake -DCMAKE_BUILD_TYPE=Release ..
Original file line number Diff line number Diff line change @@ -37,15 +37,15 @@ ln -fs /usr/bin/gcc-5 /usr/bin/cc
3737
3838print_msg " Installing YDK 0.8.0 core library"
3939if [[ $os_info == * " xenial" * ]]; then
40- run_cmd wget https://devhub.cisco.com/artifactory/debian-ydk/0.8.0 /xenial/libydk_0.8.0 -1_amd64.deb
41- run_cmd wget https://devhub.cisco.com/artifactory/debian-ydk/0.8.0 /xenial/libydk_gnmi_0.4.0 -1_amd64.deb
40+ run_cmd wget https://devhub.cisco.com/artifactory/debian-ydk/0.8.1 /xenial/libydk_0.8.1 -1_amd64.deb
41+ run_cmd wget https://devhub.cisco.com/artifactory/debian-ydk/0.8.1 /xenial/libydk_gnmi_0.4.1 -1_amd64.deb
4242elif [[ $os_info == * " bionic" * ]]; then
43- run_cmd wget https://devhub.cisco.com/artifactory/debian-ydk/0.8.0 /bionic/libydk_0.8.0 -1_amd64.deb
44- run_cmd wget https://devhub.cisco.com/artifactory/debian-ydk/0.8.0 /bionic/libydk_gnmi_0.4.0-1_amd64.deb
43+ run_cmd wget https://devhub.cisco.com/artifactory/debian-ydk/0.8.1 /bionic/libydk_0.8.1 -1_amd64.deb
44+ run_cmd wget https://devhub.cisco.com/artifactory/debian-ydk/0.8.1 /bionic/libydk_gnmi_0.4.0-1_amd64.deb
4545else
4646 MSG_COLOR=$RED
4747 print_msg " There are no pre-compiled YDK libraries for this Linux distribution"
4848 exit 1
4949fi
50- gdebi -n libydk_0.8.0 -1_amd64.deb
50+ gdebi -n libydk_0.8.1 -1_amd64.deb
5151gdebi -n libydk_gnmi_0.4.0-1_amd64.deb
You can’t perform that action at this time.
0 commit comments