Skip to content

Commit 3ff4265

Browse files
committed
Docs: Recommend CMake from PyPI
1 parent 56bb71a commit 3ff4265

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,10 @@ If you are familiar with C++ and want to review code and measurements as you rea
5454
git clone https://github.com/ashvardanian/less_slow.cpp.git # Clone the repository
5555
cd less_slow.cpp # Change the directory
5656

57-
sudo apt-get install build-essential cmake g++ # Install default build tools
58-
sudo apt-get install pkg-config liburing-dev # Install liburing for kernel-bypass
59-
sudo apt-get install libopenblas-base # Install numerics libraries
57+
pip install cmake --upgrade # PyPI has a newer version of CMake
58+
sudo apt-get install -y build-essential g++ # Install default build tools
59+
sudo apt-get install -y pkg-config liburing-dev # Install liburing for kernel-bypass
60+
sudo apt-get install -y libopenblas-base # Install numerics libraries
6061

6162
cmake -B build_release -D CMAKE_BUILD_TYPE=Release # Generate the build files
6263
cmake --build build_release --config Release # Build the project

0 commit comments

Comments
 (0)