-
Notifications
You must be signed in to change notification settings - Fork 226
How to Build
LuQQiu edited this page Sep 15, 2024
·
8 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/