Skip to content

RHEL-8 workflow nad dockerfiles, using AlmaLinux#4

Open
sshi-amd wants to merge 13 commits intoamd-stagingfrom
RHEL-8-workflows
Open

RHEL-8 workflow nad dockerfiles, using AlmaLinux#4
sshi-amd wants to merge 13 commits intoamd-stagingfrom
RHEL-8-workflows

Conversation

@sshi-amd
Copy link
Copy Markdown
Owner

Motivation

Technical Details

Test Plan

Test Result

Added/Updated documentation?

  • Yes
  • No, does not apply to this PR.

Included Visual Studio files?

  • Yes
  • No, does not apply to this PR.

Submission Checklist

pbhandar-amd and others added 9 commits March 10, 2026 14:19
* Sync rocDecode with upstream for TheRock support

Signed-off-by: zichguan-amd <zichuan.guan@amd.com>

* Return 1 for rocDecode unsupported codec

Signed-off-by: zichguan-amd <zichuan.guan@amd.com>

* Skip rocDecode FFmpeg tests on gfx1151

Signed-off-by: zichguan-amd <zichuan.guan@amd.com>

---------

Signed-off-by: zichguan-amd <zichuan.guan@amd.com>
Signed-off-by: zichguan-amd <zichuan.guan@amd.com>
Signed-off-by: zichguan-amd <zichuan.guan@amd.com>
The RHEL-8 Dockerfile was missing FFmpeg, which was added to SLES and
Ubuntu in cdb90e5 but not RHEL-8. This caused the rocDecode examples
that require FFmpeg (find_package(FFmpeg REQUIRED)) to fail during
CMake build. Also fixes a syntax error in the Ubuntu Dockerfile where
a missing '&&' caused 'apt-get clean' to be parsed as package names.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The Vulkan SDK's prebuilt glslangValidator requires glibc 2.34+, but
RHEL 8 only has glibc 2.28. The Dockerfile already built glslang from
source to /usr/local/bin/, but CMake's FindVulkan uses the VULKAN_SDK
env var (not PATH) to locate glslangValidator, so it always found the
incompatible prebuilt binary.

Fixes:
- Overwrite the prebuilt glslangValidator in the Vulkan SDK directory
  with the source-built one in the Dockerfile
- Add a runtime workaround in the reusable workflow that copies the
  source-built binary into the SDK dir (works with the current image
  before the Dockerfile is rebuilt)
- Add libatomic package (required by ROCm SDK shared libraries)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Both targets use std::thread but were missing find_package(Threads)
and Threads::Threads linkage, causing undefined symbol pthread_create
on RHEL 8 where the linker requires explicit pthread linkage.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Cherry-picked from upstream ROCm/rocm-examples@4a0b4be1.
Fixes p2p example error when p2p not supported, fixes type cast
warnings, and adds -lpthread to rocProfiler-SDK Makefiles.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Cherry-picked from upstream ROCm/rocm-examples@51c78864.
Improves test failure reporting in CI summary and uploads test logs
as artifacts for debugging.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

3 participants