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

Fix hipcc exit code when failing #1117

Merged
merged 1 commit into from
May 24, 2019

Conversation

aaronenyeshi
Copy link
Contributor

No description provided.

@aaronenyeshi
Copy link
Contributor Author

This patch deals with the issue where failed compilations returned a success (exit code 0). Instead we should forward what the compiler returns.

@mangupta mangupta merged commit 49e394c into ROCm:master May 24, 2019
@aaronenyeshi aaronenyeshi deleted the fix-exit-code-hipcc branch May 28, 2019 15:27
@psychocoderHPC
Copy link
Contributor

@mangupta can this PR somehow find the way into the next ROCm release. The wrong return code makes developer the life very hard because CMake is not seeing errors and the ROCm linker is very relaxed and creates binaries even if the device side compile fails.

@mangupta
Copy link
Contributor

mangupta commented Jul 3, 2019

@psychocoderHPC Yes this should be in the upcoming ROCm 2.6 release.

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

Successfully merging this pull request may close these issues.

3 participants