Skip to content

Commit

Permalink
Update building_from_source.md (#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
muddlebee authored Jan 10, 2024
1 parent e61e4e4 commit 42576a5
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions runtime/manual/references/contributing/building_from_source.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ chapter).
> Deno uses submodules, so you must remember to clone using
> `--recurse-submodules`.
**Linux**/**Mac**:
**Linux**/**Mac**/**WSL**:

```shell
git clone --recurse-submodules https://github.com/denoland/deno.git
Expand Down Expand Up @@ -76,6 +76,14 @@ brew install llvm
# Add /opt/homebrew/opt/llvm/bin/ to $PATH
```

**WSL**
```shell
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
./llvm.sh 16
apt install --install-recommends -y cmake libglib2.0-dev
```

**Windows**:

1. Get [VS Community 2019](https://www.visualstudio.com/downloads/) with the
Expand Down Expand Up @@ -105,7 +113,7 @@ brew install llvm
> Building Deno requires the
> [Protocol Buffers compiler](https://grpc.io/docs/protoc-installation/).
**Linux**:
**Linux**/**WSL**:

```sh
apt install -y protobuf-compiler
Expand Down Expand Up @@ -133,6 +141,7 @@ Windows users can download the latest binary release from
## Building Deno

The easiest way to build Deno is by using a precompiled version of V8:
> for WSL make sure you have sufficient memory allocated in .wslconfig
```
cargo build -vv
Expand Down

0 comments on commit 42576a5

Please sign in to comment.