Skip to content

Commit

Permalink
Merge pull request ruby#47 from jhawthorn/patch-1
Browse files Browse the repository at this point in the history
Recommend installing libcapstone in README
  • Loading branch information
maximecb committed May 21, 2021
2 parents 296c97e + cd6c5fa commit 7eb8c6b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -39,6 +39,8 @@ cd yjit

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
Expand Down

0 comments on commit 7eb8c6b

Please sign in to comment.