Skip to content

Commit

Permalink
Merge pull request #163 from r-devel/docs/valgrind
Browse files Browse the repository at this point in the history
docs: valgrind usage
  • Loading branch information
hturner authored Jul 26, 2024
2 parents 75438fd + 9126b4e commit 530afd9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/tutorials/building_r.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,11 @@ cd $BUILDDIR
- After we change directory, we must run the configure script from the source directory.
This step takes ~1 minute on the codespace.
```bash
$TOP_SRCDIR/configure
$TOP_SRCDIR/configure --with-valgrind-instrumentation=1

```
!!!Note
The `--with-valgrind-instrumentation` option is set to 1 for effective use of valgrind. See the [Using valgrind](https://cran.r-project.org/doc/manuals/R-exts.html#Using-valgrind) section of the R-admin manual for more information.

- The configure cmd prepares for building R, creating files and folders inside the BUILDDIR directory.
- Output : We get file structure something like this after using configure command.
Expand Down

0 comments on commit 530afd9

Please sign in to comment.