Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 681560 - sys-devel/llvm-8.0.0 - CMake Error at cmake/modules/AddLLVM.cmake:455 (add_library): Cannot find source file: /usr/include/cblas.h
Summary: sys-devel/llvm-8.0.0 - CMake Error at cmake/modules/AddLLVM.cmake:455 (add_li...
Status: RESOLVED DUPLICATE of bug 674662
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: LLVM support project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-23 16:34 UTC by Joonas Niilola
Modified: 2019-03-24 15:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
llvm-build.log (llvm-build.log,17.72 KB, text/plain)
2019-03-23 16:34 UTC, Joonas Niilola
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***