[LLVMdev] Build/Install of LLVM without root access
Bryan Ewbank
Bryan.Ewbank at sas.com
Tue Jan 7 12:02:06 PST 2014
Thanks for all the information on build and source hierarchy. I have to give up for now because I have gcc 3.4.6, which dies a miserable death when I attempt to compile LLVM....
In file included from llvm-3.4/lib/Support/ConstantRange.cpp:24:
IR/InstrTypes.h: In static member function `static bool llvm::TerminatorInst::classof(const llvm::Value*)':
IR/InstrTypes.h:80: error: call of overloaded `cast(const llvm::Value*&)' is ambiguous
Support/Casting.h:231: note: candidates are: typename llvm::cast_retty<To, From>::ret_type llvm::cast(Y&) [with X = llvm::Instruction, Y = const llvm::Value*]
Support/Casting.h:238: note: typename llvm::cast_retty<X, Y*>::ret_type llvm::cast(Y*) [with X = llvm::Instruction, Y = const llvm::Value]
Rats. Off to find a newer gcc (and all that it requires).
Again, thanks for your help!
-- Bryan
From: Renato Golin [mailto:renato.golin at linaro.org]
Sent: Tuesday, January 07, 2014 2:02 PM
To: Bryan Ewbank
Cc: John Leidel (jleidel); llvmdev at cs.uiuc.edu
Subject: Re: [LLVMdev] Build/Install of LLVM without root access
On 7 January 2014 17:52, Bryan Ewbank <Bryan.Ewbank at sas.com<mailto:Bryan.Ewbank at sas.com>> wrote:
How do I use the *src.tar.gz files from the llvm 3.4 downloads page? I understand the layout produced by the svn actions, but if I have just the tarballs, do I simply replace "svn co" with "tar -xvzf" in the sequence? How do the names of the tarballs map to the names of the svn projects?
The source tar ball structure should be identical to the svn/git repository checkout. Simply replacing svn for tar should do the trick, yes.
cheers,
--renato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140107/b6e9fc33/attachment.html>
More information about the llvm-dev
mailing list