1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Update README.md

This commit is contained in:
Maxime Chevalier-Boisvert 2021-05-21 17:51:38 -04:00 committed by Alan Wu
parent 6ecb007f6e
commit 844067f7ee

View file

@ -37,10 +37,10 @@ git clone https://github.com/Shopify/ruby.git yjit
cd yjit
```
To support disassembly, libcapstone is also required (`brew install capstone` on macos).
The YJIT `ruby` binary can be built with either GCC or Clang. We recommend enabling debug symbols so that assertions are enabled during development as this makes debugging easier. Enabling debug mode will also make it possible for you to disassemble code generated by YJIT, and get access to stat counters. 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).
```
./autogen.sh
./configure cppflags=-DRUBY_DEBUG --prefix=$HOME/.rubies/ruby-yjit