Skip to content

Create deb package#233

Closed
Beanavil wants to merge 3 commits intoKhronosGroup:mainfrom
StreamHPC:58-create-deb-package
Closed

Create deb package#233
Beanavil wants to merge 3 commits intoKhronosGroup:mainfrom
StreamHPC:58-create-deb-package

Conversation

@Beanavil
Copy link
Copy Markdown
Member

Adds a CMake module with the packaging configuration and "Package" and "Consume" steps to GitHub actions to check that it works as it should.

@Beanavil Beanavil force-pushed the 58-create-deb-package branch from 06d47f1 to bc4615e Compare June 28, 2023 15:22
@Beanavil Beanavil force-pushed the 58-create-deb-package branch 6 times, most recently from 04c30c8 to b2b5a15 Compare August 1, 2023 09:54
@Beanavil Beanavil force-pushed the 58-create-deb-package branch from b2b5a15 to f5893a8 Compare August 1, 2023 10:06
Copy link
Copy Markdown
Contributor

@bashbaug bashbaug left a comment

Choose a reason for hiding this comment

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

I'm not sure how to test these changes and I'm not a packaging expert, but this all looks reasonable to me. I think the odds of breaking any existing functionality is low, therefore we should merge this sooner rather than later and we will perhaps get more feedback.

Comment thread cmake/Package.cmake
"https://github.com/KhronosGroup/OpenCL-Headers")

# Version number [epoch:]upstream_version[-debian_revision]
set(LATEST_RELEASE_VERSION "2023.04.17")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Out of curiosity where did this date come from? Will it need to be updated manually? If so, when should it be updated?

Comment thread cmake/Package.cmake
# non-native pkg)
set(PACKAGE_VERSION_REVISION "${CPACK_DEBIAN_PACKAGE_VERSION}-${CPACK_DEBIAN_PACKAGE_RELEASE}")

set(DEBIAN_PACKAGE_NAME "opencl-c-headers")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is this an existing package name or something new? If this is a new package name I'd suggest removing "c", since I tend to think of "OpenCL C" as being the kernel language.

@Beanavil
Copy link
Copy Markdown
Member Author

Closing this, as the functionality was added in #239

@Beanavil Beanavil closed this May 23, 2024
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