Hi Viktor, I did not see your patches, can you send them again. Here are the changes that I have made that seem to get remote execution working for bugpoint. I have not yet changed the test system to provide -remote- client and -remote-port. David -------------- next part -------------- A non-text attachment was scrubbed... Name: patch2 Type: application/octet-stream Size: 1906 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090710/2e553292/attachment.obj> -------------- next part -------------- On Jul 10, 2009, at 12:50 PM, Viktor Kutuzov wrote:> Hello David, > > I'm working on bugpoint. > > There are 2 patched out there for review that fix problems and make > remote execution work. > I'm looking at adding it to the test-suit and use make to run tests > remotely for cross-compilation (following Evan's suggestion). > > Let's coorddinate our effort. > > Best regards, > Viktor > > ----- Original Message ----- > From: "David Goodwin" <david_goodwin at apple.com> > To: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu> > Sent: Friday, July 10, 2009 12:23 PM > Subject: [LLVMdev] Heads up! Working on bugpoint > > >> I'm starting work on getting bugpoint working with remote execution >> for arm. Is anyone else working on this? >> >> David >> >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >> > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
David, Please find attached 2 diffs. Please notice that RemoteRunSafely.sh may get moved to the test suite sub-tree. We have targeted different areas fso far which is great. What's your plan? I have been thinking of using -run-custom and -safe-run-custom argumants for the cross-tools to keep bugpoint out of knowing any target details ans such. Best regards, Viktor ----- Original Message ----- From: "David Goodwin" <david_goodwin at apple.com> To: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu> Sent: Friday, July 10, 2009 1:26 PM Subject: Re: [LLVMdev] Heads up! Working on bugpoint> Hi Viktor, > > I did not see your patches, can you send them again. Here are the > changes that I have made that seem to get remote execution working for > bugpoint. I have not yet changed the test system to provide -remote- > client and -remote-port. > > David > > >--------------------------------------------------------------------------------> > > > > On Jul 10, 2009, at 12:50 PM, Viktor Kutuzov wrote: > >> Hello David, >> >> I'm working on bugpoint. >> >> There are 2 patched out there for review that fix problems and make >> remote execution work. >> I'm looking at adding it to the test-suit and use make to run tests >> remotely for cross-compilation (following Evan's suggestion). >> >> Let's coorddinate our effort. >> >> Best regards, >> Viktor >> >> ----- Original Message ----- >> From: "David Goodwin" <david_goodwin at apple.com> >> To: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu> >> Sent: Friday, July 10, 2009 12:23 PM >> Subject: [LLVMdev] Heads up! Working on bugpoint >> >> >>> I'm starting work on getting bugpoint working with remote execution >>> for arm. Is anyone else working on this? >>> >>> David >>> >>> _______________________________________________ >>> LLVM Developers mailing list >>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >>> >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > >--------------------------------------------------------------------------------> _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-------------- next part -------------- A non-text attachment was scrubbed... Name: makeAbsolute.patch Type: application/octet-stream Size: 2937 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090710/196e7251/attachment.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: ToolRunner.diff Type: application/octet-stream Size: 4218 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090710/196e7251/attachment-0001.obj>
I just checked in my changes to bugpoint and Makefile.programs in the test suite. These changes shouldn't conflict with yours. revision 75292 revision 75293 bugpoint now works for remote ARM if you run it directly from the command line. It doesn't work correctly when invoked from the test makefile because envvar PWD is being set to /bin/pwd and so causing GCC::ExecuteProgram to do the wrong thing. I'm not sure what is going on with that, perhaps something in the makefile hierarchy is setting PWD to /bin/pwd instead of executing that command to get the pwd. I will investigate. David On Jul 10, 2009, at 1:45 PM, Viktor Kutuzov wrote:> David, > > Please find attached 2 diffs. Please notice that RemoteRunSafely.sh > may get moved to the test suite sub-tree. > > We have targeted different areas fso far which is great. > What's your plan? > > I have been thinking of using -run-custom and -safe-run-custom > argumants for the cross-tools to keep bugpoint out of knowing any > target details ans such. > > Best regards, > Viktor > > ----- Original Message ----- From: "David Goodwin" <david_goodwin at apple.com > > > To: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu> > Sent: Friday, July 10, 2009 1:26 PM > Subject: Re: [LLVMdev] Heads up! Working on bugpoint > > >> Hi Viktor, >> >> I did not see your patches, can you send them again. Here are the >> changes that I have made that seem to get remote execution working >> for >> bugpoint. I have not yet changed the test system to provide -remote- >> client and -remote-port. >> >> David >> >> >> > > > -------------------------------------------------------------------------------- > > >> >> >> >> >> On Jul 10, 2009, at 12:50 PM, Viktor Kutuzov wrote: >> >>> Hello David, >>> >>> I'm working on bugpoint. >>> >>> There are 2 patched out there for review that fix problems and make >>> remote execution work. >>> I'm looking at adding it to the test-suit and use make to run tests >>> remotely for cross-compilation (following Evan's suggestion). >>> >>> Let's coorddinate our effort. >>> >>> Best regards, >>> Viktor >>> >>> ----- Original Message ----- >>> From: "David Goodwin" <david_goodwin at apple.com> >>> To: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu> >>> Sent: Friday, July 10, 2009 12:23 PM >>> Subject: [LLVMdev] Heads up! Working on bugpoint >>> >>> >>>> I'm starting work on getting bugpoint working with remote execution >>>> for arm. Is anyone else working on this? >>>> >>>> David >>>> >>>> _______________________________________________ >>>> LLVM Developers mailing list >>>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >>>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >>>> >>> _______________________________________________ >>> LLVM Developers mailing list >>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >> >> > > > -------------------------------------------------------------------------------- > > >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > < > makeAbsolute > .patch > ><ToolRunner.diff>_______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev