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

nvcc_wrapper taking first -std option is counterintuitive #2553

Closed
mdmosby opened this issue Nov 15, 2019 · 7 comments
Closed

nvcc_wrapper taking first -std option is counterintuitive #2553

mdmosby opened this issue Nov 15, 2019 · 7 comments
Assignees

Comments

@mdmosby
Copy link

mdmosby commented Nov 15, 2019

The nvcc_wrapper script only uses the first specified -std option which is counter to most compiler behavior of 'last one wins' with duplicate options.

@dalg24
Copy link
Member

dalg24 commented Dec 4, 2019

This was brought up at the developer meeting. We agree that this is counterintuitive and are open to change the behavior.

@dalg24 dalg24 self-assigned this Dec 4, 2019
@mdmosby
Copy link
Author

mdmosby commented Dec 4, 2019 via email

@jjwilke
Copy link

jjwilke commented Dec 5, 2019

We are working to address this. For reference, can you give a bit more detail on how you configured such that you ended up with two -std flags?

@mdmosby
Copy link
Author

mdmosby commented Dec 5, 2019 via email

@jjwilke
Copy link

jjwilke commented Dec 5, 2019

Is this CMake? Or Makefiles?

@mdmosby
Copy link
Author

mdmosby commented Dec 5, 2019 via email

@ndellingwood
Copy link
Contributor

Looks like this was addressed by PR #2580

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

4 participants