summaryrefslogtreecommitdiff
path: root/tools/infrastructure
diff options
context:
space:
mode:
authorShobhit Adlakha <ShobhitAd@users.noreply.github.com>2021-07-09 16:42:43 -0400
committerGitHub <noreply@github.com>2021-07-09 16:42:43 -0400
commiteaec9b47a5e9b31c282cd0ef0dcdd0d8ed8e1a52 (patch)
treec5f83515ad39c5c858b8645c4170dec14ec0376d /tools/infrastructure
parent5a6ef2cf7260e1190bf3c23da8026f7e8c7eab8d (diff)
downloadsdl_core-eaec9b47a5e9b31c282cd0ef0dcdd0d8ed8e1a52.tar.gz
Feature/Update Minimum Supported Version to Ubuntu 18 (#3727)
* Remove references to ubuntu 16 in documentation * Remove older ssl ciphers from crypto manager * Fix style * Change logs for unsupported protocols * Update clang-format version to 8 and re-run style script * Apply suggestions from code review Co-authored-by: Collin <iCollin@users.noreply.github.com> * Drop support for openssl 1.0 * Remove some references to OPENSSL_1_1_VERSION Co-authored-by: Collin <iCollin@users.noreply.github.com>
Diffstat (limited to 'tools/infrastructure')
-rwxr-xr-xtools/infrastructure/check_style.sh2
-rwxr-xr-xtools/infrastructure/git-hooks/pre-commit6
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/infrastructure/check_style.sh b/tools/infrastructure/check_style.sh
index 006dd340d9..139d7952ee 100755
--- a/tools/infrastructure/check_style.sh
+++ b/tools/infrastructure/check_style.sh
@@ -27,7 +27,7 @@
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-FORMATER=clang-format-6.0
+FORMATER=clang-format-8
INSTALL_CMD="sudo apt-get install -f $FORMATER"
if [ "$1" = "--help" ]
diff --git a/tools/infrastructure/git-hooks/pre-commit b/tools/infrastructure/git-hooks/pre-commit
index 710f0656c3..57fe1ae887 100755
--- a/tools/infrastructure/git-hooks/pre-commit
+++ b/tools/infrastructure/git-hooks/pre-commit
@@ -72,10 +72,10 @@ if [ "$?" -ne "0" ]; then
exit 1
fi
-# Auto update c++ files with clang-format-6.0
-CLANG_FORMAT=clang-format-6.0
+# Auto update c++ files with clang-format-8
+CLANG_FORMAT=clang-format-8
# Verify clang-format
-CLANG_FORMAT_REQUIRED_VERSION=6.0
+CLANG_FORMAT_REQUIRED_VERSION=8.0
CLANG_FORMAT_CURRENT_VERSION=$($CLANG_FORMAT -version)
if [[ $CLANG_FORMAT_CURRENT_VERSION != *$CLANG_FORMAT_REQUIRED_VERSION* ]]
then