Skip to content

Commit

Permalink
Fix the boost dependency when building from source. (#230)
Browse files Browse the repository at this point in the history
Signed-off-by: YiYing He <[email protected]>
  • Loading branch information
q82419 authored May 27, 2024
1 parent f514e48 commit 433a7f8
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 14 deletions.
8 changes: 4 additions & 4 deletions docs/contribute/source/os/linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,15 @@ Please check that these dependencies are satisfied.
- LLVM 12.0.0 (>= 10.0.0)
- _(Optional)_ GCC 11.1.0 (>= 9.4.0), install it if you prefer to use GCC toolchain.

After `WasmEdge 0.13.0`, the `boost` dependency is not needed.

#### For Ubuntu 22.04

```bash
# Tools and libraries
sudo apt install -y \
software-properties-common \
cmake \
libboost-all-dev
cmake

# And you will need to install llvm for the AOT runtime
sudo apt install -y \
Expand All @@ -62,8 +63,7 @@ sudo apt install -y clang-14
# Tools and libraries
sudo apt install -y \
software-properties-common \
cmake \
libboost-all-dev
cmake

# And you will need to install llvm for the AOT runtime
sudo apt install -y \
Expand Down
2 changes: 1 addition & 1 deletion docs/contribute/source/os/riscv64.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ WasmEdge requires LLVM 12 at least and you may need to install the following dep

```bash
ubuntu@riscv-lab:/labs/riscv-lab$ sudo apt-get update
ubuntu@riscv-lab:/labs/riscv-lab$ sudo apt install -y software-properties-common cmake libboost-all-dev
ubuntu@riscv-lab:/labs/riscv-lab$ sudo apt install -y software-properties-common cmake
ubuntu@riscv-lab:/labs/riscv-lab$ sudo apt install -y llvm-12-dev liblld-12-dev
```

Expand Down
4 changes: 2 additions & 2 deletions docs/contribute/source/plugin/image.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ The WasmEdge Image plug-in is a software component that extends the functionalit

The prerequisites of the WasmEdge-Image plug-in is the same as the WasmEdge building environment on the [Linux platforms](../os/linux.md) or [MacOS platforms](../os/macos.md).

If developers build with their own environment, please ensure the `zlib` are installed.
If developers build with their own environment, please ensure the `zlib` and `libboost-all-dev` are installed.

```bash
sudo apt update
sudo apt install zlib1g-dev
sudo apt install zlib1g-dev libboost-all-dev
```

On MacOS platforms, the `libjpeg` and `libpng` are required.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ Please check that these dependencies are satisfied.
# Tools and libraries
sudo apt install -y \
software-properties-common \
cmake \
libboost-all-dev
cmake

# And you will need to install llvm for the AOT runtime
sudo apt install -y \
Expand All @@ -62,8 +61,7 @@ sudo apt install -y clang-14
# Tools and libraries
sudo apt install -y \
software-properties-common \
cmake \
libboost-all-dev
cmake

# And you will need to install llvm for the AOT runtime
sudo apt install -y \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ WasmEdge requires LLVM 12 at least and you may need to install the following dep

```bash
ubuntu@riscv-lab:/labs/riscv-lab$ sudo apt-get update
ubuntu@riscv-lab:/labs/riscv-lab$ sudo apt install -y software-properties-common cmake libboost-all-dev
ubuntu@riscv-lab:/labs/riscv-lab$ sudo apt install -y software-properties-common cmake
ubuntu@riscv-lab:/labs/riscv-lab$ sudo apt install -y llvm-12-dev liblld-12-dev
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ The WasmEdge Image plug-in is a software component that extends the functionalit

The prerequisites of the WasmEdge-Image plug-in is the same as the WasmEdge building environment on the [Linux platforms](../os/linux.md) or [MacOS platforms](../os/macos.md).

If developers build with their own environment, please ensure the `zlib` are installed.
If developers build with their own environment, please ensure the `zlib` and `libboost-all-dev` are installed.

```bash
sudo apt update
sudo apt install zlib1g-dev
sudo apt install zlib1g-dev libboost-all-dev
```

On MacOS platforms, the `libjpeg` and `libpng` are required.
Expand Down

0 comments on commit 433a7f8

Please sign in to comment.