[all-commits] [llvm/llvm-project] 01fdc2: [Utils] Refactor update_cc_test_checks.py to use s...

jmciver via All-commits all-commits at lists.llvm.org
Wed Sep 21 10:55:51 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 01fdc2a3c9e0df4e54bb9b88f385f68e7b0d808c
      https://github.com/llvm/llvm-project/commit/01fdc2a3c9e0df4e54bb9b88f385f68e7b0d808c
  Author: John McIver <john.mciver.iii at gmail.com>
  Date:   2022-09-21 (Wed, 21 Sep 2022)

  Changed paths:
    M llvm/utils/update_cc_test_checks.py

  Log Message:
  -----------
  [Utils] Refactor update_cc_test_checks.py to use shutil

The package `distutils` is deprecated and removal is planned for Python 3.12. All calls to `distutils.spawn.find_executable` are replaced with local version of `find_executable` which makes use of `shutils.which`.

Reviewed By: arichardson, MaskRay

Differential Revision: https://reviews.llvm.org/D134015




More information about the All-commits mailing list