[cfe-dev] 'make install' fails to find libclang_rt.cc_kext.a...?

Justin Bogner via cfe-dev cfe-dev at lists.llvm.org
Wed Nov 18 16:46:35 PST 2015


Justin Bogner <mail at justinbogner.com> writes:
> Sean McBride via cfe-dev <cfe-dev at lists.llvm.org> writes:
>> Hi again,
>>
>> So I tried a trivial installation based on the website 'get started'
>> page.  I did exactly this:
>>
>> mkdir ~/llvm-test
>> cd ~/llvm-test
>> svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm
>> cd llvm/tools
>> svn co http://llvm.org/svn/llvm-project/cfe/trunk clang
>> cd ../..
>> cd llvm/projects
>> svn co http://llvm.org/svn/llvm-project/compiler-rt/trunk compiler-rt
>> cd ../..
>> mkdir build
>> mkdir install
>> cd build
>> cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=~/llvm-test/install ../llvm
>> make -j16 install
>>
>> and again get:
>>
>>   file INSTALL cannot find
>>   "/Users/sean/llvm-test/build/./lib/clang/3.8.0/lib/darwin/libclang_rt.cc_kext.a".
>>
>> I repro this on two different Macs, one 10.10 and one 10.11.  Am I
>> really the only one seeing this?
>
> I'm seeing this as well on a fresh build and install. Chris: could this
> be related to some of your recent changes in the area?

FWIW, it looks like it's just a missing dependency in the build graph.
If you run `make lib/clang/3.8.0/lib/darwin/libclang_rt.cc_kext.a` that
file gets built and install gets further. Do that again for a couple of
other similarly named files and install works again.



More information about the cfe-dev mailing list