mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
c4c70669d1
That means a lot of features which were available for sparse matrices via the dense (and super slow) implemention are no longer available. All features which make sense for sparse matrices (aka can be implemented efficiently) will be implemented soon, but don't expect to see an API as rich as for the dense path. Other changes: * no block(), row(), col() anymore. * instead use .innerVector() to get a col or row vector of a matrix. * .segment(), start(), end() will be back soon, not sure for block() * faster cwise product
31 lines
735 B
CMake
31 lines
735 B
CMake
|
|
if (SUPERLU_INCLUDES AND SUPERLU_LIBRARIES)
|
|
set(SUPERLU_FIND_QUIETLY TRUE)
|
|
endif (SUPERLU_INCLUDES AND SUPERLU_LIBRARIES)
|
|
|
|
find_package(BLAS)
|
|
|
|
if(BLAS_FOUND)
|
|
|
|
find_path(SUPERLU_INCLUDES
|
|
NAMES
|
|
superlu/supermatrix.h
|
|
PATHS
|
|
$ENV{SUPERLUDIR}
|
|
${INCLUDE_INSTALL_DIR}
|
|
)
|
|
|
|
find_library(SUPERLU_LIBRARIES superlu PATHS $ENV{SUPERLUDIR} ${LIB_INSTALL_DIR})
|
|
|
|
if(SUPERLU_LIBRARIES)
|
|
set(SUPERLU_LIBRARIES ${SUPERLU_LIBRARIES} ${BLAS_LIBRARIES})
|
|
endif(SUPERLU_LIBRARIES)
|
|
|
|
endif(BLAS_FOUND)
|
|
|
|
include(FindPackageHandleStandardArgs)
|
|
find_package_handle_standard_args(SUPERLU DEFAULT_MSG
|
|
SUPERLU_INCLUDES SUPERLU_LIBRARIES)
|
|
|
|
mark_as_advanced(SUPERLU_INCLUDES SUPERLU_LIBRARIES)
|