Skip to content

[AOMP] Add shellcheck workflow#1435

Closed
jplehr wants to merge 407 commits intoROCm:aomp-devfrom
jplehr:feat/add-shellcheck-workflow
Closed

[AOMP] Add shellcheck workflow#1435
jplehr wants to merge 407 commits intoROCm:aomp-devfrom
jplehr:feat/add-shellcheck-workflow

Conversation

@jplehr
Copy link
Contributor

@jplehr jplehr commented May 12, 2025

No description provided.

@jplehr jplehr requested review from Kewen12 and jtb20 May 12, 2025 14:52
@jplehr jplehr changed the title Add shellcheck workflow [AOMP] Add shellcheck workflow May 12, 2025
@jplehr
Copy link
Contributor Author

jplehr commented May 13, 2025

This depends on #1252 and makes only sense once that has landed.

@jplehr jplehr requested a review from dpalermo May 20, 2025 13:56
@jplehr
Copy link
Contributor Author

jplehr commented Jun 2, 2025

I think we want to wait for #1463 to land and then use this wrapper instead of plain shellcheck in this workflow.

@jtb20
Copy link
Contributor

jtb20 commented Jun 2, 2025

As it is, the aomp-shellcheck script automatically modifies the files given as arguments in some circumstances (i.e. if they have failing checks in the "patchable" check list), which is probably not desirable for the GitHub workflow case.

@jplehr
Copy link
Contributor Author

jplehr commented Jun 2, 2025

Good point. Should there be a --check-only option or so that would point out issues and show how to use our wrapper to fix them?

@jtb20
Copy link
Contributor

jtb20 commented Jun 2, 2025

I think so, something like that.

@jtb20
Copy link
Contributor

jtb20 commented Jun 4, 2025

I've added a new --check-only option in the version up on #1463 now.

jplehr and others added 13 commits February 23, 2026 02:36
This adds a new target `valgrind` to enable execution of a testcase
under valgrind control.

Only tested with a couple of simple examples: helloworld and some OMPT
test cases.
Use new values of no-loop and big-jump-loop mode constants
When disabling OMPT support this test will crash with a segementation
fault.
With this fix the test will still fail but no longer seg fault.
Reason: Avoid test-pipeline disturbance due to OpenMP move of omptest
Fix omptest-based + CMake tests
 - export of omptest_DIR fixes find_package(omptest)

Enhance build steps (header inclusion and linking) due to omptest improvements.

Test names:
 * omptest-device-emi
 * omptest-device-non-emi
 * veccopy-ompt-target-cmake
ronlieb and others added 24 commits February 23, 2026 02:38
- Avoids register allocation issue at runtime
   - Which is incorrectly reported by HSA as:
     HSA_STATUS_ERROR_INVALID_ISA: The instruction set architecture is invalid.

Co-authored-by: Abid Qadeer <haqadeer@amd.com>
There was an issue seen with alma8 where rocprofiler-sdk was picking
up the newest python version in /usr/local/bin, which is causing cmake
errors. Determine the current python3 default version and pass it through.
Deprecated docs for SLES, Ubuntu, and RHEL/CentOS installs. We now build
on AlmaLinux and distrubute a tar file that can be used on many operating
systems.
Add -k 0 argument to installation
 - CK installation may fail intermediately, hiding other "build" errors

Add print of CK-INSTALL-SUCCESS
@jplehr
Copy link
Contributor Author

jplehr commented Feb 23, 2026

Apologies for the rebase f-up.

@jplehr
Copy link
Contributor Author

jplehr commented Feb 23, 2026

Opened #1989 as clean version.

@jplehr jplehr closed this Feb 23, 2026
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.