[cfe-dev] Clang 3.5 Release Pre-Pre-Pre-Announcement

Richard legalize at xmission.com
Fri May 16 13:00:12 PDT 2014


In article <53765DB4.8040009 at nuanti.com>,
    Alp Toker <alp at nuanti.com> writes:

> 
> On 16/05/2014 21:20, Richard wrote:
> > I have some packaging changes I'd like to see in place for the 3.5
> > packaging. [...]
> 
> So far the idea with the Windows installer has been to provide a 
> toolchain rather than a complete SDK, but it'd be nice to see if we can 
> head in that direction, perhaps with a separate SDK package.

Yes, this was stated before.

However, it makes no sense to me.

Why are we denying Windows users of the clang package libraries and
headers that we supply to the users on other platforms?

I see no reason for the platform disparity.

> CC'ing in Hans who has opinions on this.

This message didn't have any cc: header on it when I got it... FYI.

> Which files did you want to include specifically?

See <http://llvm.org/bugs/show_bug.cgi?id=19223>.

Libraries and headers for using the refactoring tool library code are
present in the unix distributions but not present in the Windows
distributions.

For this particular situation, the problem isn't that the build needs
a patch, it's that you need to stop setting
LLVM_INSTALL_TOOLCHAIN_ONLY=ON on the machine where you package up the
Windows package.

Off the top of my head I can think of two clang tools that would be
useful to developers of refactoring tools: clang-query and FileCheck.

clang-query wasn't in the package on any platform in 3.4, but the last
time I looked at 3.5 trunk, this was now packaged.  In the release 3.4
branch, clang-query also required libedit in order to be built at all
(which was really only fancy command editing, not required for the core
functionality).  This has also been fixed on 3.5 trunk.  I had a patch
for the version on 3.4 and when I went to see about submitting it to 3.5,
someone had already beaten me to it :).

FileCheck is useful in order to be able to run automated acceptance
tests of your command-line refactoring tool against source files.
Currently this file is not included in the package either, although it's
less important than clang-query.

When I was reviewing all the utilities that were being built and weren't
being included in any package, I believe I came across a few more that
would be useful, but clang-query and FileCheck are probably the most
important two.
-- 
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
     The Computer Graphics Museum <http://ComputerGraphicsMuseum.org>
         The Terminals Wiki <http://terminals.classiccmp.org>
  Legalize Adulthood! (my blog) <http://LegalizeAdulthood.wordpress.com>



More information about the cfe-dev mailing list