From 295b25a6b5c9ae5a928e2516aa80b2d99dc93d95 Mon Sep 17 00:00:00 2001 From: Mika Laitio Date: Thu, 24 Apr 2025 15:52:32 -0700 Subject: [PATCH] update ubuntu dependencies in documentation prevents following build errors on fresh ubuntu 24.04 install: [hip-clr configure] Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY [hipBLASLt configure] Could NOT find Python (missing: Python_EXECUTABLE Python_INCLUDE_DIRS fixes: https://github.com/ROCm/TheRock/issues/462 Signed-off-by: Mika Laitio --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0dc8a902989..6c1f7f2e21a 100644 --- a/README.md +++ b/README.md @@ -21,14 +21,16 @@ Currently, the platform offers developers the option to build HIP and ROCm from ### Ubuntu ```bash +# Install Ubuntu dependencies +sudo apt install gfortran git git-lfs ninja-build cmake g++ pkg-config xxd patchelf automake python3-venv python3-dev libegl1-mesa-dev + # Clone the repository git clone https://github.com/ROCm/TheRock.git cd TheRock -# Install dependencies +# Init python virtual environment and install python dependencies python3 -m venv .venv && source .venv/bin/activate pip install -r requirements.txt -sudo apt install gfortran git-lfs ninja-build cmake g++ pkg-config xxd patchelf automake python ./build_tools/fetch_sources.py # Downloads submodules and applies patches ```