Skip to content

Commit 14eb738

Browse files
committed
chore(release): point overlay-htp at chore/signed-htp-lfs-store
Signed HTP bundles live on a long-lived branch of qcom-ai-hub/geniex rather than on main, so overlay-htp and the promotion procedure both target that branch. Signed-off-by: Mengsheng Wu <mengshen@qti.qualcomm.com>
1 parent 3dde9ca commit 14eb738

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ jobs:
125125
uses: actions/checkout@v7
126126
with:
127127
repository: qcom-ai-hub/geniex
128-
ref: main
128+
ref: chore/signed-htp-lfs-store
129129
lfs: false
130130
path: signed-htp-src
131131
sparse-checkout: sdk/signed-htp

notes/release.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,14 +165,14 @@ The per-tag manifest is byte-stable across workflow re-runs of the same tag —
165165

166166
## Hexagon HTP signing
167167

168-
The Windows ARM64 SDK ships `libggml-htp.cat` plus `libggml-htp-v{68,69,73,75,79,81}.so` — Windows refuses to load them unsigned. Release CI runs an `overlay-htp` job **before** `build-cli` that sparse-checks-out `sdk/signed-htp/libggml-htp-<sha>.zip` from `qcom-ai-hub/geniex` (LFS-tracked), where `<sha>` is the `third-party/llama.cpp` short SHA. Both the installer and the SDK zip end up with the same HTP files:
168+
The Windows ARM64 SDK ships `libggml-htp.cat` plus `libggml-htp-v{68,69,73,75,79,81}.so` — Windows refuses to load them unsigned. Release CI runs an `overlay-htp` job **before** `build-cli` that sparse-checks-out `sdk/signed-htp/libggml-htp-<sha>.zip` from the `chore/signed-htp-lfs-store` branch of `qcom-ai-hub/geniex` (LFS-tracked), where `<sha>` is the `third-party/llama.cpp` short SHA. Both the installer and the SDK zip end up with the same HTP files:
169169

170170
- **Hit** — overlay the Microsoft-signed files into the SDK artifact; `build-cli` packages them into the installer; release normally.
171171
- **Miss** — keep the self-signed build. The SDK name gets a `-selfsigned` suffix, and the release also carries `ggml-htp-v1.cer` (users import it) and `libggml-htp-to-sign-<sha>.zip` (operators submit it for signing).
172172

173173
The signed bundle must contain exactly these eight files at the zip root: `libggml-htp.cat`, `libggml-htp.inf`, and `libggml-htp-v{68,69,73,75,79,81}.so`.
174174

175-
The cross-repo checkout reuses `secrets.GH_PAT` (already scoped for cross-repo access to `qcom-ai-hub/geniex` — see `publish-s3` below). If CI reports `signed=false` but the bundle is merged on `main`, first check that `GH_PAT` has not expired.
175+
The cross-repo checkout reuses `secrets.GH_PAT` (already scoped for cross-repo access to `qcom-ai-hub/geniex` — see `publish-s3` below). If CI reports `signed=false` but the bundle is on `chore/signed-htp-lfs-store`, first check that `GH_PAT` has not expired.
176176

177177
### Promoting self-signed → Microsoft-signed
178178

@@ -182,7 +182,7 @@ The cross-repo checkout reuses `secrets.GH_PAT` (already scoped for cross-repo a
182182
b. Submit Jenkins pipeline, fill path with `\path\to\ATT`, other field use default or first param.
183183
c. Get signed files from `ATT\Glymur\01000\ExtractedDrivers`.
184184
d. Repack the signed files (without `.inf`) into a zip with the same layout at the root.
185-
3. Commit the result to `qcom-ai-hub/geniex` at `sdk/signed-htp/libggml-htp-<sha>.zip``git lfs install` locally, add the zip on a branch, open a PR titled per [CONTRIBUTING.md](../CONTRIBUTING.md) (for example `chore(release): add signed HTP bundle for llama.cpp <sha>`), and get a maintainer to squash-merge into `main`.
185+
3. Commit the result to `qcom-ai-hub/geniex` at `sdk/signed-htp/libggml-htp-<sha>.zip` on the `chore/signed-htp-lfs-store` branch `git lfs install` locally, push the zip directly, or open a PR against that branch and squash-merge.
186186
4. Re-run the Release workflow for the same tag.
187187

188188
## Windows installer signing gate

0 commit comments

Comments
 (0)