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

ross-config is broken #32

Closed
JohnPJenkins opened this issue Feb 27, 2015 · 4 comments
Closed

ross-config is broken #32

JohnPJenkins opened this issue Feb 27, 2015 · 4 comments

Comments

@JohnPJenkins
Copy link

When installed, I get empty strings for every variable (including CC and friends). This is breaking a lot of things - see the recent codes-ross-users emails.

@gonsie
Copy link
Member

gonsie commented Feb 27, 2015

are you setting CC before configuring cmake? CMake does use cache files, so you have to make sure you set CC before configuring with cmake the first time.

Otherwise, I'm not sure what the issue is. Could you clarify the steps the user is taking? We don't usually "install" ROSS.

@JohnPJenkins
Copy link
Author

Yes. Here are the steps to reproduce, starting in the ROSS directory:

mkdir build
cd build
CC=mpicc CXX=mpicxx cmake -DCMAKE_INSTALL_PREFIX=/path/to/install <other options> ../
make && make install

If you check out /path/to/install/bin/ross-config (also at build/ross-config), you'll see that "ROSS_CC" and related variables are empty.

Things were ok as of commit c04babe (pre-SR), so I imagine something happened during the SR merge.

@gonsie
Copy link
Member

gonsie commented Feb 27, 2015

ROSS@4e2269020004db6d508867f369306fd51a18925f

@gonsie gonsie closed this as completed Feb 27, 2015
@JohnPJenkins
Copy link
Author

Thanks for the quick resolution!

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