Skip to content

Commit ee1c440

Browse files
committed
feat(pkgs): opencv 0.0.7 单仓库形态 — 内置 OpenCV 5 源码构建,退役 compat.opencv
opencv-m 自 0.0.7 起把 OpenCV 5.0.0 的完整源码构建收入自身仓库:上游源码 (third_party/opencv-5.0.0/,官方 tag 的裁剪导入,sha256 锁定,零补丁)与各平台 冻结的 configure 快照(gen/)随 release tarball 一并分发,消费端不执行 CMake。 索引侧因此只保留指向该 release 的 Form A 描述符。 - pkgs/o/opencv.lua:0.0.7(GLOBAL GitHub tag tarball + CN gitcode 镜像, 两者字节一致,sha256 a896d08d…);描述符注释重写为单仓库形态。仅保留 0.0.7, 0.0.6 及更早版本随 compat.opencv 一并移除。 - 删除 pkgs/c/compat.opencv.lua、pkgs/c/compat.opencv-unifont.lua 与 tools/compat-opencv/(描述符生成流水线),以及两个临时快照采集 workflow (snapshot-{macos,windows}-opencv.yml)。 - 删除仅用于验证 compat.opencv 的 workspace 成员:opencv、opencv-win、 opencv-unifont、opencv-dnn;模块层成员 opencv-module{,-dnn,-unifont} 依赖上调至 0.0.7 并更新已失效的注释(不再有 feature 转发与 linux-only)。 - README 与 validate.yml 的相关描述同步更新。 opencv-m 侧五条 CI 腿(linux gcc/llvm22/musl-static、macOS llvm、windows llvm) 全部通过;本地已用本检出解析 opencv 0.0.7 并运行 opencv-module 成员验证。
1 parent e83ed49 commit ee1c440

27 files changed

Lines changed: 72 additions & 12996 deletions

.github/workflows/snapshot-macos-opencv.yml

Lines changed: 0 additions & 86 deletions
This file was deleted.

.github/workflows/snapshot-windows-opencv.yml

Lines changed: 0 additions & 192 deletions
This file was deleted.

.github/workflows/validate.yml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -159,17 +159,14 @@ jobs:
159159
# The ~/.mcpp/registry cache carries the built compat packages (xpkgs) across
160160
# runs, so repeat builds are fast.
161161
#
162-
# timeout-minutes is sized for the COLD build, not the cached path. compat.opencv
163-
# is now a from-source OpenCV 5 build, and each feature variant re-keys the
164-
# store into a full recompile, so a full run (forced whenever this workflow file
165-
# changes — e.g. a version bump) serially builds several OpenCV variants on one
166-
# runner: compat.opencv base + `unifont` + `dnn` feature members, plus the
167-
# transition-window compat.opencv5 pulled by the opencv-module member (opencv-m
168-
# still deps compat.opencv5 until its v0.0.3). That transition double-build goes
169-
# away once opencv-m switches to compat.opencv and compat.opencv5 is retired;
170-
# steady state is base+unifont+dnn, and the registry cache (restore-keys prefix
171-
# below) amortizes even those across subsequent runs. 150 covers the one-time
172-
# cold full build with headroom; it is a ceiling, not a target.
162+
# timeout-minutes is sized for the COLD build, not the cached path. The opencv
163+
# module package carries a from-source OpenCV 5 build, and each feature variant
164+
# re-keys the store into a full recompile, so a full run (forced whenever this
165+
# workflow file changes — e.g. a version bump) serially builds three OpenCV
166+
# variants on one runner: the opencv-module base member plus the `unifont` and
167+
# `dnn` feature members. The registry cache (restore-keys prefix below)
168+
# amortizes those across subsequent runs. 150 covers the one-time cold full
169+
# build with headroom; it is a ceiling, not a target.
173170
workspace:
174171
name: workspace (${{ matrix.platform }})
175172
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)