-
Notifications
You must be signed in to change notification settings - Fork 236
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
Create deb package #233
Create deb package #233
Conversation
06d47f1
to
bc4615e
Compare
04c30c8
to
b2b5a15
Compare
…e and installation prefix fixed
b2b5a15
to
f5893a8
Compare
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'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.
"https://github.com/KhronosGroup/OpenCL-Headers") | ||
|
||
# Version number [epoch:]upstream_version[-debian_revision] | ||
set(LATEST_RELEASE_VERSION "2023.04.17") |
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.
Out of curiosity where did this date come from? Will it need to be updated manually? If so, when should it be updated?
# non-native pkg) | ||
set(PACKAGE_VERSION_REVISION "${CPACK_DEBIAN_PACKAGE_VERSION}-${CPACK_DEBIAN_PACKAGE_RELEASE}") | ||
|
||
set(DEBIAN_PACKAGE_NAME "opencl-c-headers") |
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.
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.
Closing this, as the functionality was added in #239 |
Adds a CMake module with the packaging configuration and "Package" and "Consume" steps to GitHub actions to check that it works as it should.