[LLVMdev] Build/Install of LLVM without root access
Bryan Ewbank
Bryan.Ewbank at sas.com
Tue Jan 7 08:39:12 PST 2014
I am using the source distribution, and the first puzzle is that it doesn't seem to match with the installation instructions from svn. E.g., svn talks about llvm, cfe, compiler-rt, etc; however, the source is in many differently named *.tar.gz files:
clang-3.4.src.tar.gz libcxx-3.4.src.tar.gz polly-3.4.src.tar.gz
clang-tools-extra-3.4.src.tar.gz lld-3.4.src.tar.gz test-suite-3.4.src.tar.gz
compiler-rt-3.4.src.tar.gz lldb-3.4.src.tar.gz
dragonegg-3.4.src.tar.gz llvm-3.4.src.tar.gz
So, how do I shuffle/merge the content of the tar.gz files to produce the source tree that would result from the various svn actions described in http://clang.llvm.org/get_started.html (etc)?
-- Bryan
From: Renato Golin [mailto:renato.golin at linaro.org]
Sent: Tuesday, January 07, 2014 10:48 AM
To: Bryan Ewbank
Cc: llvmdev at cs.uiuc.edu
Subject: Re: [LLVMdev] Build/Install of LLVM without root access
Hi Bryan,
Are you using source or binary distribution?
If source, try using configure with --prefix=/some/dir/you/have/write/access or the equivalent -DCMAKE_INSTALL_PREFIX=...
If binary, just unzipping the file to a local dir would be enough, if you call the binary with full path. Otherwise, put the bin directory in your path, and it should just work.
cheers,
--renato
On 7 January 2014 15:35, Bryan Ewbank <Bryan.Ewbank at sas.com<mailto:Bryan.Ewbank at sas.com>> wrote:
Hi Folks,
I am trying to figure out how to install LLVM as a user on a *NIX machine rather than as root. Is there any reference to doing this successfully? I keep running into problems with locations not writeable or obsolete versions of tools on which LLVM is dependent.
Thank you for any pointers or references,
--Bryan Ewbank, Software Language Developer. www.sas.com<http://www.sas.com>
_______________________________________________
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu<mailto:LLVMdev at cs.uiuc.edu> http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140107/a69a0e3f/attachment.html>
More information about the llvm-dev
mailing list