Loading...
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.25.0
18 ;;
19gcc)
20 echo 5.1.0
21 ;;
22icc)
23 # temporary
24 echo 16.0.3
25 ;;
26llvm)
27 if [ "$SRCARCH" = s390 ]; then
28 echo 15.0.0
29 else
30 echo 11.0.0
31 fi
32 ;;
33rustc)
34 echo 1.62.0
35 ;;
36bindgen)
37 echo 0.56.0
38 ;;
39*)
40 echo "$1: unknown tool" >&2
41 exit 1
42 ;;
43esac
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.25.0
18 ;;
19gcc)
20 if [ "$ARCH" = parisc64 ]; then
21 echo 12.0.0
22 else
23 echo 5.1.0
24 fi
25 ;;
26llvm)
27 if [ "$SRCARCH" = s390 ]; then
28 echo 15.0.0
29 elif [ "$SRCARCH" = loongarch ]; then
30 echo 18.0.0
31 else
32 echo 11.0.0
33 fi
34 ;;
35rustc)
36 echo 1.74.1
37 ;;
38bindgen)
39 echo 0.65.1
40 ;;
41*)
42 echo "$1: unknown tool" >&2
43 exit 1
44 ;;
45esac