Skip to content

Commit 590c44b

Browse files
authored
Merge pull request #2536 from pareenaverma/content_review
Halide LP tech review
2 parents 83fa643 + f86d25b commit 590c44b

File tree

1 file changed

+14
-17
lines changed
  • content/learning-paths/mobile-graphics-and-gaming/android_halide

1 file changed

+14
-17
lines changed

content/learning-paths/mobile-graphics-and-gaming/android_halide/intro.md

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -61,32 +61,29 @@ Halide can be set up using one of two main approaches:
6161
Here, 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
6666
export HALIDE_DIR=/path/to/halide
6767
export PATH=$HALIDE_DIR/bin:$PATH
6868
```
6969

7070
To 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">}}
7478
sudo 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
8379
sudo 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
8783
brew install opencv pkg-config
88-
```
89-
84+
{{< /tab >}}
85+
{{< /tabpane >}}
86+
9087
Halide examples were tested with OpenCV 4.11.0
9188

9289
## Your first Halide program

0 commit comments

Comments
 (0)