summaryrefslogtreecommitdiff
path: root/doc/yjit
diff options
context:
space:
mode:
authorMaxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>2021-11-18 10:44:31 -0500
committerGitHub <noreply@github.com>2021-11-18 10:44:31 -0500
commitcdebf57ec670f35cf07460778e40f6801050ffb5 (patch)
treec279524b6e949311aef31fbf9acc1533d5abb58e /doc/yjit
parentf3dcb4bbf7253690abba02e64a051390c55237cb (diff)
Add --yjit-no-type-prop so we can test YJIT without type propagation (#5135)
* Add --yjit-no-type-prop so we can test YJIT without type propagation * Fix typo in command line option * Leave just two test workflows enable for YJIT
Notes
Notes: Merged-By: maximecb <maximecb@ruby-lang.org>
Diffstat (limited to 'doc/yjit')
-rw-r--r--doc/yjit/yjit.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/yjit/yjit.md b/doc/yjit/yjit.md
index f84b989f6d..0da6c15911 100644
--- a/doc/yjit/yjit.md
+++ b/doc/yjit/yjit.md
@@ -78,6 +78,14 @@ To support disassembly of the generated code, `libcapstone` is also required (`b
make -j16 install
```
+On macOS, you may need to specify where to find openssl, libyaml and gdbm:
+
+```
+# Configure with debugging/stats options for development, build and install
+./configure cppflags="-DRUBY_DEBUG -DYJIT_STATS" --prefix=$HOME/.rubies/ruby-yjit --disable-install-doc --disable--install-rdoc --with-opt-dir=$(brew --prefix openssl):$(brew --prefix readline):$(brew --prefix libyaml):$(brew --prefix gdbm)
+make -j16 install
+```
+
Typically configure will choose default C compiler. To specify the C compiler, use
```
# Choosing a specific c compiler