Commit | Line | Data |
---|---|---|
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 | ||
8 | set -e | |
9 | ||
10 | if [ $# != 1 ]; then | |
11 | echo "Usage: $0 toolname" >&2 | |
12 | exit 1 | |
13 | fi | |
14 | ||
15 | case "$1" in | |
16 | binutils) | |
e4412739 | 17 | echo 2.25.0 |
e24b3ffc MY |
18 | ;; |
19 | gcc) | |
76ae8474 | 20 | echo 5.1.0 |
e24b3ffc | 21 | ;; |
e24b3ffc | 22 | llvm) |
e2bc3e91 | 23 | if [ "$SRCARCH" = s390 ]; then |
30d17fac | 24 | echo 15.0.0 |
e2bc3e91 | 25 | else |
df05c0e9 | 26 | echo 11.0.0 |
e2bc3e91 | 27 | fi |
e24b3ffc | 28 | ;; |
78521f33 MO |
29 | rustc) |
30 | echo 1.62.0 | |
31 | ;; | |
32 | bindgen) | |
33 | echo 0.56.0 | |
34 | ;; | |
e24b3ffc MY |
35 | *) |
36 | echo "$1: unknown tool" >&2 | |
37 | exit 1 | |
38 | ;; | |
39 | esac |