[all-commits] [llvm/llvm-project] 96e6cb: [libc++] Allow specifying arbitrary custom executo...

Louis Dionne via All-commits all-commits at lists.llvm.org
Thu Jun 11 13:24:55 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 96e6cbbf941d0f937b7e823433d4c222967a1817
      https://github.com/llvm/llvm-project/commit/96e6cbbf941d0f937b7e823433d4c222967a1817
  Author: Louis Dionne <ldionne at apple.com>
  Date:   2020-06-11 (Thu, 11 Jun 2020)

  Changed paths:
    M libcxx/test/CMakeLists.txt
    M libcxx/utils/libcxx/test/config.py
    M libcxxabi/test/CMakeLists.txt
    M libunwind/test/CMakeLists.txt

  Log Message:
  -----------
  [libc++] Allow specifying arbitrary custom executors with the new format

The integration between CMake and executor selection in the new format
wasn't very flexible -- only the default executor and SSH executors were
supported.

This patch makes it possible to specify arbitrary executors with the new
format. With the new testing format, a custom executor is just a script
that gets called with a command-line to execute, and some arguments like
--env, --codesign_identity and --execdir. As such, the default executor
is just run.py.

Remote execution with the SSH executor can be achived by specifying
LIBCXX_EXECUTOR="<path-to-ssh.py> --host <host>". Similarly, arbitrary
scripts can be provided.




More information about the All-commits mailing list