Skip to content

tree-sitter: add 0.26.4:0.26.9 and clean up the dependencies and install logic#5115

Open
mcmehrtens wants to merge 1 commit into
spack:developfrom
mcmehrtens:tree-sitter/add-new-versions
Open

tree-sitter: add 0.26.4:0.26.9 and clean up the dependencies and install logic#5115
mcmehrtens wants to merge 1 commit into
spack:developfrom
mcmehrtens:tree-sitter/add-new-versions

Conversation

@mcmehrtens
Copy link
Copy Markdown
Contributor

  • Added tree-sitter versions @0.26.4:0.26.9
  • Adds the -D_BSD_SOURCE flag via compiler wrappers instead of clobbering the CFLAGS environment variable (which had defaults set by tree-sitter's Makefile)
  • Added minimum Rust versions for building with +cli. Versions were pulled from Cargo.toml.
  • Dropped the build() override
    • As far as I can tell, this override was doing a debug build and the results were never used. cargo install compiled the source again with the release profile.
    • Now, just the cargo install remains
  • Added the --locked flag for +cli builds so that we always build the dependencies in Cargo.lock (reproducibility!)
  • Added the supplier field

Confirmed versions @0.26.3+cli:0.26.9+cli compiled successfully (and that tree-sitter --version runs and returns the correct version)

Maintainers: @albestro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant