[cfe-dev] c++-analyzer on llvm-clang svn r178133
Dmitri Gribenko
gribozavr at gmail.com
Fri Mar 29 04:20:15 PDT 2013
On Fri, Mar 29, 2013 at 12:07 PM, John Smith <lbalbalba at gmail.com> wrote:
> On Thu, Mar 28, 2013 at 8:46 PM, Dmitri Gribenko <gribozavr at gmail.com> wrote:
>>
>> It is in Python. Here's what it takes to build LLVM+Clang+everything else:
>>
>> http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/ClangAndLLDBuilder.py?revision=176979&view=markup
>>
>> Here's buildbot documentation:
>>
>> http://buildbot.net/buildbot/docs/0.8.7p1/
>>
>> Dmitri
>>
>
> Thanks for the links. Looks like I have a real reason to start to
> learn python now. At least some of the stuff appears to execute
> regular shell commands, so that's at least familiar. Though I doubt
> anyone is willing to accept a line by line translation from my shell
> script in python 'ShellCommand' stuff. ;)
>
> I guess Ill start by trying to set up a buildbot master/slave on my
> machine, and see if I can get that running.
>
> Something that might become an issue though: buildbot doesnt run as
> 'root', and you need root to install a new llvm/clang.Is running stuff
> as root an issue ?
You can install clang to a different directory (that is writable by an
unprivileged user). You need to pass --prefix to configure or
-DCMAKE_INSTALL_PREFIX= to CMake.
Dmitri
--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
More information about the cfe-dev
mailing list