[PATCH] D113441: [bugpoint] Add options to support copying to remote host

Jessica Clarke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 8 16:11:39 PST 2021


jrtc27 created this revision.
jrtc27 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

We already have --remote-{client,host,port,user,extra-options} in order
to allow binaries to be run remotely via ssh. However, that bakes in the
assumption that "cd $PWD; ./$EXE" will work on the remote host, i.e.
that $PWD is a shared network directory and that the path to it is
identical on both hosts, which is normally not the case.

This adds --remote-copy, which takes the name of or path to an scp (or
compatible) program, mirroring --remote-client, and --remote-directory
as the location to which to copy the executable, which can also be used
on its own if you have a shared network directory but its path differs
between hosts.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D113441

Files:
  llvm/tools/bugpoint/ToolRunner.cpp
  llvm/tools/bugpoint/ToolRunner.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113441.385652.patch
Type: text/x-patch
Size: 4665 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211109/a0bb193e/attachment-0001.bin>


More information about the llvm-commits mailing list