On 10/13/26 13:40, Mark Brown wrote:
The kselftest_deps.sh script currently takes a compiler as the first
argument and uses it to check that libraries needed by the selftests
are installed.  This works well for GCC where a separate binary is
provided for each target architecture but is less of a good fit for
LLVM where a single compiler binary can target all of the supported
architetures.  Extend the script to accept "LLVM" as the compiler with
an additional optional ARCH= argument so that it can be used when
building with LLVM in a similar fashion to how the actual build works.

The duplication with the main Makefile isn't ideal here.

Signed-off-by: Mark Brown <[email protected]>
---
  tools/testing/selftests/kselftest_deps.sh | 83 +++++++++++++++++++++++++++++--
  1 file changed, 80 insertions(+), 3 deletions(-)


Thank you Mark.

Looks good to me. I will wait for others to chime in and will
apply this for 7.4-rc1

thanks,
-- Shuah

Reply via email to