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

Create deb package #233

Closed
wants to merge 3 commits into from

Conversation

Beanavil
Copy link
Contributor

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 6 times, most recently from 04c30c8 to b2b5a15 Compare August 1, 2023 09:54
Copy link
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.

"https://github.com/KhronosGroup/OpenCL-Headers")

# Version number [epoch:]upstream_version[-debian_revision]
set(LATEST_RELEASE_VERSION "2023.04.17")
Copy link
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?

# non-native pkg)
set(PACKAGE_VERSION_REVISION "${CPACK_DEBIAN_PACKAGE_VERSION}-${CPACK_DEBIAN_PACKAGE_RELEASE}")

set(DEBIAN_PACKAGE_NAME "opencl-c-headers")
Copy link
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
Contributor 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