@@ -61,32 +61,29 @@ Halide can be set up using one of two main approaches:
6161Here, you will use pre-built binaries:
6262 1. Visit the official Halide releases [page](https://github.com/halide/Halide/releases). As of this writing, the latest Halide version is v19.0.0.
6363 2. Download and unzip the binaries to a convenient location (e.g., /usr/local/halide on Linux/macOS or C:\halide on Windows).
64- 3. 3. Optionally set environment variables to simplify further usage:
64+ 3. Optionally set environment variables to simplify further usage:
6565```console
6666export HALIDE_DIR=/path/to/halide
6767export PATH=$HALIDE_DIR/bin:$PATH
6868```
6969
7070To proceed futher, make sure to install the following components:
71- 1 . LLVM (Halide requires LLVM to compile and execute pipelines):
72- * Linux (Ubuntu):
73- ``` console
71+ 1 . LLVM (Halide requires LLVM to compile and execute pipelines)
72+ 2 . OpenCV (for image handling in later lessons)
73+
74+ Install with the commands for your OS:
75+
76+ {{< tabpane code=true >}}
77+ {{< tab header="Linux/Ubuntu" language="bash">}}
7478sudo apt-get install llvm-19-dev libclang-19-dev clang-19
75- ```
76- * macOS (Homebrew):
77- ``` console
78- brew install llvm
79- ```
80- 2 . OpenCV (for image handling in later lessons):
81- * Linux (Ubuntu):
82- ``` console
8379sudo apt-get install libopencv-dev pkg-config
84- ```
85- * macOS (Homebrew):
86- ``` console
80+ {{< /tab >}}
81+ {{< tab header=" macOS" language="bash">}}
82+ brew install llvm
8783brew install opencv pkg-config
88- ```
89-
84+ {{< /tab >}}
85+ {{< /tabpane >}}
86+
9087Halide examples were tested with OpenCV 4.11.0
9188
9289## Your first Halide program
0 commit comments