Skip to content

Update package: Hipblaslt for air-gapped systems#5309

Draft
williampiat3 wants to merge 5 commits into
spack:developfrom
williampiat3:hipblasltPatch
Draft

Update package: Hipblaslt for air-gapped systems#5309
williampiat3 wants to merge 5 commits into
spack:developfrom
williampiat3:hipblasltPatch

Conversation

@williampiat3

@williampiat3 williampiat3 commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

I believe this one is not in another PR but I might be mistaken
This needs PR #5291 to be completed first that's why it is a draft.

@williampiat3

Copy link
Copy Markdown
Contributor Author

@spackbot fix style

@spackbot-app

spackbot-app Bot commented Jun 23, 2026

Copy link
Copy Markdown

Let me see if I can fix that for you!

@spackbot-app

spackbot-app Bot commented Jun 23, 2026

Copy link
Copy Markdown

I was able to run spack style --fix for you!

spack style --fix
repos/spack_repo/builtin/packages/hipblaslt/package.py
�[1;34m==> �[0mrunning ruff format
1 file left unchanged
�[1;34m==> �[0mrunning ruff check
�[1m�[91mE501 �[0m�[1mLine too long (143 > 99)�[0m
   �[1m�[94m-->�[0m repos/spack_repo/builtin/packages/hipblaslt/package.py:296:100
    �[1m�[94m|�[0m
�[1m�[94m294 |�[0m �[1m�[94m…�[0m
�[1m�[94m295 |�[0m �[1m�[94m…�[0mROCROLLER_ENABLE_FETCH)",
�[1m�[94m296 |�[0m �[1m�[94m…�[0md_package(yaml-cpp 0.8.0 QUIET)\n    if(NOT yaml-cpp_FOUND AND ROCROLLER_ENABLE_FETCH)",
    �[1m�[94m|�[0m                                              �[1m�[91m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^�[0m
�[1m�[94m297 |�[0m �[1m�[94m…�[0m
�[1m�[94m298 |�[0m �[1m�[94m…�[0m
    �[1m�[94m|�[0m

Found 1 error.
Keep in mind that I cannot fix your flake8 or mypy errors, so if you have any you'll need to fix them and update the pull request. If I was able to push to your branch, if you make further changes you will need to pull from your updated branch before pushing again.

I wasn't able to make any further changes, but please see the message above for remaining issues you can fix locally!

]:
depends_on(f"hip@{ver}", when=f"@{ver}")
depends_on(f"llvm-amdgpu@{ver}", when=f"@{ver}")
depends_on(f"rocm-cmake@{ver}:", type="build", when=f"@{ver}")

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.

just wondering if you've tested this and it was working? For some reason when I tried adding a rocm-cmake dependency it was still attempting to clone rocm-cmake

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It worked with a slight variation of this recipe, but my last cleanup might have altered the outcome I had a test going on with this one as well, let me check

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Notice line 381 the variable FETCHCONTENT_SOURCE_DIR_ROCMCMAKEBUILDTOOLS it points towards the installation of rocm-cmake. This is what prevents the source fetch
I confirm that this recipe works with the added cmake args

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.

Ok , I missed that. Thank you!

@williampiat3

Copy link
Copy Markdown
Contributor Author

@spackbot fix style

@spackbot-app

spackbot-app Bot commented Jun 23, 2026

Copy link
Copy Markdown

Let me see if I can fix that for you!

@spackbot-app

spackbot-app Bot commented Jun 23, 2026

Copy link
Copy Markdown

I was able to run spack style --fix for you!

spack style --fix
repos/spack_repo/builtin/packages/hipblaslt/package.py
�[1;34m==> �[0mrunning ruff format
1 file reformatted
�[1;34m==> �[0mrunning ruff check
All checks passed!
�[1;34m==> �[0mstyle checks passed
Keep in mind that I cannot fix your flake8 or mypy errors, so if you have any you'll need to fix them and update the pull request. If I was able to push to your branch, if you make further changes you will need to pull from your updated branch before pushing again.

I've updated the branch with style fixes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants