File: InstallOptions.md

package info (click to toggle)
ruby-oj 3.16.3-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,852 kB
  • sloc: ansic: 19,402; ruby: 11,451; makefile: 17
file content (20 lines) | stat: -rw-r--r-- 507 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Oj Install Options

### Enable trace log

```
$ gem install oj -- --enable-trace-log
```

To enable Oj trace feature, it uses `--enable-trace-log` option when installing the gem.
Then, the trace logs will be displayed when `:trace` option is set to `true`.


### Enable SIMD instructions

```
$ gem install oj -- --with-sse42
```

To enable the use of SIMD instructions in Oj, it uses the `--with-sse42` option when installing the gem.
This will enable the use of the SSE4.2 instructions in the internal.