Skip to content

gen: remove stale jl_cxx_files duplicate of src/#88

Merged
ViralBShah merged 1 commit into
masterfrom
vs/remove-stale-jl-cxx-files
Jun 5, 2026
Merged

gen: remove stale jl_cxx_files duplicate of src/#88
ViralBShah merged 1 commit into
masterfrom
vs/remove-stale-jl-cxx-files

Conversation

@ViralBShah

Copy link
Copy Markdown
Member

Summary

  • Deletes gen/jl_cxx_files/ (8 .jl files inherited from opencv_contrib/modules/julia/jl_cxx_files/) and the file(COPY ... jl_cxx_files/ ...) line in gen/CMakeLists.txt.
  • These files used to ship inside OpenCV_jll; since the move to in-repo Julia sources under src/, OpenCV.jl loads only from src/ and the JLL ships only libopencv_julia.* (Yggdrasil's build_tarballs.jl discards the staged Julia tree). The directory was unread at runtime and had drifted from src/.
  • regenerate.jl only copies *wrap.jl from autogen_jl/ into src/generated/, so this is a no-op for the generator pipeline. The Yggdrasil-side gen/CMakeLists.txt change is similarly a no-op for the resulting libopencv_julia.*.

Test plan

  • CI green on this PR (Regenerate workflow must still produce a clean git diff --exit-code on src/generated/)
  • After merge, bump the OpenCV.jl pin in Yggdrasil O/OpenCV/build_tarballs.jl and confirm the resulting libopencv_julia.* is byte-identical to a build from the prior pin (sanity check that the dropped CMake copy line affects only discarded staging output)

🤖 Generated with Claude Code

These eight .jl files (Mat, Vec, OpenCV, cv_cxx, cv_manual_wrap,
mat_conversion, types_conversion, typestructs) were inherited from
opencv_contrib/modules/julia/jl_cxx_files/, where they used to be
shipped inside OpenCV_jll. Since the move to per-repo Julia sources
under src/, the package loads only from src/ and Yggdrasil ships
only libopencv_julia.* (build_tarballs.jl drops the staged Julia
tree), so this directory's contents were never read at runtime and
had drifted from src/.

regenerate.jl only copies *wrap.jl from autogen_jl/ into
src/generated/, so removing it has no effect on that pipeline.
The Yggdrasil-side CMake copy line is dropped in the same change.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@ViralBShah ViralBShah merged commit 86ec4be into master Jun 5, 2026
1 of 15 checks passed
@ViralBShah ViralBShah deleted the vs/remove-stale-jl-cxx-files branch June 5, 2026 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant