Adding full build capability to theROCK for HIP changes (#2003)

## Add Full Build Capability to theROCK for HIP

### Summary
This PR adds full build support to **theROCK** for HIP-related changes, ensuring that all components are built.

### Changes
- Enabled full build coverage for the following projects:
  - `projects/clr`
  - `projects/hip`
  - `projects/hip-tests`
  - `projects/rocr-runtime`
- Updated build configuration to include all targets for the above projects.
- Ensured rocm-libraries is pulled to build optional components.

### Motivation
These changes are required to support HIP development and testing within theROCK by ensuring all components are built together. This improves reliability, integration testing.
This commit is contained in:
ammallya
2025-12-22 05:31:32 -08:00
committed by GitHub
orang tua ba1380a75d
melakukan 0a52f5c101
3 mengubah file dengan 8 tambahan dan 9 penghapusan
+6 -6
Melihat File
@@ -3,10 +3,10 @@ This dictionary is used to map specific file directory changes to the correspond
"""
subtree_to_project_map = {
'projects/aqlprofile': 'profiler',
'projects/clr': 'core',
'projects/hip': 'core',
'projects/hip-tests': 'core',
'projects/hipother': 'core',
'projects/clr': 'all',
'projects/hip': 'all',
'projects/hip-tests': 'all',
'projects/hipother': 'all',
'projects/rdc': 'rdc',
'projects/rocm-core': 'core',
'projects/rocm-smi-lib': 'core',
@@ -16,7 +16,7 @@ subtree_to_project_map = {
'projects/rocprofiler-sdk': 'profiler',
'projects/rocprofiler-systems': 'profiler',
'projects/rocprofiler': 'profiler',
'projects/rocr-runtime': 'core',
'projects/rocr-runtime': 'all',
'projects/roctracer': 'profiler'
}
@@ -30,7 +30,7 @@ project_map = {
"project_to_test": "rocprofiler-tests",
},
"all": {
"cmake_options": "-DTHEROCK_ENABLE_CORE=ON -DTHEROCK_ENABLE_PROFILER=ON -DTHEROCK_ENABLE_ALL=OFF",
"cmake_options": "-DTHEROCK_ENABLE_ALL=ON",
"project_to_test": "hip-tests, rocprofiler-tests",
}
}
+1 -1
Melihat File
@@ -66,7 +66,7 @@ jobs:
run: |
# Remove patches here if they cannot be applied cleanly, and they have not been deleted from TheRock repo
# rm ./TheRock/patches/amd-mainline/rocm-systems/*.patch
./TheRock/build_tools/fetch_sources.py --jobs 12 --no-include-rocm-systems --no-include-rocm-libraries --no-include-ml-frameworks
./TheRock/build_tools/fetch_sources.py --jobs 12 --no-include-rocm-systems
rm ./TheRock/patches/amd-mainline/rocm-systems/0002-Revert-hsakmt-bump-vgpr-count-for-gfx1151-1807.patch
+1 -2
Melihat File
@@ -86,9 +86,8 @@ jobs:
timeout-minutes: 30
run: |
git config --global core.longpaths true
python ./TheRock/build_tools/fetch_sources.py --jobs 12 --no-include-rocm-systems --no-include-rocm-libraries --no-include-ml-frameworks
python ./TheRock/build_tools/fetch_sources.py --jobs 12 --no-include-rocm-systems
dvc pull
- name: Configure Projects
env:
amdgpu_families: ${{ env.AMDGPU_FAMILIES }}