Skip to content

Commit

Permalink
build from source doc without sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
Yikai-Liao committed Jun 4, 2024
1 parent 761a55c commit 7fe3655
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/src/quick_start.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,15 @@ Note that `symusic` is built with `C++20`, and it does need some modern features
* clang: : `>=15`
* msvc: Not tested, but it's recommended to use `Visual Studio 2022`

On Linux, if you don't have the `sudo` permission, you could install a `gcc` compiler from `conda`:
```bash
conda install conda-forge::gcc conda-forge::gxx
```
And then set the `CC` and `CXX` environment variables to the path of the `gcc` and `g++`:
```bash
CC=/path_to_conda_root/envs/env_name/bin/gcc CXX=/path_to_conda_root/envs/env_name/bin/g++ pip install --no-binary symusic symusic
```

## Load

If you pass a file path (str or pathlib.Path) to the `Score` constructor,
Expand Down

0 comments on commit 7fe3655

Please sign in to comment.