Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 681560

Summary: sys-devel/llvm-8.0.0 - CMake Error at cmake/modules/AddLLVM.cmake:455 (add_library): Cannot find source file: /usr/include/cblas.h
Product: Gentoo Linux Reporter: Joonas Niilola <juippis>
Component: Current packagesAssignee: LLVM support project <llvm>
Status: RESOLVED DUPLICATE    
Severity: normal CC: mgorny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: llvm-build.log

Description Joonas Niilola gentoo-dev 2019-03-23 16:34:37 UTC
Created attachment 570444 [details]
llvm-build.log

##########
-- Configuring done
CMake Error at cmake/modules/AddLLVM.cmake:455 (add_library):
  Cannot find source file:

    /usr/include/cblas.h

  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
  .hpp .hxx .in .txx
Call Stack (most recent call first):
  cmake/modules/AddLLVM.cmake:626 (llvm_add_library)
  lib/Support/CMakeLists.txt:47 (add_llvm_library)


CMake Error at cmake/modules/AddLLVM.cmake:455 (add_library):
  Cannot find source file:

    /usr/include/cblas.h
##########

etc.

Resolved by manually emerging virtual/cblas that pulled:

  [ebuild  N     ] virtual/fortran-0::gentoo  USE="openmp" 0 KiB
  [ebuild  N     ] app-eselect/eselect-cblas-0.1::gentoo  0 KiB
  [ebuild  N     ] app-eselect/eselect-blas-0.1::gentoo  0 KiB
  [ebuild  N     ] sci-libs/blas-reference-20161223::gentoo  USE="-doc" 0 KiB
  [ebuild  N     ] virtual/blas-3.7::gentoo  0 KiB
  [ebuild  N     ] sci-libs/cblas-reference-20161223::gentoo  0 KiB
  [ebuild  N     ] virtual/cblas-3.7::gentoo  0 KiB

  sci-libs/cblas-reference-20161223 (/usr/lib64/blas/reference/cblas.h)
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-03-24 15:32:34 UTC

*** This bug has been marked as a duplicate of bug 674662 ***