Commit 4bd4dd8
committed
fix(rocm-compilersupport): introduce azl_release counter
The hard-coded "Release: 15.rocm%{rocm_version}%{?dist}" line in this
spec gives no machine-readable signal for "AZL has rebuilt this on top
of an unchanged upstream pin", which means every distro-local change
(overlay tweak, build-flag adjustment, dependency rebuild) requires
hand-editing the Release prefix to bump it. That is easy to forget and
trivial to get wrong.
Switch to the same %{azl_release}-driven pattern used elsewhere in the
distro:
Release: %[15 + %{azl_release}].rocm%{rocm_version}%{?dist}
%{azl_release} is set via build.defines in the comp.toml and is meant
to be incremented monotonically by every commit that changes a tracked
input (overlay edit, build-define change, lock pin refresh), which is
what check-azl-release.yml enforces. The "15 +" base preserves
continuity with the previously shipped Release == 15 builds so the
schema stays monotonic across the switchover.
The initial value (3) accounts for the upstream-fingerprint-changing
commits that preceded this one, plus this commit itself; the inline
comment in comp.toml lists them by title so reviewers can audit the
counter against history without scraping git log.
No build behaviour changes besides the literal Release number.1 parent 99fe90a commit 4bd4dd8
4 files changed
Lines changed: 40 additions & 3 deletions
File tree
- base/comps/rocm-compilersupport
- locks
- specs/r/rocm-compilersupport
Lines changed: 31 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
3 | 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
4 | 7 | | |
5 | 8 | | |
6 | 9 | | |
| |||
42 | 45 | | |
43 | 46 | | |
44 | 47 | | |
45 | | - | |
| 48 | + | |
46 | 49 | | |
47 | 50 | | |
48 | 51 | | |
| |||
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
| 59 | + | |
56 | 60 | | |
57 | 61 | | |
58 | 62 | | |
| |||
0 commit comments