Skip to content

Commit 20f3eea

Browse files
docs: add header for compilation from source
1 parent 0488566 commit 20f3eea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/source/installation.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ To install from PyPI.
2121
pip install bitsandbytes
2222
```
2323

24+
## Alternative: Compiling from source
25+
2426
To compile from source, you need CMake >= **3.22.1** and Python >= **3.8** installed. Make sure you have a compiler installed to compile C++ (gcc, make, headers, etc.). For example, to install a compiler and CMake on Ubuntu:
2527

2628
```bash

0 commit comments

Comments
 (0)