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

sci-libs/rocRAND: bump version to 4.3.0 #22113

Closed
wants to merge 1 commit into from

Conversation

littlewu2508
Copy link
Contributor

Enable benchmark and test.

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Yiyang Wu xgreenlandforwyy@gmail.com

@gentoo-bot
Copy link

Pull Request assignment

Submitter: @littlewu2508
Areas affected: ebuilds
Packages affected: sci-libs/rocRAND

sci-libs/rocRAND: @gentoo/sci, @candrews, @justxi

Linked bugs

No bugs to link found. If your pull request references any of the Gentoo bug reports, please add appropriate GLEP 66 tags to the commit message and request reassignment.

If you do not receive any reply to this pull request, please open or link a bug to attract the attention of maintainers.


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). no bug found No Bug/Closes found in the commits. labels Aug 26, 2021
@heroxbd
Copy link
Contributor

heroxbd commented Aug 27, 2021

Pull request CI report

Report generated at: 2021-08-26 13:59 UTC
Newest commit scanned: 1fe62be
Status: x broken

New issues caused by PR:
https://qa-reports.gentoo.org/output/gentoo-ci/b8f8781b5c/output.html#sci-libs/rocRAND

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/b8f8781b5c/output.html

from the CI resport missing RESTRICT="!test? ( test )" with IUSE=test

SLOT="0/$(ver_cut 1-2)"
IUSE="benchmark test"

RDEPEND="=dev-util/hip-$(ver_cut 1-2)*"
Copy link
Contributor

Choose a reason for hiding this comment

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

use sub-SLOT.

-DCMAKE_SKIP_RPATH="ON"
-D__skip_rocmclang="ON" ## fix cmake-3.21 configuration issue caused by officialy support programming language "HIP"
)
[ -n "${AMDGPU_TARGETS}" ] && mycmakeargs+=( -DAMDGPU_TARGETS="${AMDGPU_TARGETS}" )
Copy link
Contributor

Choose a reason for hiding this comment

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

Update this similar as rocBLAS.


RDEPEND="dev-util/hip:${SLOT}"
DEPEND="${RDEPEND}
dev-util/rocm-cmake:${SLOT}"
Copy link
Member

Choose a reason for hiding this comment

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

BDEPEND?

Copy link
Contributor

Choose a reason for hiding this comment

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

@littlewu2508 please move rocm-cmake into BDEPEND

SLOT="0/$(ver_cut 1-2)"
IUSE="benchmark test"

RDEPEND="dev-util/hip:${SLOT}"
Copy link
Member

Choose a reason for hiding this comment

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

I have no idea about ROC but I’ve noticed you’re exposing sub slots in lots of these packages (which is fine!) but remember to use := if you need to be rebuilt when the subslot changes.

A revbump is needed to add := if it’s already in tree.

Copy link
Contributor

Choose a reason for hiding this comment

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

You are right, Sam. This should be rebuilt when dev-util/hip goes to a new sub-SLOT. In addition they have to be at the same sub-SLOT to function.

The dependency should be dev-util/hip:${SLOT}=.

Copy link
Contributor Author

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 should use := to revbump when subslot changes. dev-util/hip:${SLOT}= does not work with subslots. Also, :${SLOT} is already enough to ensure version consistency. Any user who upgrade hip but not rocRAND will meet slot conflict and then they know the reverse dependency have to upgrade or unmerge.


if use benchmark; then
cd "${BUILD_DIR}"/benchmark
chrpath -d benchmark_rocrand_*
Copy link
Member

Choose a reason for hiding this comment

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

Missing || die on external commands (both cd and chrpath)

Copy link
Contributor

Choose a reason for hiding this comment

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

@littlewu2508 please put || die after cd.

@littlewu2508 littlewu2508 force-pushed the sci-libs/rocRAND branch 3 times, most recently from 9222ae2 to 01b42f1 Compare October 9, 2021 13:22
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2021-10-09 13:35 UTC
Newest commit scanned: 01b42f1
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/874373d740/output.html

Enable benchmark and test.

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com>
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2021-10-10 15:30 UTC
Newest commit scanned: ebd041b
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/6cbc28d7c4/output.html

@juippis juippis added the hacktoberfest-accepted PR accepted for Hacktoberfest label Oct 11, 2021
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). hacktoberfest-accepted PR accepted for Hacktoberfest no bug found No Bug/Closes found in the commits.
Projects
None yet
6 participants