Skip to content

Conversation

@jonatluu
Copy link

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

@z1-cciauto
Copy link
Collaborator

Copy link

@david-salinas david-salinas left a 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?

)

if( BUILD_ENABLE_LINTIAN_OVERRIDES )
if(NOT ${BUILD_SHARED_LIBS})

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.

COMPONENT ${COMPONENT_NAME_T})
endif()

else()

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.

@z1-cciauto
Copy link
Collaborator

Copy link

@david-salinas david-salinas left a comment

Choose a reason for hiding this comment

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

LGTM

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