dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #20459
[Bug 689738] Re: CMake Armadillo 1.0.0 detection broken
Ah yes, you're right! The file is there, and the directory is found. The
configure error will be something different.
===================== *snip* =====================
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Performing Test HAVE_PIPE
-- Performing Test HAVE_PIPE - Success
-- Performing Test HAVE_PEDANTIC
-- Performing Test HAVE_PEDANTIC - Success
-- Performing Test HAVE_STD
-- Performing Test HAVE_STD - Success
-- Performing Test HAVE_DEBUG
-- Performing Test HAVE_DEBUG - Success
-- Performing Test HAVE_O2_OPTIMISATION
-- Performing Test HAVE_O2_OPTIMISATION - Success
-- Boost version: 1.41.0
-- Found the following Boost libraries:
-- filesystem
-- program_options
-- system
-- Checking for package 'Armadillo'
-- Performing Test ARMADILLO_TEST_RUNS
-- Performing Test ARMADILLO_TEST_RUNS - Failed
-- Checking for package 'LAPACK'
-- Found LAPACK: /usr/lib64/liblapack.so
-- Performing Test ARMADILLO_LAPACK_TEST_RUNS
-- Performing Test ARMADILLO_LAPACK_TEST_RUNS - Failed
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:70 (MESSAGE):
Armadillo could not be found. Be sure to set ARMADILLO_DIR. (missing:
ARMADILLO_TEST_RUNS)
Call Stack (most recent call first):
cmake/modules/FindArmadillo.cmake:139 (find_package_handle_standard_args)
CMakeLists.txt:156 (find_package)
-- Configuring incomplete, errors occurred!
===================== *snap* =====================
Well, I guess the tests fail. Will check it out shortly.
--
You received this bug notification because you are a member of DOLFIN
Team, which is subscribed to DOLFIN.
https://bugs.launchpad.net/bugs/689738
Title:
CMake Armadillo 1.0.0 detection broken
Status in DOLFIN:
New
Bug description:
Hi,
Armadillo 1.0.0 has been released in November, and it installs by default (at least on my system, Gentoo) into
* headers: /usr/include/armadillo_bits/*
* /usr/lib64/libarmadillo.so
Hence, looking for the headers in ${ARMADILLO_DIR}/include will not be successful.
Cheers,
Nico
References