Package Details: tree-sitter-git 0.22.6.r58.g779566f5-1

Git Clone URL: https://aur.archlinux.org/tree-sitter-git.git (read-only, click to copy)
Package Base: tree-sitter-git
Description: An incremental parsing system for programming tools
Upstream URL: https://tree-sitter.github.io/tree-sitter/
Licenses: MIT
Conflicts: tree-sitter
Provides: libtree-sitter.so, tree-sitter
Submitter: FFY00
Maintainer: Chocobo1
Last Packager: Chocobo1
Votes: 3
Popularity: 0.015063
First Submitted: 2020-04-22 17:19 (UTC)
Last Updated: 2024-08-01 16:15 (UTC)

Dependencies (2)

Required by (67)

Sources (1)

Latest Comments

salihdayi commented on 2024-10-11 23:15 (UTC)

Hey any chance we can bump the version to 0.24?

Ram-Z commented on 2024-09-18 13:56 (UTC)

As a note to anyone else having new trouble building this package: it appears to be incompatible with the lto setting in the options=() array.

Thanks, this worked for me.

Could we add "!lto" to the options=() of this package then please?

Chocobo1 commented on 2024-08-01 16:16 (UTC)

I successfully compiled this in aarch64, I think you can add this arch to the supported architectures in the pkgbuild file.

Thanks

Done.

brain commented on 2024-08-01 13:15 (UTC)

I successfully compiled this in aarch64, I think you can add this arch to the supported architectures in the pkgbuild file.

Thanks

wbthomason commented on 2021-10-26 17:21 (UTC)

As a note to anyone else having new trouble building this package: it appears to be incompatible with the lto setting in the options=() array.

Armeeh commented on 2021-04-15 18:35 (UTC)

Currently this package doesn't build for me.

==> Starting pkgver()...
==> Updated version: tree-sitter-git v0.19.4.r3526.ca6e8d93-1
==> Sources are ready.
==> Making package: tree-sitter-git v0.19.4.r3526.ca6e8d93-1 (Thu 15 Apr 2021 08:35:22 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Starting build()...
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -std=gnu99 -fPIC -Ilib/src -Ilib/include -D_FORTIFY_SOURCE=2  -c -o lib/src/get_changed_ranges.o lib/src/get_changed_ranges.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -std=gnu99 -fPIC -Ilib/src -Ilib/include -D_FORTIFY_SOURCE=2  -c -o lib/src/language.o lib/src/language.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -std=gnu99 -fPIC -Ilib/src -Ilib/include -D_FORTIFY_SOURCE=2  -c -o lib/src/lexer.o lib/src/lexer.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -std=gnu99 -fPIC -Ilib/src -Ilib/include -D_FORTIFY_SOURCE=2  -c -o lib/src/node.o lib/src/node.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -std=gnu99 -fPIC -Ilib/src -Ilib/include -D_FORTIFY_SOURCE=2  -c -o lib/src/parser.o lib/src/parser.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -std=gnu99 -fPIC -Ilib/src -Ilib/include -D_FORTIFY_SOURCE=2  -c -o lib/src/query.o lib/src/query.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -std=gnu99 -fPIC -Ilib/src -Ilib/include -D_FORTIFY_SOURCE=2  -c -o lib/src/stack.o lib/src/stack.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -std=gnu99 -fPIC -Ilib/src -Ilib/include -D_FORTIFY_SOURCE=2  -c -o lib/src/subtree.o lib/src/subtree.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -std=gnu99 -fPIC -Ilib/src -Ilib/include -D_FORTIFY_SOURCE=2  -c -o lib/src/tree.o lib/src/tree.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -std=gnu99 -fPIC -Ilib/src -Ilib/include -D_FORTIFY_SOURCE=2  -c -o lib/src/tree_cursor.o lib/src/tree_cursor.c
ar rcs libtree-sitter.a lib/src/get_changed_ranges.o lib/src/language.o lib/src/lexer.o lib/src/node.o lib/src/parser.o lib/src/query.o lib/src/stack.o lib/src/subtree.o lib/src/tree.o lib/src/tree_cursor.o
cc -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -shared -Wl,-soname,libtree-sitter.so.0 lib/src/get_changed_ranges.o lib/src/language.o lib/src/lexer.o lib/src/node.o lib/src/parser.o lib/src/query.o lib/src/stack.o lib/src/subtree.o lib/src/tree.o lib/src/tree_cursor.o  -o libtree-sitter.so.0.0
ln -sf libtree-sitter.so.0.0 libtree-sitter.so
ln -sf libtree-sitter.so.0.0 libtree-sitter.so.0
emcc: error: no input files
==> ERROR: A failure occurred in build().
    Aborting...
error making: tree-sitter-git

xzz53 commented on 2020-11-03 14:34 (UTC)

Hi! The package as is doesn't compile for me now, need the following patch to make it work:

--- a/PKGBUILD  2020-11-03 17:28:20.248555786 +0300
+++ b/PKGBUILD  2020-11-03 17:28:27.455316611 +0300
@@ -29,7 +29,7 @@
   make

   # emcc needs to be run at least one time before using to spit out their initial message .-.
-  /usr/lib/emscripten/emcc 2>&1 >/dev/null
+  /usr/lib/emscripten/emcc >/dev/null 2>&1 || true

   ./script/build-wasm