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

Obey CMAKE_BUILD_TYPE #96

Open
wants to merge 1 commit into
base: amd-staging
Choose a base branch
from

Conversation

benrichard-amd
Copy link
Contributor

Passing CMAKE_BUILD_TYPE on the commandline was having no effect as it was being overridden by ROCRTST_BLD_TYPE.

This change updates CMakeLists.txt so the build type can be passed via both CMAKE_BUILD_TYPE and ROCRTST_BLD_TYPE

Original behavior remains intact:

-Debug build by default
-Build type can be set via ROCRTST_BLD_TYPE

Obey CMAKE_BUILD_TYPE when it is passed on the command line. Previous
behavior remains:

Debug by default
ROCRTST_BLD_TYPE can set build type
Copy link
Contributor

@dayatsin-amd dayatsin-amd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Ben. Looks good.
I think eventually we can remove the ROCRTST_BLD_TYPE altogether, but lets do it this way for now.

I will pull it from our internal repository:
https://github.com/AMD-ROCm-Internal/rocminfo

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.

2 participants