Unverified Commit 7e9e18b1 authored by Benjamin Woodruff's avatar Benjamin Woodruff Committed by GitHub

docs(turbopack): Document build dependency on clang for rocksdb (#72493)

Noticed this after rebuilding on top of #71688 

Most Linux distributions default to `gcc` for their default `cc`
implementation (e.g. via Debian's `build-essential` meta-package, which
we can probably implicitly assume is installed), which means that they
won't typically have `clang` installed.

`librocksdb-sys` seems to always depend on `clang` on Linux. It looks
like this might be a consequence of using
[rust-bindgen](https://github.com/rust-lang/rust-bindgen) (though I'm
confused why this didn't come up earlier), as it looks like rocksdb can
otherwise build with gcc.

This shouldn't be an issue for macos, since `clang` is the default `cc`
on that platform.
parent f72dc6a0
......@@ -12,9 +12,9 @@
```
corepack enable pnpm
```
- (Linux) Install LLD, the LLVM linker:
- (Linux) Install LLD (the LLVM linker) and Clang (used by `rust-rocksdb`):
```
sudo apt install lld
sudo apt install lld clang
```
## Local Development
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment