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

opencmisslibs-config.cmake doesn't get the correct toolchain and mpi #86

Open
chrispbradley opened this issue Jun 2, 2017 · 0 comments

Comments

@chrispbradley
Copy link
Member

chrispbradley commented Jun 2, 2017

If I have an example in an environment with multiple configurations I can't select the one that want in the standard way. For an example if I

cmake -DOPENCMISS_TOOLCHAIN=xyz -DOPENCMISS_MPI=abc .

then it doesn't set the toolchain or MPI using the same cmake scripts that were used for building. For the toolchain it does a getToolchain command that will just see what variables have been set. It will thus just default to whatever compiler cmake thinks is the default for that system rather than what toolchain is specified.

In addition to this the architecture path is set before the toolchain/mpi is even determined so how can it select the correct architecture path?

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

1 participant