Skip to content

Commit 433a7f8

Browse files
authored
Fix the boost dependency when building from source. (#230)
Signed-off-by: YiYing He <[email protected]>
1 parent f514e48 commit 433a7f8

File tree

6 files changed

+12
-14
lines changed

6 files changed

+12
-14
lines changed

docs/contribute/source/os/linux.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,15 @@ Please check that these dependencies are satisfied.
3434
- LLVM 12.0.0 (>= 10.0.0)
3535
- _(Optional)_ GCC 11.1.0 (>= 9.4.0), install it if you prefer to use GCC toolchain.
3636

37+
After `WasmEdge 0.13.0`, the `boost` dependency is not needed.
38+
3739
#### For Ubuntu 22.04
3840

3941
```bash
4042
# Tools and libraries
4143
sudo apt install -y \
4244
software-properties-common \
43-
cmake \
44-
libboost-all-dev
45+
cmake
4546

4647
# And you will need to install llvm for the AOT runtime
4748
sudo apt install -y \
@@ -62,8 +63,7 @@ sudo apt install -y clang-14
6263
# Tools and libraries
6364
sudo apt install -y \
6465
software-properties-common \
65-
cmake \
66-
libboost-all-dev
66+
cmake
6767

6868
# And you will need to install llvm for the AOT runtime
6969
sudo apt install -y \

docs/contribute/source/os/riscv64.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ WasmEdge requires LLVM 12 at least and you may need to install the following dep
3333

3434
```bash
3535
ubuntu@riscv-lab:/labs/riscv-lab$ sudo apt-get update
36-
ubuntu@riscv-lab:/labs/riscv-lab$ sudo apt install -y software-properties-common cmake libboost-all-dev
36+
ubuntu@riscv-lab:/labs/riscv-lab$ sudo apt install -y software-properties-common cmake
3737
ubuntu@riscv-lab:/labs/riscv-lab$ sudo apt install -y llvm-12-dev liblld-12-dev
3838
```
3939

docs/contribute/source/plugin/image.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ The WasmEdge Image plug-in is a software component that extends the functionalit
1010

1111
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).
1212

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

1515
```bash
1616
sudo apt update
17-
sudo apt install zlib1g-dev
17+
sudo apt install zlib1g-dev libboost-all-dev
1818
```
1919

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

i18n/zh/docusaurus-plugin-content-docs/current/contribute/source/os/linux.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ Please check that these dependencies are satisfied.
4040
# Tools and libraries
4141
sudo apt install -y \
4242
software-properties-common \
43-
cmake \
44-
libboost-all-dev
43+
cmake
4544

4645
# And you will need to install llvm for the AOT runtime
4746
sudo apt install -y \
@@ -62,8 +61,7 @@ sudo apt install -y clang-14
6261
# Tools and libraries
6362
sudo apt install -y \
6463
software-properties-common \
65-
cmake \
66-
libboost-all-dev
64+
cmake
6765

6866
# And you will need to install llvm for the AOT runtime
6967
sudo apt install -y \

i18n/zh/docusaurus-plugin-content-docs/current/contribute/source/os/riscv64.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ WasmEdge requires LLVM 12 at least and you may need to install the following dep
3333

3434
```bash
3535
ubuntu@riscv-lab:/labs/riscv-lab$ sudo apt-get update
36-
ubuntu@riscv-lab:/labs/riscv-lab$ sudo apt install -y software-properties-common cmake libboost-all-dev
36+
ubuntu@riscv-lab:/labs/riscv-lab$ sudo apt install -y software-properties-common cmake
3737
ubuntu@riscv-lab:/labs/riscv-lab$ sudo apt install -y llvm-12-dev liblld-12-dev
3838
```
3939

i18n/zh/docusaurus-plugin-content-docs/current/contribute/source/plugin/image.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ The WasmEdge Image plug-in is a software component that extends the functionalit
1010

1111
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).
1212

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

1515
```bash
1616
sudo apt update
17-
sudo apt install zlib1g-dev
17+
sudo apt install zlib1g-dev libboost-all-dev
1818
```
1919

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

0 commit comments

Comments
 (0)