Changed Boost build path to mirror and disabled build failure for CentOS 6 due to lack of GoBGP

This commit is contained in:
Pavel Odintsov 2020-06-06 17:44:01 +01:00
parent f98190e6b5
commit 3f31ac3f51
2 changed files with 7 additions and 1 deletions

View File

@ -1555,7 +1555,8 @@ sub install_boost {
print "Install Boost dependencies\n";
print "Download Boost source code\n";
my $boost_download_result = download_file("https://dl.bintray.com/boostorg/release/1.72.0/source/boost_1_72_0.tar.bz2", $archive_file_name, '88866e4075e12255e7a7189d0b8a686e0b1ee9c1');
# Official site: https://dl.bintray.com/boostorg/release/1.72.0/source/boost_1_72_0.tar.bz2 but it's dead now
my $boost_download_result = download_file("http://mirror.nienbo.com/boost/1.72.0/boost_1_72_0.tar.bz2", $archive_file_name, '88866e4075e12255e7a7189d0b8a686e0b1ee9c1');
unless ($boost_download_result) {
fast_die("Can't download Boost source code\n");

View File

@ -119,6 +119,11 @@ my $gobgp_folder_name = "gobgp_2_16_0";
mkdir "$target_path/$gobgp_folder_name";
for my $gobgp_binary ('gobgp', 'gobgpd') {
unless (-e "$global_path/$gobgp_folder_name/$gobgp_binary") {
warn "GoBGP binary $gobgp_binary does not exist\n";
next;
}
my $gobgp_copy_result = copy("$global_path/$gobgp_folder_name/$gobgp_binary",
"$target_path/$gobgp_folder_name/$gobgp_binary");