gentoo / gentoo-rust

[MIRROR] Rust packages
https://gitweb.gentoo.org/repo/proj/rust.git
80 stars 52 forks source link

Add virtual/cblas dependency #392

Open Alex-Gorny opened 5 years ago

Alex-Gorny commented 5 years ago

Please add virtual/cblas dependency to dev-lang/rust dev-lang/rust cannot be built if virtual/cblas is not installed.

CMake Error at cmake/modules/AddLLVM.cmake:459 (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:622 (llvm_add_library)
  lib/Support/CMakeLists.txt:47 (add_llvm_library)
stefson commented 5 years ago

gentoo bug about this: https://bugs.gentoo.org/674662

gyakovlev commented 5 years ago

cblas is not needed. clean up stale symlinks on the system

in ::gentoo we carry this patch to avoid this. https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-lang/rust/files/1.32.0-fix-configure-of-bundled-llvm.patch

cnd commented 5 years ago

guess patch can be ported to overlay to close this