From b793245dacca942ca6842692aa9bbc06cde217fd Mon Sep 17 00:00:00 2001 From: Alan Wu Date: Mon, 2 May 2022 14:00:35 -0400 Subject: [PATCH] [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 --- doc/yjit/yjit.md | 6 +++--- 1 file 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