[LLVMdev] Should there be official advice for 3.3 to definitely remove old llvm?
david.tweed at arm.com
Tue May 28 01:11:54 PDT 2013
Hi, slightly related
By the way, I ran in to a gotcha over the last weekend. I was doing some
(not very thorough) testing of the prerelase using a machine that I hadn't
used in a while on which I'd installed the repo at around just before the
3.1 release and did an update to the current trunk for 3.3, rebuilt and
invoked "make install". When trying to run some compile programs I got some
very confusing error messages, and it took me a while to realise that
1. This update crossed the "refactor some of the headers locations
into subdirectories" change, and
2. my test program was old and so happened to use some of the old
In this case every file, both old and new, can be found so there's no
illuminating "file not found" error to indicate the test program is
out-of-date; instead the mix of things totally confuses the compiler
I'm not sure if this is a case of a "stupid user who doesn't follow
elementary precautions" (ie, always run make uninstall) or if it's worth
noting in the release notes that, due to the user visible headers location
change, users should be especially careful to uninstall any old llvm before
installing the new version. Does anyone think this would be worthwhile?
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On
Behalf Of Eli Bendersky
Sent: 25 May 2013 00:02
To: Kyle Holzinger
Cc: LLVM Developers Mailing List
Subject: Re: [LLVMdev] Installing LLVM Tools
On Fri, May 24, 2013 at 3:27 PM, Kyle Holzinger <kholz at bu.edu> wrote:
So I just started looking into LLVM and I was wondering how to install the
LLVM tools suite. (Such as the llvm-as or lli commands in the terminal
described here: http://llvm.org/docs/CommandGuide
<http://llvm.org/docs/CommandGuide/> ). I have downloaded LLVM, Clang, the
test suite, and have run the build and make commands. I have looked around
on the website but I have not found a sufficient explanation of how to
install the tools. If it is on there, feel free to send a link, but if not I
would greatly appreciate any help.
Kyle, once you've built the tools they are in the bin/ directory in the
build location. You can also run "make install" to install them, as usual.
Alternatively, you can just invoke them directly from that bin/ directory.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev