Revert "Fix: Add missing sctp.h header file to sonarqube cmake/build" 30/71130/1
authorAnil Belur <abelur@linuxfoundation.org>
Mon, 9 Jan 2023 08:11:25 +0000 (18:11 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Mon, 9 Jan 2023 22:14:09 +0000 (08:14 +1000)
This reverts commit 5c69133bfea3ca1b895219b509b9c1353e122c4c.

The changes being installed runtime through the global-jjb scripts
should be moved into the ansible-roles repo.

Change-Id: I31a03f97cee285ea1bdb1227e4f150ac1f5f8b9d
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
releasenotes/notes/fix-missing-sctp-header-36d78588c6d1a644.yaml [deleted file]
shell/cmake-sonarqube.sh

diff --git a/releasenotes/notes/fix-missing-sctp-header-36d78588c6d1a644.yaml b/releasenotes/notes/fix-missing-sctp-header-36d78588c6d1a644.yaml
deleted file mode 100644 (file)
index a27561e..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
----
-fixes:
-  - |
-    Address missing sctp.h header file during sonarqube cmake/build
index da433b2..d335419 100644 (file)
@@ -15,20 +15,6 @@ echo "---> cmake-sonarqube.sh"
 
 set -eux -o pipefail
 
-# Add missing sctp.h header file to prevent cmake/build failure
-if (grep Ubuntu /etc/os-release > /dev/null 2>&1); then
-    echo "Installing libsctp-dev dependency for Ubuntu"
-    sudo apt-get update
-    sudo apt-get install -y libsctp-dev
-elif (grep RedHat /etc/os-release > /dev/null 2>&1) || \
-     (grep CentOS /etc/os-release > /dev/null 2>&1); then
-    echo "Installing lksctp-tools-devel dependency for CentOS/RedHat"
-    sudo yum install -y lksctp-tools-devel
-else
-    echo "Unmatched OS/Distribution"
-    echo "Missing sctp library not installed"
-fi
-
 build_dir="${BUILD_DIR:-$WORKSPACE/build}"
 build_wrap_dir="${BUILD_WRAP_DIR:-$WORKSPACE/bw-output}"
 cmake_opts="${CMAKE_OPTS:-}"