[PATCH] [libcxxabi] Remove strict dependency on llvm-config.

Keno Fischer kfischer at college.harvard.edu
Mon Aug 25 18:20:20 PDT 2014


It ran though fine the first time, but I tried reconfiguring and I got:
```
cd libcxxabi-build && \
        cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX:PATH=/home/kfischer/julia-test/usr -DLLVM_PATH:PATH=/home/kfischer/julia-test/deps/llvm-svn -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/home/kfischer/julia-test/usr ../llvm-svn/projects/libcxxabi -DCMAKE_C_COMPILER="clang" -DCMAKE_CXX_COMPILER="clang++" -DLIBCXXABI_CXX_ABI_LIBRARIES="" -DCMAKE_CXX_FLAGS="-fno-stack-protector -cxxlib-nostd -static-intel -std=c++11"
-- Configuring done
You have changed variables that require your cache to be deleted.
Configure will be re-run and you may have to reset some variables.
The following variables have changed:
CMAKE_C_COMPILER= clang
CMAKE_CXX_COMPILER= clang++

-- The C compiler identification is 
-- The CXX compiler identification is
-- Check for working C compiler: /home/kfischer/clang/bin/clang
-- Check for working C compiler: /home/kfischer/clang/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /home/kfischer/clang/bin/clang++
-- Check for working CXX compiler: /home/kfischer/clang/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at CMakeLists.txt:49 (message):
  llvm-config not found and LLVM_MAIN_SRC_DIR not defined
``
any ideas?

http://reviews.llvm.org/D5016






More information about the cfe-commits mailing list