summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2022-05-02 14:00:35 -0400
committerGitHub <noreply@github.com>2022-05-02 14:00:35 -0400
commitb793245dacca942ca6842692aa9bbc06cde217fd (patch)
tree0b19832f65a17bb5e5f915c127fb99f1be94fb53 /doc
parent049303eff39d654f198b441e8e5f0f5b75a25e74 (diff)
[DOC] Some YJIT dependencies are no longer required
The `capstone` crate on crates.io does not need `libcapstone` on the system because it builds from [source]. `gdbm` is now a separate gem (thanks for extracting it!). [source]: https://github.com/capstone-rust/capstone-rs/blob/c31409905a9fc4581133de248fcd0a66b2c37e36/capstone-sys/build.rs#L143
Diffstat (limited to 'doc')
-rw-r--r--doc/yjit/yjit.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/yjit/yjit.md b/doc/yjit/yjit.md
index b96c703551..fd45096beb 100644
--- a/doc/yjit/yjit.md
+++ b/doc/yjit/yjit.md
@@ -72,7 +72,7 @@ git clone https://github.com/ruby/ruby yjit
cd yjit
```
-The YJIT `ruby` binary can be built with either GCC or Clang. It can be built either in dev (debug) mode or in release mode. For maximum performance, compile YJIT in release mode with GCC. More detailed build instructions are provided in the [Ruby README](https://github.com/ruby/ruby#how-to-compile-and-install). To support disassembly of the generated code, `libcapstone` is also required (`brew install capstone` on MacOS, `sudo apt-get install -y libcapstone-dev` on Ubuntu/Debian and `sudo dnf -y install capstone-devel` on Fedora).
+The YJIT `ruby` binary can be built with either GCC or Clang. It can be built either in dev (debug) mode or in release mode. For maximum performance, compile YJIT in release mode with GCC. More detailed build instructions are provided in the [Ruby README](https://github.com/ruby/ruby#how-to-compile-and-install).
```
# Configure in release mode for maximum performance, build and install
@@ -90,7 +90,7 @@ or
make -j install
```
-On macOS, you may need to specify where to find openssl, libyaml and gdbm:
+On macOS, you may need to specify where to find some libraries:
```
# Install dependencies
@@ -102,7 +102,7 @@ brew install openssl readline libyaml
make -j install
```
-Typically configure will choose default C compiler. To specify the C compiler, use
+Typically configure will choose the default C compiler. To specify the C compiler, use
```
# Choosing a specific c compiler
export CC=/path/to/my/chosen/c/compiler