Skip to content
This repository was archived by the owner on Nov 2, 2023. It is now read-only.

Commit 22cb8ce

Browse files
author
ygorelik
committed
Changed libydk artifact location
1 parent 76c35c7 commit 22cb8ce

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

dependencies_centos.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
yum install -y epel-release
44
yum 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

910
yum install centos-release-scl -y > /dev/null
1011
yum install devtoolset-4-gcc* -y > /dev/null

dependencies_osx.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ function install_libssh {
2525

2626
function 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

dependencies_trusty.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ sudo ln -f -s /usr/bin/g++-5 /usr/bin/c++
2121
sudo ln -f -s /usr/bin/gcc-5 /usr/bin/cc
2222

2323
print_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
2525
mkdir ydk-cpp/core/ydk/build
2626
cd ydk-cpp/core/ydk/build
2727
cmake -DCMAKE_BUILD_TYPE=Release ..

dependencies_xenial.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ ln -fs /usr/bin/gcc-5 /usr/bin/cc
3737

3838
print_msg "Installing YDK 0.8.0 core library"
3939
if [[ $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
4242
elif [[ $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
4545
else
4646
MSG_COLOR=$RED
4747
print_msg "There are no pre-compiled YDK libraries for this Linux distribution"
4848
exit 1
4949
fi
50-
gdebi -n libydk_0.8.0-1_amd64.deb
50+
gdebi -n libydk_0.8.1-1_amd64.deb
5151
gdebi -n libydk_gnmi_0.4.0-1_amd64.deb

0 commit comments

Comments
 (0)