]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - scripts/min-tool-version.sh
dpaa2-switch: Fix memory leak in dpaa2_switch_acl_entry_add() and dpaa2_switch_acl_en...
[mirror_ubuntu-jammy-kernel.git] / scripts / min-tool-version.sh
CommitLineData
e24b3ffc
MY
1#!/bin/sh
2# SPDX-License-Identifier: GPL-2.0-only
3#
4# Print the minimum supported version of the given tool.
5# When you raise the minimum version, please update
6# Documentation/process/changes.rst as well.
7
8set -e
9
10if [ $# != 1 ]; then
11 echo "Usage: $0 toolname" >&2
12 exit 1
13fi
14
15case "$1" in
16binutils)
17 echo 2.23.0
18 ;;
19gcc)
76ae8474 20 echo 5.1.0
e24b3ffc
MY
21 ;;
22icc)
23 # temporary
24 echo 16.0.3
25 ;;
26llvm)
e2bc3e91
NC
27 # https://lore.kernel.org/r/YMtib5hKVyNknZt3@osiris/
28 if [ "$SRCARCH" = s390 ]; then
29 echo 13.0.0
30 else
31 echo 10.0.1
32 fi
e24b3ffc
MY
33 ;;
34*)
35 echo "$1: unknown tool" >&2
36 exit 1
37 ;;
38esac