Files
clide/native/linux-x64/BUILD.md
T
jpmschweitzerandClaude Opus 4.6 46329700d5 dissolve app/ into repo root (D-056)
Single Flutter package at the repo root. All code, tests, assets,
and platform directories moved from app/ to root. Package renamed
from clide_app to clide — all imports rewritten. Merged pubspec
combines core (ffi) and app (flutter, yaml, xterm) dependencies.
Makefile simplified: no APP_PRESENT conditionals, no cd, no daemon
lifecycle. 317 tests pass.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-23 00:37:20 +02:00

1.4 KiB

libtree-sitter.so — vendored build record

Status: PROVISIONAL — built locally, not yet CI

Built on contributor machine. CI-based reproducible build required before release.

Source

Build command

cmake -B build \
  -DTREE_SITTER_FEATURE_WASM=ON \
  -DBUILD_SHARED_LIBS=ON \
  -DCMAKE_BUILD_TYPE=Release \
  -DCMAKE_INCLUDE_PATH=/home/linuxbrew/.linuxbrew/include \
  -DWASMTIME_LIBRARY=/home/linuxbrew/.linuxbrew/lib/libwasmtime.a
cmake --build build -j$(nproc)

Dependencies (statically linked)

  • wasmtime 44.0.0 — Apache-2.0 with LLVM exception
    • Source: Bytecode Alliance, installed via Homebrew
    • Linked statically (libwasmtime.a) so we ship one .so

Toolchain

  • Compiler: GCC 15.2.1 (Fedora 43)
  • Target: x86_64-linux-gnu
  • CMake: system

Binary details

  • Size: ~24 MB
  • Exports: ts_wasm_store_new, ts_wasm_store_delete, ts_wasm_store_load_language, ts_wasm_store_language_count, plus full tree-sitter C API

TODO before release

  • Build in CI from pinned source SHA
  • Record SHA-256 of output
  • Cross-compile for macOS (aarch64, x86_64)
  • Cross-compile for Windows (x86_64)
  • Vendor wasmtime NOTICE file per POLICY.md Apache-2.0 rules