-
Notifications
You must be signed in to change notification settings - Fork 232
Expand file tree
/
Copy pathBUILD_TOPOLOGY.toml
More file actions
770 lines (644 loc) · 25.2 KB
/
BUILD_TOPOLOGY.toml
File metadata and controls
770 lines (644 loc) · 25.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
# ==============================================================================
# BUILD_TOPOLOGY.toml - Build Topology Metadata for TheRock
# ==============================================================================
#
# This file is the single source of truth for TheRock's build artifact structure.
# It serves three primary purposes:
#
# 1. CMake Feature Generation: At configure time, topology_to_cmake.py reads
# this file and generates therock_add_feature() calls for each artifact,
# creating the THEROCK_ENABLE_* cache variables that control the build.
#
# 2. CI/CD Pipeline Sharding: The build_topology.py module parses this file
# to compute artifact dependencies for sharded builds, determining which
# artifacts need to be fetched from artifact storage before each stage.
#
# 3. Partial Source Checkouts: Source sets define which git submodules are
# needed for each artifact group, enabling CI jobs to clone only the
# submodules required for their build stage (via fetch_sources.py --stage).
#
# HIERARCHY:
# - Source Sets - Groupings of git submodules for partial checkouts
# - Build Stages - CI/CD pipeline jobs that build sets of artifact groups
# - Artifact Groups - Logical groupings of related artifacts with shared deps
# - Artifacts - Individual build outputs (the fundamental packaging unit)
#
# NAMING CONVENTIONS:
# - Entity names (stages, groups, artifacts): lowercase with hyphens (e.g., "core-runtime")
# - feature_name: UPPERCASE with underscores (e.g., "CORE_RUNTIME") - maps to THEROCK_ENABLE_*
# - feature_group: UPPERCASE with underscores (e.g., "CORE") - maps to group options
# - type values: lowercase (e.g., "generic", "per-arch", "target-neutral", "target-specific")
# - platform values: lowercase (e.g., "windows", "linux")
#
# SCHEMA REFERENCE:
#
# [source_sets.<name>]
# description = "Human-readable description"
# submodules = ["submodule1", "submodule2"] # Git submodule directory names
# disable_platforms = ["windows"] # Optional: platforms where disabled
#
# [build_stages.<name>]
# description = "Human-readable description"
# artifact_groups = ["group1", "group2"] # Groups built in this stage
# type = "generic" | "per-arch" # Optional, default "generic"
#
# [artifact_groups.<name>]
# description = "Human-readable description"
# type = "generic" | "per-arch" # "per-arch" = built per GPU architecture
# artifact_group_deps = ["dep1", "dep2"] # Optional, other groups this depends on
# source_sets = ["set1", "set2"] # Optional, source sets needed for this group
#
# [artifacts.<name>]
# artifact_group = "group-name" # Required: which group this belongs to
# type = "target-neutral" | "target-specific"
# target-neutral: Built once with all architecture targets. Use for host-only
# code, headers, or runtime libraries where a single multi-arch build
# is preferred.
# target-specific: Built separately per architecture family and kept separate
# for distribution. Use for kernel libraries where sharded builds
# improve CI parallelism and enable per-arch downloads.
# artifact_deps = ["dep1", "dep2"] # Optional: other artifacts this depends on
# feature_name = "FEATURE_NAME" # Optional: override auto-generated name
# feature_group = "GROUP_NAME" # Optional: override auto-generated group
# platform = "windows" # Optional: platform-specific artifact
# disable_platforms = ["windows"] # Optional: platforms where disabled
# python_requires = ["-r path/to/req.txt", "pkg"] # Optional: pip install args
# split_databases = ["rocblas", "hipblaslt"] # Optional: database handlers for kpack split
#
# ==============================================================================
[metadata]
version = "2.0"
description = "TheRock artifact-based build topology"
# ==============================================================================
# SOURCE SETS - Submodule groupings for partial checkouts
# ==============================================================================
# Each source_set defines submodules needed for a category of builds.
# Currently just lists submodules; can be extended later with sparse_checkout specs.
# Names are chosen to align with fetch_sources.py flags where possible.
[source_sets.base]
description = "Base infrastructure submodules"
submodules = ["half", "rocm-cmake"]
[source_sets.compilers]
description = "Compiler toolchain submodules"
submodules = ["llvm-project", "HIPIFY", "spirv-llvm-translator"]
[source_sets.debug-tools]
description = "ROCm debug tools submodules"
submodules = ["rocgdb"]
[source_sets.rocm-systems]
description = "ROCm systems monorepo (runtime, profiler, etc.)"
submodules = ["rocm-systems"]
[source_sets.rocm-libraries]
description = "ROCm libraries monorepo (math libs)"
submodules = ["rocm-libraries"]
[source_sets.math-libs]
description = "Additional math library submodules"
submodules = ["libhipcxx"]
[source_sets.ml-frameworks]
description = "ML framework submodules"
submodules = []
[source_sets.comm-libs]
description = "Communication library submodules"
submodules = []
[source_sets.amd-mesa]
description = "ROCm media submodules (Mesa for VA-API)"
submodules = ["amd-mesa"]
disable_platforms = ["windows"]
[source_sets.iree-libs]
description = "IREE integration submodules"
submodules = ["iree", "fusilli"]
[source_sets.media-libs]
description = "ROCm media libraries submodules"
submodules = []
disable_platforms = ["windows"]
# ==============================================================================
# BUILD STAGES - Pipeline jobs that build sets of artifact groups
# ==============================================================================
# These represent actual CI/CD pipeline jobs optimized for parallel execution
# Note: Stage names are identifiers, not sequence indicators - many can run in parallel
[build_stages.foundation]
description = "Foundation - critical path dependencies"
artifact_groups = ["third-party-sysdeps", "base"]
[build_stages.compiler-runtime]
description = "Compiler, runtimes, and core profiling"
artifact_groups = [
"compiler",
"core-amdsmi",
"core-runtime",
"third-party-libs",
"hip-runtime",
"opencl-runtime",
"profiler-core",
"rocrtst"
]
[build_stages.math-libs]
description = "Math and ML libraries per architecture"
artifact_groups = ["math-libs", "ml-libs"]
type = "per-arch"
[build_stages.comm-libs]
description = "Communication libraries (generic, single job parallel to math-libs)"
artifact_groups = ["comm-libs"]
type = "generic"
[build_stages.debug-tools]
description = "ROCm debug tools"
artifact_groups = ["debug-tools"]
[build_stages.dctools-core]
description = "Data center tools with minimal dependencies"
artifact_groups = ["dctools-core"]
# Future stages
# [build_stages.dctools-rocm]
# description = "Data center tools that depend on ROCm libraries"
# artifact_groups = ["dctools-rocm"]
# depends_on = ["math-libs"] # Will need math/ML libraries
[build_stages.iree-compiler]
description = "IREE compiler (parallel to math-libs)"
artifact_groups = ["iree-compiler"]
[build_stages.fusilli-libs]
description = "Fusilli hipdnn provider (needs math-libs + iree-compiler)"
artifact_groups = ["fusilli-libs"]
[build_stages.profiler-apps]
description = "Profiler applications (depends on profiler-core)"
artifact_groups = ["profiler-apps"]
[build_stages.media-libs]
description = "Media Libraries"
artifact_groups = ["media-libs"]
# ==============================================================================
# ARTIFACT GROUPS - Logical groupings of related artifacts
# ==============================================================================
# These define build dependencies and source requirements
[artifact_groups.third-party-sysdeps]
description = "Third-party system libraries bundled for portable distribution"
type = "generic"
[artifact_groups.third-party-libs]
description = "Third-party libraries (typically internal dependencies, not distributed as sysdeps are)"
type = "generic"
artifact_group_deps = ["compiler"]
source_sets = [] # No submodules - uses vendored/in-tree deps
[artifact_groups.base]
description = "Base ROCm infrastructure and CMake tools"
type = "generic"
artifact_group_deps = []
# TODO: rocm-systems included for projects/hip/VERSION (see CMakeLists.txt)
source_sets = ["base", "rocm-systems"]
[artifact_groups.core-runtime]
description = "Core runtime (ROCR-Runtime, rocminfo)"
type = "generic"
artifact_group_deps = ["base", "third-party-sysdeps"]
source_sets = ["rocm-systems"]
[artifact_groups.core-amdsmi]
description = "AMD SMI tool (amdsmi)"
type = "generic"
artifact_group_deps = ["base", "third-party-sysdeps", "compiler"]
source_sets = ["rocm-systems"]
[artifact_groups.compiler]
description = "AMD LLVM toolchain and compiler infrastructure"
type = "generic"
artifact_group_deps = ["third-party-sysdeps"]
source_sets = ["compilers"]
[artifact_groups.debug-tools]
description = "ROCm debug tools"
type = "generic"
artifact_group_deps = ["compiler", "hip-runtime", "third-party-sysdeps"]
# TODO: rocm-systems included for projects/hip/VERSION (see CMakeLists.txt)
source_sets = ["debug-tools", "rocm-systems"]
disable_platforms = ["windows"]
[artifact_groups.hip-runtime]
description = "HIP runtime"
type = "generic"
artifact_group_deps = ["core-runtime", "compiler"]
source_sets = ["rocm-systems"] # clr is in rocm-systems
[artifact_groups.opencl-runtime]
description = "OpenCL runtime"
type = "generic"
artifact_group_deps = ["core-runtime", "compiler"]
source_sets = ["rocm-systems"] # clr is in rocm-systems
[artifact_groups.rocrtst]
description = "Core runtime tests (ROCR-Runtime, rocminfo)"
type = "generic"
artifact_group_deps = ["opencl-runtime", "core-runtime"]
source_sets = ["rocm-systems"]
[artifact_groups.math-libs]
description = "Math libraries (BLAS, FFT, RAND, etc.)"
type = "per-arch" # Built per GPU architecture
artifact_group_deps = ["hip-runtime", "profiler-core"]
# TODO: rocm-systems included for projects/hip/VERSION (see CMakeLists.txt)
source_sets = ["rocm-libraries", "rocm-systems", "math-libs"]
[artifact_groups.ml-libs]
description = "Machine learning libraries"
type = "per-arch"
artifact_group_deps = ["math-libs", "profiler-core"]
source_sets = ["rocm-libraries", "ml-frameworks"]
[artifact_groups.comm-libs]
description = "Communication libraries"
type = "generic"
artifact_group_deps = ["hip-runtime"]
# TODO: rocm-systems included for projects/hip/VERSION (see CMakeLists.txt)
source_sets = ["comm-libs", "rocm-systems"]
[artifact_groups.profiler-core]
description = "Core profiling libraries and annotation support"
type = "generic"
artifact_group_deps = ["core-runtime"]
source_sets = ["rocm-systems"] # rocprofiler-sdk is in rocm-systems
[artifact_groups.dctools-core]
description = "Data center management tools with minimal dependencies"
type = "generic"
artifact_group_deps = ["core-runtime", "core-amdsmi", "profiler-core"]
# TODO: rocm-systems included for projects/hip/VERSION (see CMakeLists.txt)
source_sets = ["base", "rocm-systems"] # RDC uses amdsmi from core-amdsmi
# Future artifact groups
# [artifact_groups.dctools-rocm]
# description = "Data center tools that depend on ROCm libraries"
# type = "generic"
# artifact_group_deps = ["math-libs", "ml-libs", "profiler-core"]
[artifact_groups.profiler-apps]
description = "Profiler applications and analysis tools"
type = "generic"
artifact_group_deps = ["profiler-core", "compiler", "core-amdsmi"]
source_sets = ["rocm-systems"]
[artifact_groups.iree-compiler]
description = "IREE compiler"
type = "generic"
artifact_group_deps = ["hip-runtime"]
# TODO: rocm-systems included for projects/hip/VERSION (see CMakeLists.txt)
source_sets = ["iree-libs", "rocm-systems"]
[artifact_groups.fusilli-libs]
description = "Fusilli hipdnn provider"
type = "generic"
artifact_group_deps = ["hip-runtime", "iree-compiler"]
# TODO: rocm-systems included for projects/hip/VERSION (see CMakeLists.txt)
source_sets = ["iree-libs", "rocm-libraries", "rocm-systems"]
[artifact_groups.media-libs]
description = "Media Libraries"
type = "generic"
artifact_group_deps = ["third-party-sysdeps", "base", "core-runtime", "hip-runtime"]
source_sets = ["amd-mesa", "rocm-systems"]
# ==============================================================================
# ARTIFACTS - The actual build outputs that can be transmitted between stages
# ==============================================================================
# Artifacts are the fundamental packaging units
# Each artifact produces components: dbg, dev, doc, lib, run, test
# --- Sysdeps: Bundled system libraries ---
# Libraries built from source with SONAME rewriting and symbol versioning
# for portable distribution. Installed into lib/rocm_sysdeps/.
# See docs/development/dependencies.md.
[artifacts.sysdeps]
artifact_group = "third-party-sysdeps"
type = "target-neutral"
artifact_deps = [] # No dependencies on other artifacts
feature_group = "CORE" # Part of core, enabled by default
[artifacts.sysdeps-amd-mesa]
artifact_group = "media-libs"
type = "target-neutral"
artifact_deps = ["sysdeps"]
feature_group = "MEDIA_LIBS" # Controlled by THEROCK_ENABLE_MEDIA_LIBS
disable_platforms = ["windows"]
[artifacts.sysdeps-expat]
artifact_group = "third-party-sysdeps"
type = "target-neutral"
artifact_deps = []
feature_group = "CORE"
disable_platforms = ["windows"]
[artifacts.sysdeps-gmp]
artifact_group = "third-party-sysdeps"
type = "target-neutral"
artifact_deps = []
feature_group = "CORE"
disable_platforms = ["windows"]
[artifacts.sysdeps-mpfr]
artifact_group = "third-party-sysdeps"
type = "target-neutral"
artifact_deps = ["sysdeps-gmp"] # mpfr depends on gmp
feature_group = "CORE"
disable_platforms = ["windows"]
[artifacts.sysdeps-ncurses]
artifact_group = "third-party-sysdeps"
type = "target-neutral"
artifact_deps = []
feature_group = "CORE"
disable_platforms = ["windows"]
[artifacts.sysdeps-libmnl]
artifact_group = "third-party-sysdeps"
type = "target-neutral"
artifact_deps = []
feature_group = "CORE"
disable_platforms = ["windows"]
[artifacts.sysdeps-libnl]
artifact_group = "third-party-sysdeps"
type = "target-neutral"
artifact_deps = []
feature_group = "CORE"
disable_platforms = ["windows"]
[artifacts.sysdeps-libpciaccess]
artifact_group = "third-party-sysdeps"
type = "target-neutral"
artifact_deps = []
feature_group = "CORE"
disable_platforms = ["windows"]
[artifacts.sysdeps-hwloc]
artifact_group = "third-party-sysdeps"
type = "target-neutral"
artifact_deps = ["sysdeps", "sysdeps-libpciaccess"] # hwloc depends on numactl (in core sysdeps) and libpciaccess
feature_group = "CORE"
disable_platforms = ["windows"]
# --- Third-party libraries ---
# Unlike third-party-sysdeps, these libraries are not given special treatment for portable distribution.
[artifacts.host-blas]
artifact_group = "third-party-libs"
type = "target-neutral"
artifact_deps = []
feature_group = "HOST_MATH" # Controlled by THEROCK_ENABLE_HOST_MATH (OFF by default)
[artifacts.host-suite-sparse]
artifact_group = "third-party-libs"
type = "target-neutral"
artifact_deps = ["host-blas"] # SuiteSparse depends on BLAS
feature_name = "HOST_SUITE_SPARSE"
feature_group = "HOST_MATH" # Controlled by THEROCK_ENABLE_HOST_MATH (OFF by default)
disable_platforms = ["windows"]
[artifacts.elfio]
artifact_group = "third-party-libs"
type = "target-neutral"
artifact_deps = []
feature_group = "CORE"
disable_platforms = ["windows"]
[artifacts.fftw3]
artifact_group = "third-party-libs"
type = "target-neutral"
artifact_deps = []
feature_group = "HOST_MATH" # Controlled by THEROCK_ENABLE_HOST_MATH (OFF by default)
[artifacts.flatbuffers]
artifact_group = "third-party-libs"
type = "target-neutral"
artifact_deps = []
feature_group = "CORE"
[artifacts.fmt]
artifact_group = "third-party-libs"
type = "target-neutral"
artifact_deps = []
feature_group = "CORE"
[artifacts.nlohmann-json]
artifact_group = "third-party-libs"
type = "target-neutral"
artifact_deps = []
feature_group = "CORE"
[artifacts.spdlog]
artifact_group = "third-party-libs"
type = "target-neutral"
artifact_deps = ["amd-llvm"]
feature_group = "CORE"
[artifacts.openmpi]
artifact_group = "third-party-libs"
type = "target-neutral"
artifact_deps = []
feature_group = "CORE"
# --- Base Infrastructure ---
[artifacts.base]
artifact_group = "base"
type = "target-neutral"
artifact_deps = []
feature_group = "CORE" # Part of core, enabled by default
# --- Compiler Artifacts ---
[artifacts.amd-llvm]
artifact_group = "compiler"
type = "target-neutral"
artifact_deps = ["sysdeps"]
feature_name = "COMPILER"
feature_group = "ALL"
[artifacts.hipify]
artifact_group = "compiler"
type = "target-neutral"
artifact_deps = ["amd-llvm"] # Built on top of amd-llvm
feature_group = "ALL"
# --- Runtime Artifacts ---
[artifacts.core-runtime]
artifact_group = "core-runtime"
type = "target-neutral"
artifact_deps = ["base", "sysdeps", "amd-llvm"]
feature_name = "CORE_RUNTIME"
feature_group = "CORE"
disable_platforms = ["windows"]
[artifacts.core-amdsmi]
artifact_group = "core-amdsmi"
type = "target-neutral"
artifact_deps = ["base", "sysdeps", "sysdeps-libnl", "sysdeps-libmnl", "amd-llvm"]
feature_name = "CORE_AMDSMI"
feature_group = "CORE"
disable_platforms = ["windows"]
[artifacts.core-kpack]
artifact_group = "hip-runtime"
type = "target-neutral"
artifact_deps = ["sysdeps"]
feature_name = "KPACK"
feature_group = "CORE"
[artifacts.core-hip]
artifact_group = "hip-runtime"
type = "target-neutral"
artifact_deps = ["core-runtime", "amd-llvm", "core-kpack"]
feature_name = "HIP_RUNTIME"
feature_group = "CORE" # Part of core, enabled by default
[artifacts.core-ocl-icd]
artifact_group = "opencl-runtime"
type = "target-neutral"
artifact_deps = ["core-runtime", "amd-llvm"]
feature_name = "OCL_ICD"
feature_group = "CORE" # Part of core, enabled by default
[artifacts.core-ocl]
artifact_group = "opencl-runtime"
type = "target-neutral"
artifact_deps = ["core-runtime", "amd-llvm", "core-ocl-icd"]
feature_name = "OCL_RUNTIME"
feature_group = "CORE" # Part of core, enabled by default
[artifacts.rocrtst]
artifact_group = "rocrtst"
type = "target-neutral"
artifact_deps = ["core-runtime", "core-ocl", "sysdeps-hwloc"]
feature_name = "CORE_RUNTIME_TESTS"
feature_group = "CORE"
disable_platforms = ["windows"]
[artifacts.core-hipinfo]
artifact_group = "hip-runtime"
type = "target-neutral"
platform = "windows"
artifact_deps = ["core-hip"]
feature_group = "CORE" # Part of core, enabled by default
# --- hip-tests ---
[artifacts.core-hiptests]
artifact_group = "hip-runtime"
type = "target-neutral"
artifact_deps = ["core-hip"]
feature_group = "CORE" # Part of core, enabled by default
# --- Math Libraries (per-arch) ---
[artifacts.blas]
artifact_group = "math-libs"
type = "target-specific"
artifact_deps = ["core-runtime", "core-hip", "core-amdsmi", "host-blas", "host-suite-sparse", "rocprofiler-sdk", "spdlog"]
split_databases = ["rocblas", "hipblaslt"]
[artifacts.rand]
artifact_group = "math-libs"
type = "target-specific"
artifact_deps = ["core-runtime", "core-hip"]
[artifacts.fft]
artifact_group = "math-libs"
type = "target-specific"
artifact_deps = ["core-runtime", "core-hip", "fftw3", "rand", "rocprofiler-sdk"]
[artifacts.prim]
artifact_group = "math-libs"
type = "target-specific"
artifact_deps = ["core-runtime", "core-hip", "rand"]
[artifacts.sparse]
artifact_group = "math-libs"
type = "target-specific"
artifact_deps = ["blas", "prim"]
[artifacts.solver]
artifact_group = "math-libs"
type = "target-specific"
artifact_deps = ["blas", "prim", "sparse", "host-suite-sparse"]
[artifacts.rocwmma]
artifact_group = "math-libs"
type = "target-specific"
artifact_deps = ["core-runtime", "core-hip", "blas"]
[artifacts.libhipcxx]
artifact_group = "math-libs"
type = "target-specific"
artifact_deps = ["core-runtime", "core-hip", "amd-llvm"]
[artifacts.support]
artifact_group = "math-libs"
type = "target-neutral"
artifact_deps = []
# --- ML Libraries (per-arch) ---
[artifacts.composable-kernel]
artifact_group = "ml-libs"
type = "target-specific"
artifact_deps = ["core-runtime", "core-hip"]
[artifacts.miopen]
artifact_group = "ml-libs"
type = "target-specific"
artifact_deps = ["core-runtime", "core-hip", "blas", "composable-kernel", "rand", "rocprofiler-sdk"]
split_databases = ["miopen"]
[artifacts.hipdnn]
artifact_group = "ml-libs"
type = "target-neutral"
artifact_deps = ["core-runtime", "core-hip", "spdlog"]
[artifacts.hipdnn-integration-tests]
artifact_group = "ml-libs"
type = "target-neutral"
artifact_deps = ["core-runtime", "core-hip", "hipdnn"]
[artifacts.miopenprovider]
artifact_group = "ml-libs"
type = "target-neutral"
artifact_deps = ["core-runtime", "core-hip", "miopen", "hipdnn", "hipdnn-integration-tests"]
[artifacts.hipblasltprovider]
artifact_group = "ml-libs"
type = "target-neutral"
artifact_deps = ["core-runtime", "core-hip", "blas", "hipdnn", "hipdnn-integration-tests"]
[artifacts.hipdnn-samples]
artifact_group = "ml-libs"
type = "target-specific"
artifact_deps = ["core-runtime", "core-hip", "miopen", "hipdnn", "miopenprovider"]
# Disabled until rocm-libraries bump that has hip-kernel-provider passing
[artifacts.hipkernelprovider]
artifact_group = "ml-libs"
type = "target-neutral"
artifact_deps = ["core-runtime", "core-hip", "hipdnn", "hipdnn-integration-tests"]
# --- IREE Integration ---
[artifacts.iree-compiler]
artifact_group = "iree-compiler"
type = "target-neutral"
artifact_deps = ["core-hip"]
disable_platforms = ["windows"]
feature_group = "IREE_LIBS"
[artifacts.fusilliprovider]
artifact_group = "fusilli-libs"
type = "target-neutral"
artifact_deps = ["core-runtime", "core-hip", "hipdnn", "iree-compiler", "hipdnn-integration-tests"]
disable_platforms = ["windows"]
feature_group = "IREE_LIBS"
# --- Media Integration ---
[artifacts.rocdecode]
artifact_group = "media-libs"
type = "target-neutral"
artifact_deps = ["core-runtime", "core-hip", "base", "sysdeps", "sysdeps-amd-mesa"]
feature_group = "MEDIA_LIBS" # Controlled by THEROCK_ENABLE_MEDIA_LIBS
disable_platforms = ["windows"]
[artifacts.rocjpeg]
artifact_group = "media-libs"
type = "target-neutral"
artifact_deps = ["core-runtime", "core-hip", "base", "sysdeps", "sysdeps-amd-mesa"]
feature_group = "MEDIA_LIBS" # Controlled by THEROCK_ENABLE_MEDIA_LIBS
disable_platforms = ["windows"]
# --- Communication Libraries (per-arch) ---
[artifacts.rccl]
artifact_group = "comm-libs"
type = "target-specific"
artifact_deps = ["core-runtime", "core-hip", "hipify", "rocprofiler-sdk", "core-amdsmi", "openmpi"]
disable_platforms = ["windows"]
[artifacts.rocshmem]
# target-neutral: rocshmem embeds device code via .hip_fatbin ELF sections
# rather than the __CudaFatBinaryWrapper format (.hipFatBinSegment), so kpack
# injection is not supported. Built for all targets to make upload races harmless.
artifact_group = "comm-libs"
type = "target-neutral"
artifact_deps = ["core-runtime", "core-hip", "sysdeps"]
disable_platforms = ["windows"]
# --- Profiler Tools ---
[artifacts.aqlprofile]
artifact_group = "profiler-core"
type = "target-neutral"
artifact_deps = ["core-runtime"]
feature_group = "PROFILER"
disable_platforms = ["windows"]
[artifacts.rocprofiler-sdk]
artifact_group = "profiler-core"
type = "target-neutral"
artifact_deps = ["core-runtime", "base", "aqlprofile", "elfio"] # rocprofiler-register is in base
feature_name = "ROCPROFV3"
feature_group = "PROFILER"
disable_platforms = ["windows"]
[artifacts.rocprofiler-compute]
artifact_group = "profiler-core"
type = "target-neutral"
artifact_deps = ["rocprofiler-sdk", "openmpi"]
feature_group = "PROFILER"
disable_platforms = ["windows"]
[artifacts.rocprofiler-systems]
artifact_group = "profiler-apps"
type = "target-neutral"
artifact_deps = ["amd-llvm", "core-hip", "rocprofiler-sdk", "core-amdsmi", "spdlog", "openmpi"]
feature_name = "ROCPROFSYS"
feature_group = "PROFILER"
disable_platforms = ["windows"]
# --- Data Center Tools ---
[artifacts.rdc]
artifact_group = "dctools-core"
type = "target-neutral"
artifact_deps = ["core-hip", "rocprofiler-sdk", "sysdeps", "core-amdsmi"]
feature_group = "DC_TOOLS" # Part of DC tools, enabled by default via THEROCK_ENABLE_ALL
disable_platforms = ["windows"]
# Future dctools-rocm artifacts will go here
# [artifacts.some-future-tool]
# artifact_group = "dctools-rocm"
# type = "target-neutral"
# artifact_deps = ["blas", "miopen", "rocprofiler-sdk"]
# --- ROCm Debug Tools ---
[artifacts.amd-dbgapi]
artifact_group = "debug-tools"
type = "target-neutral"
artifact_deps = ["amd-llvm", "sysdeps"]
feature_group = "DEBUG_TOOLS" # Part of DEBUG_TOOLS, enabled by default via THEROCK_ENABLE_ALL
disable_platforms = ["windows"]
[artifacts.rocr-debug-agent]
artifact_group = "debug-tools"
type = "target-neutral"
artifact_deps = ["amd-llvm", "core-runtime", "amd-dbgapi", "sysdeps"]
feature_group = "DEBUG_TOOLS" # Part of DEBUG_TOOLS, enabled by default via THEROCK_ENABLE_ALL
disable_platforms = ["windows"]
[artifacts.rocr-debug-agent-tests]
artifact_group = "debug-tools"
type = "target-neutral"
artifact_deps = ["rocr-debug-agent", "core-hip"]
feature_group = "DEBUG_TOOLS" # Part of DEBUG_TOOLS, enabled by default via THEROCK_ENABLE_ALL
disable_platforms = ["windows"]
[artifacts.rocgdb]
artifact_group = "debug-tools"
type = "target-neutral"
artifact_deps = ["amd-llvm", "amd-dbgapi", "sysdeps-gmp", "sysdeps-mpfr", "sysdeps-expat", "sysdeps-ncurses"]
feature_group = "DEBUG_TOOLS" # Part of DEBUG_TOOLS, enabled by default via THEROCK_ENABLE_ALL
disable_platforms = ["windows"]