[yocto] LLVM linking for custom recipe

Giordon Stark kratsg at gmail.com
Thu Jun 8 13:42:07 PDT 2017


I have the following error message when trying to get LLVM linked up. The
problem is that I'm using a widely used science software called ROOT (
https://root.cern.ch/) with the following minimal recipe at the moment (
however I get the following error...

Any ideas?


| CMake Error at cmake/modules/SearchInstalledSoftware.cmake:662
|   By not providing "FindLLVM.cmake" in CMAKE_MODULE_PATH this project has
|   asked CMake to find a package configuration file provided by "LLVM", but
|   CMake did not find one.
|   Could not find a package configuration file provided by "LLVM" with any
|   the following names:
|     LLVMConfig.cmake
|     llvm-config.cmake
|   Add the installation prefix of "LLVM" to CMAKE_PREFIX_PATH or set
|   "LLVM_DIR" to a directory containing one of the above files.  If "LLVM"
|   provides a separate development package or SDK, be sure it has been
|   installed.
| Call Stack (most recent call first):
|   CMakeLists.txt:58 (include)
| -- Configuring incomplete, errors occurred!
| See also
| See also
exit 1 from 'cmake ${OECMAKE_SITEFILE}
-Dminuit2=ON -Dpython=ON -Dssl=ON -Dxrootd=ON -Dbuiltin_freetype=ON
-Dbuiltin_llvm=OFF ${PACKAGECONFIG_CONFARGS} -Wno-dev'
| ERROR: Function failed: do_configure (log file is located at
ERROR: Task (/local/d4/meta-l1calo/recipes-core/root/root_6.04.12.bb:do_configure)
failed with exit code '1'
NOTE: Tasks Summary: Attempted 1027 tasks of which 1024 didn't need to be
rerun and 1 failed.

Summary: 1 task failed:
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170608/e02e781e/attachment.html>

More information about the yocto mailing list