CLAPACK com cmake no Ubuntu

0

Estou tentando instalar algo usando cmake .

sudo cmake ~/Repositories/siconos/
-- Checking to see if CXX compiler accepts flag -D__aligned__=ignored
-- Checking to see if CXX compiler accepts flag -D__aligned__=ignored - yes
-- Performing Test C_HAVE_-D__aligned__=ignored
-- Performing Test C_HAVE_-D__aligned__=ignored - Success
-- Performing Test C_HAVE_-std=c99
-- Performing Test C_HAVE_-std=c99 - Success
-- Found Python executable: /usr/bin/python
-- Found Python library: /usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.so
-- Python version is : 2.7.12
-- Python include dir is : /usr/include/python2.7
-- Python Site package dir is : /usr/lib/python2.7/dist-packages

-- Compilation with required package BLAS version 
-- Lapack libraries have been found : /usr/lib/liblapack.so;/usr/lib/libblas.so. We now turn to headers.
-- Found a library with LAPACK API (generic).
    Lapack libraries : /usr/lib/liblapack.so;/usr/lib/libblas.so.
    Lapack headers : clapack.h in LAPACK_INCLUDE_DIRS-NOTFOUND.
-- Compilation with required package LAPACK version 
CMake Error at cmake/siconos_find_common_dep.cmake:15 (message):
  cannot find lapack include directories
Call Stack (most recent call first):
  CMakeLists.txt:88 (include)


-- Configuring incomplete, errors occurred!

Como meu LTS não tem suporte para o apt-get de CLAPACK , eu compilei CLAPACK seguindo este link e moveu o arquivo resultante para

ls /usr/include/liblapack.a 
/usr/include/liblapack.a

e adicionamos o followign a CMakeLists.txt :

set(CLAPACK_DIR /usr/include/liblapack.a)

O que mais eu tenho que fazer?

    
por FooBar 15.09.2017 / 13:30

0 respostas