Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,26 @@ Or to install it directly into your current environment:
uv pip install pyfastpfor
```

### Building from source
### Native builds

Native builds automatically use `-march=native` on Unix-like platforms when
the compiler supports it. Set `PYFASTPFOR_PORTABLE=1` for a portable build.

#### Install from Git

To build and install the native extension directly from the latest Git source:

```
pip install "pyfastpfor @ git+https://github.com/fast-pack/PyFastPFor.git#subdirectory=python_bindings"
```

With uv:

```
uv pip install "pyfastpfor @ git+https://github.com/fast-pack/PyFastPFor.git#subdirectory=python_bindings"
```

#### Build a local checkout

From the repository root, run:

Expand Down
Loading