On Thu, Jun 8, 2017 at 1:42 PM, Giordon Stark <kra...@gmail.com> wrote: > Hi, > > 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 > (https://github.com/kratsg/meta-l1calo/blob/master/recipes-core/root/root_6.04.12.bb) > however I get the following error... > > Any ideas?
Look into meta-clang there are patches for cross compiling clang/llvm https://github.com/kraj/meta-clang > > Giordon > > | CMake Error at cmake/modules/SearchInstalledSoftware.cmake:662 > (find_package): > | 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 > of > | 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 > "/local/d4/poky/build/tmp/work/aarch64-poky-linux/root/6.04.12-r0/build/CMakeFiles/CMakeOutput.log". > | See also > "/local/d4/poky/build/tmp/work/aarch64-poky-linux/root/6.04.12-r0/build/CMakeFiles/CMakeError.log". > | WARNING: > /local/d4/poky/build/tmp/work/aarch64-poky-linux/root/6.04.12-r0/temp/run.do_configure.16761:1 > exit 1 from 'cmake ${OECMAKE_SITEFILE} > /local/d4/poky/build/tmp/work/aarch64-poky-linux/root/6.04.12-r0/root-6.04.12 > -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_BINDIR:PATH=bin > -DCMAKE_INSTALL_SBINDIR:PATH=sbin -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec > -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc > -DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=../com > -DCMAKE_INSTALL_LOCALSTATEDIR:PATH=/var -DCMAKE_INSTALL_LIBDIR:PATH=lib > -DCMAKE_INSTALL_INCLUDEDIR:PATH=include > -DCMAKE_INSTALL_DATAROOTDIR:PATH=share -DCMAKE_INSTALL_SO_NO_EXE=0 > -DCMAKE_TOOLCHAIN_FILE=/local/d4/poky/build/tmp/work/aarch64-poky-linux/root/6.04.12-r0/toolchain.cmake > -DCMAKE_VERBOSE_MAKEFILE=1 -DCMAKE_NO_SYSTEM_FROM_IMPORTED=1 -Drootfit=ON > -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 > /local/d4/poky/build/tmp/work/aarch64-poky-linux/root/6.04.12-r0/temp/log.do_configure.16761) > 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: > /local/d4/meta-l1calo/recipes-core/root/root_6.04.12.bb:do_configure > Summary: There was 1 ERROR message shown, returning a non-zero exit code. > > > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto > -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto