New user self-registration is disabled due to spam. Please email eigen-core-team @ lists.tuxfamily.org if you need an account.
Before reporting a bug, please make sure that your Eigen version is up-to-date!
Bug 851 - Unable to make benchmark suite with relative path to source
Summary: Unable to make benchmark suite with relative path to source
Status: NEW
Alias: None
Product: Eigen
Classification: Unclassified
Component: General (show other bugs)
Version: 3.2
Hardware: All All
: Normal Unknown
Assignee: Nobody
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-06 05:32 UTC by Kevin locke
Modified: 2014-08-06 05:32 UTC (History)
3 users (show)



Attachments

Description Kevin locke 2014-08-06 05:32:01 UTC
Following the instructions from http://eigen.tuxfamily.org/index.php?title=How_to_run_the_benchmark_suite using the following commands:

wget http://bitbucket.org/eigen/eigen/get/3.2.2.tar.bz2
tar -xjf eigen-eigen-1306d75b4a21.tar.bz2
mkdir eigen-eigen-1306d75b4a21/build
cd eigen-eigen-1306d75b4a21/build
cmake .. -DCMAKE_BUILD_TYPE=Release -DEIGEN_BUILD_BTL=ON -DEIGEN3_INCLUDE_DIR=..

Results in the following error among the other cmake output:

CMake Error at cmake/FindEigen3.cmake:33 (file):
  file Internal CMake error when trying to open file:
  /tmp/eigen-eigen-1306d75b4a21/bench/btl/libs/eigen3/../Eigen/src/Core/util/Macros.h
  for reading.
Call Stack (most recent call first):
  cmake/FindEigen3.cmake:59 (_eigen3_check_version)
  bench/btl/libs/eigen3/CMakeLists.txt:8 (find_package)

And cmake fails without creating bench/btl/Makefile (and likely many other files) required for the next step.

Changing ".." to the absolute path (/tmp/eigen-eigen-1306d75b4a21 in the example) avoids the issue.

Thanks,
Kevin

Note You need to log in before you can comment on or make changes to this bug.