Wednesday, April 28, 2021

Re: New: textproc/tree-sitter

On Wed, Apr 28, 2021 at 08:16:30AM -0600, Tracey Emery wrote:
> On Tue, Apr 27, 2021 at 06:59:40PM +0200, Paco Esteban wrote:
> > Hi ports@
> >
> > This is a new port of tree-sitter (https://tree-sitter.github.io/tree-sitter/).
> > From their site:
> >
> > Tree-sitter is a parser generator tool and an incremental parsing
> > library. It can build a concrete syntax tree for a source file and
> > efficiently update the syntax tree as the source file is edited.
> >
> > This port will be needed when neovim 0.5 goes out (I'm testing nightly
> > builds at the moment).
> >
> > It's a bit odd because it has a C library and a Rust binary.
> > Some tests fail, but it builds and neovim nightly takes it and builds
> > and runs too (I have a problem with port-lib-depends-check, but that's
> > a topic for another thread).
> >
> > Any suggestions on my "franken-port" are very welcome.
> >
> > ok to import ?
> >
> > --
> > Paco Esteban.
> > 0x5818130B8A6DBC03
>
> I must have missed a ulimit bump somewhere along the lines? Hmmm.

The _pbuild user has sufficient resources, others don't. Use
PORTS_PRIVSEP.

>
> ===> Compiler link: clang -> /usr/bin/clang
> ===> Compiler link: clang++ -> /usr/bin/clang++
> ===> Compiler link: cc -> /usr/bin/cc
> ===> Compiler link: c++ -> /usr/bin/c++
> ===> Generating configure for rust-1.50.0
> ===> Configuring for rust-1.50.0
> Using /usr/ports/pobj/rust-1.50.0/config.site (generated)
> datasize limit is too low - amd64 build takes approx 4GB
>
> --
>
> Tracey Emery
>

No comments:

Post a Comment