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

Travis build can't find boost libs #48

Open
ryanlevy opened this issue Aug 21, 2018 · 10 comments
Open

Travis build can't find boost libs #48

ryanlevy opened this issue Aug 21, 2018 · 10 comments

Comments

@ryanlevy
Copy link
Collaborator

As discovered in #47, Travis fails on the cmake scripts when finding boost_program_options (the compiled lib)

@galexv
Copy link
Contributor

galexv commented Aug 21, 2018

It might be an ALPSCore problem, i'll look at it shortly.

@ryanlevy
Copy link
Collaborator Author

ryanlevy commented Aug 21, 2018

I've loaded up a Ubuntu 14.04 VM and cannot replicate this error for some reason

Thanks!

@ryanlevy
Copy link
Collaborator Author

Correction: this happens in my Ubuntu 18.04.1 LTS

@galexv
Copy link
Contributor

galexv commented Aug 21, 2018

What is the cmake version in Ubuntu 18.04?

@ryanlevy
Copy link
Collaborator Author

version 3.10.2 (and 3.5.1 in 14.04 which seems to be behind travis)

@galexv
Copy link
Contributor

galexv commented Aug 21, 2018

Thanks!
In the Travis build CMake 3.9.2 is used.

@galexv
Copy link
Contributor

galexv commented Aug 21, 2018

...and i can reproduce the error with CMake 3.9.6.

@galexv
Copy link
Contributor

galexv commented Aug 21, 2018

Quick workaround: in CMakeLists.txt, right after find_package(ALPSCore 2.0 REQUIRED), add set(Boost_NO_SYSTEM_PATHS false).

@ryanlevy
Copy link
Collaborator Author

That fixes it with cmake 3.10.2!

@galexv
Copy link
Contributor

galexv commented Aug 21, 2018

It's a bug in ALPSCore, i am thinking how best to fix it while still deterring the ALPSCore user from accidentally finding the wrong Boost.
So, do not add this workaround to the repository yet: it's better to have ALPSCore fixed.

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