-
Notifications
You must be signed in to change notification settings - Fork 474
How to Build
Colin Patrick McCabe edited this page Aug 14, 2025
·
9 revisions
On Ubuntu 22.04
sudo apt install protobuf-compiler libssl-dev build-essential pkg-config gfortran
On Mac
brew install protobuf
git checkout https://github.com/lancedb/lance.git
# Build rust package
cd rust
cargo build
# Run test
cargo test
# Run benchmarks
cargo bench
To build the Pylance package
cd python
python3 -m venv venv
source venv/bin/activate
pip install maturin
# Build debug build
maturin develop --extras tests
# Run pytest
pytest python/tests/
If you get a too many open files error, try increasing the maximum number of open files with ulimit -n 100000