drm/imagination: Use the drm_sched_job_has_dependency helper
[drm/drm-misc.git] / scripts / min-tool-version.sh
blob91c91201212c41196c755c09d71c20d9e6cfb1c9
1 #!/bin/sh
2 # SPDX-License-Identifier: GPL-2.0-only
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.
8 set -e
10 if [ $# != 1 ]; then
11 echo "Usage: $0 toolname" >&2
12 exit 1
15 case "$1" in
16 binutils)
17 echo 2.25.0
19 gcc)
20 if [ "$ARCH" = parisc64 ]; then
21 echo 12.0.0
22 else
23 echo 5.1.0
26 llvm)
27 if [ "$SRCARCH" = s390 ]; then
28 echo 15.0.0
29 elif [ "$SRCARCH" = loongarch ]; then
30 echo 18.0.0
31 else
32 echo 13.0.1
35 rustc)
36 echo 1.78.0
38 bindgen)
39 echo 0.65.1
42 echo "$1: unknown tool" >&2
43 exit 1
45 esac