[llvm-dev] CMake is broken in Ubuntu 3.8 package?

slycelote via llvm-dev llvm-dev at lists.llvm.org
Sat Apr 9 20:49:41 PDT 2016


I'm getting the following error in Travis. Looks like it tries to
include a file at /usr/share/llvm, but the correct path is
/usr/share/llvm-3.8.
3.6 and 3.7 are fine.

echo "deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.8 main"
| sudo tee -a /etc/apt/sources.list > /dev/null

<skip>

CMake Error at /usr/share/llvm-3.8/cmake/LLVMConfig.cmake:178 (include):

include could not find load file:

/usr/share/llvm/cmake/LLVMExports.cmake

Call Stack (most recent call first):

CMakeLists.txt:9 (find_package)

CMake Error at /usr/share/llvm-3.8/cmake/LLVMConfig.cmake:181 (include):

include could not find load file:

/usr/share/llvm/cmake/LLVM-Config.cmake

Call Stack (most recent call first):

CMakeLists.txt:9 (find_package)

-- 
Sly.



More information about the llvm-dev mailing list