Navigation Menu

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

sys-apps/hwloc: cuda useflag now required for nvml #21608

Closed
wants to merge 5 commits into from

Conversation

Alessandro-Barbieri
Copy link
Contributor

Closes: https://bugs.gentoo.org/792477
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri lssndrbarbieri@gmail.com

@gentoo-bot
Copy link

Pull Request assignment

Submitter: @Alessandro-Barbieri
Areas affected: ebuilds
Packages affected: sys-apps/hwloc

sys-apps/hwloc: @gentoo/cluster

Linked bugs

Bugs linked: 792477


In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.

Docs: Code of ConductCopyright policy (expl.) ● DevmanualGitHub PRsProxy-maint guide

@gentoo-bot gentoo-bot added assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. labels Jul 12, 2021
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2021-07-12 06:59 UTC
Newest commit scanned: a976803
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/25d5a69d1b/output.html

@@ -40,6 +40,7 @@ BDEPEND="
virtual/pkgconfig
"

REQUIRED_USE="nvml? ( cuda )"
Copy link
Contributor

@ionenwks ionenwks Jul 12, 2021

Choose a reason for hiding this comment

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

I'm not familiar with this package, but I don't really see why the nvml flag needs to exist if it requires cuda, seems redundant. cuda also ensures the drivers are installed, although /if/ it directly links with nvidia-drivers libraries (haven't checked) it may need a := on drivers for safety (unsure how stable this is from major driver to versions to the next with nvml, maybe not needed).

Edit: Unless there's a reason to enable one and disable the other, in which case it should add cuda deps to nvml rather than REQUIRED_USE (and mask in stable like cuda) -- albeit not sure that's worth it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In a future, cuda may work on amd hardware

@thesamesam
Copy link
Member

thesamesam commented Oct 20, 2021

CI failure needs fixing and/or rebase the PR.

@Alessandro-Barbieri
Copy link
Contributor Author

I'm not sure on what to mask to make the CI happy

Closes: https://bugs.gentoo.org/792477
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Closes: https://bugs.gentoo.org/796797
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2021-10-20 03:40 UTC
Newest commit scanned: 8d0b9a6
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/7040b852e4/output.html

@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2021-10-20 03:55 UTC
Newest commit scanned: bba3bfe
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/3e28dce658/output.html

@Alessandro-Barbieri
Copy link
Contributor Author

Ping

@thesamesam
Copy link
Member

thesamesam commented Nov 1, 2021

Ping

You haven’t replied to ionen?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR.
Projects
None yet
5 participants