RFC: Fix 'make' build in clang/tools/extra

Hi!

Some days ago build in clang/tools/extra start fail

if i understand correctly 3 Makefiles must be adopted to use bitreader

the following fix problem for me Fedora 17/x64, latest trunk

Thanks,
Dmitry

$ pwd
/home/dimhen/src/llvm/tools/clang/tools/extra
$ svn diff -x-p
Index: loop-convert/Makefile

When did you last update? Chris Lattner committed this exact fix to clang-tools-extra Jan 19.

That said, I'm not really sure why this additional library is required. The tools in clang-tools-extra built and ran fine before. I also notice that the CMakeLists.txt don't link against asmparser, bitreader, or mc. Can anybody explain why these libs are necessary?

When did you last update? Chris Lattner committed this exact fix to clang-tools-extra Jan 19.

Last up approx. 08:00 UTC Jan 23, 2013

Dmitry

I just did a full autoconf build (debug build) of current trunk (llvm, clang, and tools-extra) with no failures. What's the nature of the problem you're seeing?

You are right. Clean build pass : svn co...; configure; make

I saw errs with incremental build : make update && make.

Sorry for noise.

Thanks in advance
Dmitry

'make update' currently does not update the clang-tools-extra
repository (patches welcome!)

Dmitri

You are right. Clean build pass : svn co...; configure; make

I saw errs with incremental build : make update && make.

'make update' currently does not update the clang-tools-extra
repository (patches welcome!)

alas, i was confused

http://clang.llvm.org/get_started.html
"You can update your toplevel LLVM project and all (possibly
unrelated) projects inside it with make update. This will run svn
update on all subdirectories related to subversion."

Thanks,
Dmitry

I have a patch in review on phab (D326) to fix this.