summaryrefslogtreecommitdiffstats
path: root/scripts/build-packages.sh
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2020-10-05 11:48:55 +0200
committerMauro Sardara <msardara@cisco.com>2020-10-05 11:48:55 +0200
commitdf519210ecd209b424ff52bc37975e4125369c06 (patch)
tree218651d95abd826ac1f2e3a728d5a23f1bd54347 /scripts/build-packages.sh
parent1c74ce63de2361ca18a80e2a5a28357a81e0e455 (diff)
[HICN-643] Fix build-packages script.
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I2fafaba28d2a7f31bef01701ccc195cc1f89f7c6
Diffstat (limited to 'scripts/build-packages.sh')
-rw-r--r--scripts/build-packages.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/scripts/build-packages.sh b/scripts/build-packages.sh
index f5e82a1a6..c2ccd2b65 100644
--- a/scripts/build-packages.sh
+++ b/scripts/build-packages.sh
@@ -157,8 +157,6 @@ setup() {
echo ${DEPS_CENTOS} | xargs sudo yum install -y --nogpgcheck
sudo yum install -y --nogpgcheck devtoolset-7
- c++ --version
-
CXX_COMPILER="/opt/rh/devtoolset-7/root/usr/bin/c++"
CC_COMPILER="/opt/rh/devtoolset-7/root/usr/bin/cc"
@@ -167,9 +165,6 @@ setup() {
export CC=${CC_COMPILER} CXX=${CXX_COMPILER}
fi
-
- # do nothing but check compiler version
- c++ --version
}
@@ -183,10 +178,6 @@ install_collectd_headers() {
if [ "${DISTRIB_ID}" == "ubuntu" ]; then
sudo apt-get install collectd-dev -y --allow-unauthenticated
-
- if [ "${VERSION_CODENAME}" == "xenial" ]; then
- awk '/config.h/ { print; print "#include \"collectd/liboconfig/oconfig.h\""; next }1' /usr/include/collectd/core/daemon/configfile.h | sudo tee /usr/include/collectd/core/daemon/configfile.h
- fi
elif [ "${DISTRIB_ID}" == "centos" ]; then
wget https://storage.googleapis.com/collectd-tarballs/collectd-5.9.2.tar.bz2
tar -xf collectd-5.9.2.tar.bz2