Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggest disabling eigen tests in its build #590

Open
aaron-bray opened this issue Jul 10, 2020 · 5 comments
Open

Suggest disabling eigen tests in its build #590

aaron-bray opened this issue Jul 10, 2020 · 5 comments

Comments

@aaron-bray
Copy link
Member

Should speed up the build

-DBUILD_TESTING:BOOL=OFF

@dstoup
Copy link
Collaborator

dstoup commented Jul 10, 2020

Fixed in PR #591

@dstoup
Copy link
Collaborator

dstoup commented Jul 10, 2020

Ok, this approach just fails for Eigen. Their CMake code is a bit of a mess. I can patch the CMakeLists.txt to remove the tests but I don't really know if it's worth it. Building without tests takes 6 seconds and only 11 seconds with tests. Agreed that it's nearly twice as fast, but considering I could have built Eigen 10 times in the time it took me to write this comment, I don't know if I see the value.

@aaron-bray
Copy link
Member Author

That is weird,
I have been using it with out issue, maybe fletch has an old version of Eigen?

No big deal, I thought it would be a quick fix

@dstoup
Copy link
Collaborator

dstoup commented Jul 10, 2020 via email

@aaron-bray
Copy link
Member Author

This works on linux too
(I stole the idea from ITK, so I am pretty sure its not an OS thing)

Sounds good, keep me posted if you need anything

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants