# Maintainer Workflow: Vendoring SIMDe

This vignette is for maintainers of `RsimdDispatch` itself. Downstream packages should normally use `LinkingTo: RsimdDispatch` and the copied dispatch template; they do not need to run the vendoring scripts.

`RsimdDispatch` vendors the full header-only SIMDe include tree in `inst/include/simde`. The pinned upstream checkout is reported by `simde_info()` and recorded in `inst/vendor/simde/VERSION`:

    RsimdDispatch::simde_info()[c("version", "commit", "date", "repository")]
    #> $version
    #> [1] "0.8.4"
    #>
    #> $commit
    #> [1] "f3e8262173b7089db9a9d57a9ecef8dd07ad9c97"
    #>
    #> $date
    #> [1] "2026-05-10"
    #>
    #> $repository
    #> [1] "https://github.com/simd-everywhere/simde"

The update flow is explicit:

    Rscript tools/vendor-simde.R
    Rscript tools/update-authors.R

`tools/vendor-simde.R` checks out the pinned SIMDe commit, copies the full `simde/` include tree into `inst/include/simde`, and stores upstream provenance under `inst/vendor/simde`.

`tools/update-authors.R` regenerates:

    inst/AUTHORS
    inst/LICENCE.note

These files document bundled SIMDe authorship, contributors, the upstream license file, and the vendored commit. Local changes to vendored headers should not be made silently; update the vendoring script or record patches explicitly.