Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions pkgs/o/opencv.lua
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@
-- command past cmd.exe's 8191-char ceiling under 0.0.101; 0.0.102 drops the
-- `cmd /c` redirect wrapper (clang-scan-deps -o) and restores the 32767 limit.
--
-- 0.0.10: the per-glob flag tables moved into OS-conditional
-- [target.'cfg(...)'.build.flags] sections (mcpp#258, same 0.0.102 floor) —
-- entries whose predicate does not match the resolved target never enter the
-- glob table, so consumer builds no longer emit the ~26 structural dead-glob
-- warnings (windows stub globs + neon TUs on linux, symmetric elsewhere).
--
package = {
spec = "1",
name = "opencv",
Expand All @@ -41,6 +47,13 @@ package = {

xpm = {
linux = {
["0.0.10"] = {
url = {
GLOBAL = "https://github.com/Sunrisepeak/opencv-m/archive/refs/tags/v0.0.10.tar.gz",
CN = "https://gitcode.com/mcpp-res/opencv/releases/download/v0.0.10/opencv-m-0.0.10.tar.gz",
},
sha256 = "4a8cb551e6a9a1f39c2a70fc1fdd2719200a94fbb5b8d50f7e99e3e88c9ab801",
},
["0.0.9"] = {
url = {
GLOBAL = "https://github.com/Sunrisepeak/opencv-m/archive/refs/tags/v0.0.9.tar.gz",
Expand All @@ -50,6 +63,13 @@ package = {
},
},
macosx = {
["0.0.10"] = {
url = {
GLOBAL = "https://github.com/Sunrisepeak/opencv-m/archive/refs/tags/v0.0.10.tar.gz",
CN = "https://gitcode.com/mcpp-res/opencv/releases/download/v0.0.10/opencv-m-0.0.10.tar.gz",
},
sha256 = "4a8cb551e6a9a1f39c2a70fc1fdd2719200a94fbb5b8d50f7e99e3e88c9ab801",
},
["0.0.9"] = {
url = {
GLOBAL = "https://github.com/Sunrisepeak/opencv-m/archive/refs/tags/v0.0.9.tar.gz",
Expand All @@ -59,6 +79,13 @@ package = {
},
},
windows = {
["0.0.10"] = {
url = {
GLOBAL = "https://github.com/Sunrisepeak/opencv-m/archive/refs/tags/v0.0.10.tar.gz",
CN = "https://gitcode.com/mcpp-res/opencv/releases/download/v0.0.10/opencv-m-0.0.10.tar.gz",
},
sha256 = "4a8cb551e6a9a1f39c2a70fc1fdd2719200a94fbb5b8d50f7e99e3e88c9ab801",
},
["0.0.9"] = {
url = {
GLOBAL = "https://github.com/Sunrisepeak/opencv-m/archive/refs/tags/v0.0.9.tar.gz",
Expand Down
6 changes: 3 additions & 3 deletions tests/examples/opencv-module-dnn/mcpp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ version = "0.1.0"
default = { path = "../../.." }

[target.'cfg(linux)'.dependencies]
opencv = { version = "0.0.9", features = ["dnn"] }
opencv = { version = "0.0.10", features = ["dnn"] }

# macOS: `import opencv.dnn;` on macOS-arm64 (per-OS NEON dnn payload).
[target.'cfg(macos)'.dependencies]
opencv = { version = "0.0.9", features = ["dnn"] }
opencv = { version = "0.0.10", features = ["dnn"] }

# windows: `import opencv.dnn;` on windows-x86_64 (fast_gemm backend).
[target.'cfg(windows)'.dependencies]
opencv = { version = "0.0.9", features = ["dnn"] }
opencv = { version = "0.0.10", features = ["dnn"] }


6 changes: 3 additions & 3 deletions tests/examples/opencv-module/mcpp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ version = "0.1.0"
default = { path = "../../.." }

[target.'cfg(linux)'.dependencies]
opencv = "0.0.9"
opencv = "0.0.10"

[target.'cfg(macos)'.dependencies]
opencv = "0.0.9"
opencv = "0.0.10"

# windows: import opencv.cv on windows-x86_64 (clang-cl; module tarball OS-neutral).
[target.'cfg(windows)'.dependencies]
opencv = "0.0.9"
opencv = "0.0.10"
Loading