Skip to content

Commit

Permalink
Update BUILDING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dofuuz committed May 31, 2024
1 parent 47050fa commit 784af22
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,22 @@ python -m pip install --upgrade pip
# Clone code including submodule
git clone --recurse-submodules https://github.com/dofuuz/python-soxr.git
cd python-soxr
```


## Build package(wheel)
```
cd python-soxr
pip wheel -ve .
pip wheel -v .
```

### (Alternative method) Build using system libsoxr
libsoxr should be installed before building.
(e.g. `sudo apt install libsoxr-dev`)
```
export CMAKE_ARGS="-DUSE_SYSTEM_LIBSOXR=ON"
pip wheel -ve .
pip wheel -v .
```
It will link libsoxr dynamically and won't bundle libsoxr in the wheel package.

Expand All @@ -39,6 +40,5 @@ pip install ./soxr-[...].whl
pip install pytest
# Test (using installed Python-SoXR)
cd python-soxr/tests
python -m pytest
```

0 comments on commit 784af22

Please sign in to comment.