[TheRock CI] Fixing patches for rocm-systems (#1460)
* Fixing patches for rocm-systems * Adding all * Adding remaining projects * Submodule bump * adding compiler * adding test commit hash * Adding artifact group * adding update for artifact group * Adding new commit hash
Αυτή η υποβολή περιλαμβάνεται σε:
@@ -83,7 +83,7 @@ def check_for_workflow_file_related_to_ci(paths: Optional[Iterable[str]]) -> boo
|
||||
|
||||
def retrieve_projects(args):
|
||||
if args.get("is_pull_request"):
|
||||
subtrees = args.get("input_subtrees").split("\n")
|
||||
subtrees = list(subtree_to_project_map.keys())
|
||||
|
||||
if args.get("is_workflow_dispatch"):
|
||||
if args.get("input_projects") == "all":
|
||||
@@ -111,9 +111,12 @@ def retrieve_projects(args):
|
||||
|
||||
# retrieve the subtrees to checkout, cmake options to build, and projects to test
|
||||
project_to_run = []
|
||||
for project in projects:
|
||||
if project in project_map:
|
||||
project_to_run.append(project_map.get(project))
|
||||
# Currently as we have no tests, we just build all packages available if an applicable change is made.
|
||||
# As we start to get an idea of test times, we can divide test jobs.
|
||||
if projects:
|
||||
for project in ["all"]:
|
||||
if project in project_map:
|
||||
project_to_run.append(project_map.get(project))
|
||||
|
||||
return project_to_run
|
||||
|
||||
|
||||
@@ -6,11 +6,16 @@ subtree_to_project_map = {
|
||||
'projects/clr': 'core',
|
||||
'projects/hip': 'core',
|
||||
'projects/hip-tests': 'core',
|
||||
'projects/hipother': 'core',
|
||||
'projects/rdc': 'rdc',
|
||||
'projects/rocm-core': 'core',
|
||||
'projects/rocm-smi-lib': 'core',
|
||||
'projects/rocminfo': 'core',
|
||||
'projects/rocprofiler': 'profiler',
|
||||
'projects/rocprofiler-compute': 'profiler',
|
||||
'projects/rocprofiler-register': 'profiler',
|
||||
'projects/rocprofiler-sdk': 'profiler',
|
||||
'projects/rocprofiler-systems': 'profiler',
|
||||
'projects/rocprofiler': 'profiler',
|
||||
'projects/rocr-runtime': 'core',
|
||||
'projects/roctracer': 'profiler'
|
||||
}
|
||||
@@ -24,4 +29,8 @@ project_map = {
|
||||
"cmake_options": "-DTHEROCK_ENABLE_PROFILER=ON -DTHEROCK_ENABLE_ALL=OFF",
|
||||
"project_to_test": "rocprofiler-tests",
|
||||
},
|
||||
"all": {
|
||||
"cmake_options": "-DTHEROCK_ENABLE_CORE=ON -DTHEROCK_ENABLE_PROFILER=ON -DTHEROCK_ENABLE_ALL=OFF",
|
||||
"project_to_test": "hip-tests, rocprofiler-tests",
|
||||
}
|
||||
}
|
||||
|
||||
Αναφορά σε νέο ζήτημα
Block a user