-
Notifications
You must be signed in to change notification settings - Fork 75
Enable Lintian Support hipcc #445
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
base: amd-staging
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are just some small concerns I have:
some formatting (indenting)
a duplicate "install" on the LICENSE.txt file
no need for static or asan builds.
and do we also need similar changes for RPM packages?
amd/hipcc/utils.cmake
Outdated
| ) | ||
|
|
||
| if( BUILD_ENABLE_LINTIAN_OVERRIDES ) | ||
| if(NOT ${BUILD_SHARED_LIBS}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need this section. We do not have a build version of HIPCC with shared libraries, nor asan.
amd/hipcc/utils.cmake
Outdated
| COMPONENT ${COMPONENT_NAME_T}) | ||
| endif() | ||
|
|
||
| else() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So I think this is the other case for the "if (DEBIAN)" statement, so this is for RPMs. But I think this a duplicate "install" command to what we have at line (around llvm#175) of the CMakeLists.txt file.
…ons in utils.cmake
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Added function configure_pkg to install changelog, copyright, and lintian override for debian.
Install changelog, copyright, and lintian override files to fix lintian errors:
no-copyright-file
debian-changelog-file-missing
dir-or-file-in-opt