Skip to content

Commit e31cb45

Browse files
pre-commit-ci[bot]avinab-neogy
authored andcommitted
[pre-commit.ci] Fixing issues with pre-commit
1 parent 13a94cd commit e31cb45

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

docs/tutorials/building_r.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,11 @@ cd $BUILDDIR
6464
CFLAGS="-g -O0"
6565
```
6666

67-
- After running this command, the CFLAGS setting will apply only to the
68-
current terminal session.
67+
- These flags modify the configuration defined in the next step,
68+
so that when R is built, C code will be compiled with debugging
69+
symbols (`-g`) and compiler optimizations will be disabled
70+
(`-O0`) so that the structure of the code closely matches the
71+
original source.
6972

7073
**6) Configure the build**
7174

scripts/localscript.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,14 @@ local_script
4242

4343
# Remove the .vscode/settings.json file if it exists so that
4444
# it does not interfere with the devcontainer.json
45+
<<<<<<< HEAD
4546
rm -f "$WORK_DIR/.vscode/settings.json"
4647

4748
# 1. Build the ptrace helper library
4849
gcc -shared -fPIC -o "$SCRIPTS_DIR/allow_ptrace.so" "$SCRIPTS_DIR/allow_ptrace.c"
4950

5051
# 2. Mark the wrapper executable
5152
chmod +x "$SCRIPTS_DIR/launch_r.sh"
53+
=======
54+
rm -f .vscode/settings.json
55+
>>>>>>> 964acc0 ([pre-commit.ci] Fixing issues with pre-commit)

0 commit comments

Comments
 (0)