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

Sean McBride via cfe-dev cfe-dev at lists.llvm.org
Wed Nov 18 12:02:04 PST 2015


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?

Thanks,

Sean


On Mon, 16 Nov 2015 23:12:49 -0500, Sean McBride via cfe-dev said:

>Hi all,
>
>For a couple of days now I've been unable to build clang trunk; well, it
>builds, but fails installing:
>
>-- Installing: /Users/sean/llvm/llvm-rel-install/lib/clang/3.8.0/include/
>sanitizer/tsan_interface_atomic.h
>CMake Error at projects/compiler-rt/lib/builtins/cmake_install.cmake:31
>(file):
>  file INSTALL cannot find
>  "/Users/sean/llvm/llvm-rel-bin/./lib/clang/3.8.0/lib/darwin/
>libclang_rt.cc_kext.a".
>Call Stack (most recent call first):
>  projects/compiler-rt/lib/cmake_install.cmake:32 (include)
>  projects/compiler-rt/cmake_install.cmake:33 (include)
>  projects/cmake_install.cmake:33 (include)
>  cmake_install.cmake:55 (include)
>
>Indeed there is no such file at that path.  Searching for files with
>'kext' finds libclang_rt.cc_kext_i386_osx.a and
>libclang_rt.cc_kext_x86_64_osx.a in /Users/sean/llvm/llvm-rel-bin/lib however.
>
>I'm doing a pretty valilla build with OS X 10.10.5, Xcode 7.1.1, and
>CMake 3.4.
>
>Is no one else having these build troubles?
>
>Thanks,
>
>-- 
>____________________________________________________________
>Sean McBride, B. Eng                 sean at rogue-research.com
>Rogue Research                        www.rogue-research.com 
>Mac Software Developer              Montréal, Québec, Canada





More information about the cfe-dev mailing list