Skip to content

Commit

Permalink
runners: build tree-sitter-verilog using the same commands as conda b…
Browse files Browse the repository at this point in the history
…uild

Signed-off-by: Piotr Binkowski <pbinkowski@antmicro.com>
  • Loading branch information
Piotr Binkowski committed Oct 23, 2019
1 parent 9c65023 commit f6a3a80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/runners.mk
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ tree-sitter-verilog: $(INSTALL_DIR)/lib/tree-sitter-verilog.so

$(INSTALL_DIR)/lib/tree-sitter-verilog.so:
mkdir -p $(INSTALL_DIR)/lib
cd $(RDIR)/tree-sitter-verilog && npm install
cd $(RDIR)/tree-sitter-verilog && npm install tree-sitter-cli
cd $(RDIR)/tree-sitter-verilog && ./node_modules/tree-sitter-cli/tree-sitter generate
/usr/bin/env python3 -c "from tree_sitter import Language; Language.build_library(\"$@\", [\"$(abspath $(RDIR)/tree-sitter-verilog)\"])"

# sv-parser
Expand Down

0 comments on commit f6a3a80

Please sign in to comment.