Skip to content

Commit 83ee49b

Browse files
bigspiderfanquake
authored andcommitted
doc: clarify that the "-j N" goes after the "--build build" part
Also, capitalized the comments in build-unix.md for uniformity with the docs on other targets. Github-Pull: #32846 Rebased-From: 0e9f409
1 parent e5a7575 commit 83ee49b

File tree

7 files changed

+16
-16
lines changed

7 files changed

+16
-16
lines changed

doc/build-freebsd.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,6 @@ cmake -B build -DENABLE_WALLET=OFF
129129
### 2. Compile
130130

131131
```bash
132-
cmake --build build # Use "-j N" for N parallel jobs.
133-
ctest --test-dir build # Use "-j N" for N parallel tests. Some tests are disabled if Python 3 is not available.
132+
cmake --build build # Append "-j N" for N parallel jobs.
133+
ctest --test-dir build # Append "-j N" for N parallel tests. Some tests are disabled if Python 3 is not available.
134134
```

doc/build-netbsd.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,6 @@ Run `cmake -B build -LH` to see the full list of available options.
118118
Build and run the tests:
119119

120120
```bash
121-
cmake --build build # Use "-j N" for N parallel jobs.
122-
ctest --test-dir build # Use "-j N" for N parallel tests. Some tests are disabled if Python 3 is not available.
121+
cmake --build build # Append "-j N" for N parallel jobs.
122+
ctest --test-dir build # Append "-j N" for N parallel tests. Some tests are disabled if Python 3 is not available.
123123
```

doc/build-openbsd.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ cmake -B build -DBerkeleyDB_INCLUDE_DIR:PATH="${BDB_PREFIX}/include" -DWITH_BDB=
118118
### 2. Compile
119119

120120
```bash
121-
cmake --build build # Use "-j N" for N parallel jobs.
122-
ctest --test-dir build # Use "-j N" for N parallel tests. Some tests are disabled if Python 3 is not available.
121+
cmake --build build # Append "-j N" for N parallel jobs.
122+
ctest --test-dir build # Append "-j N" for N parallel tests. Some tests are disabled if Python 3 is not available.
123123
```
124124

125125
## Resource limits

doc/build-osx.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,8 @@ After configuration, you are ready to compile.
187187
Run the following in your terminal to compile Bitcoin Core:
188188

189189
``` bash
190-
cmake --build build # Use "-j N" here for N parallel jobs.
191-
ctest --test-dir build # Use "-j N" for N parallel tests. Some tests are disabled if Python 3 is not available.
190+
cmake --build build # Append "-j N" here for N parallel jobs.
191+
ctest --test-dir build # Append "-j N" for N parallel tests. Some tests are disabled if Python 3 is not available.
192192
```
193193

194194
### 3. Deploy (optional)

doc/build-unix.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ To Build
99

1010
```bash
1111
cmake -B build
12-
cmake --build build # use "-j N" for N parallel jobs
13-
cmake --install build # optional
12+
cmake --build build # Append "-j N" for N parallel jobs
13+
cmake --install build # Optional
1414
```
1515

1616
See below for instructions on how to [install the dependencies on popular Linux

doc/build-windows-msvc.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,17 +54,17 @@ In the following instructions, the "Debug" configuration can be specified instea
5454

5555
```
5656
cmake -B build --preset vs2022-static # It might take a while if the vcpkg binary cache is unpopulated or invalidated.
57-
cmake --build build --config Release # Use "-j N" for N parallel jobs.
58-
ctest --test-dir build --build-config Release # Use "-j N" for N parallel tests. Some tests are disabled if Python 3 is not available.
57+
cmake --build build --config Release # Append "-j N" for N parallel jobs.
58+
ctest --test-dir build --build-config Release # Append "-j N" for N parallel tests. Some tests are disabled if Python 3 is not available.
5959
cmake --install build --config Release # Optional.
6060
```
6161

6262
### 5. Building with Dynamic Linking without GUI
6363

6464
```
6565
cmake -B build --preset vs2022 -DBUILD_GUI=OFF # It might take a while if the vcpkg binary cache is unpopulated or invalidated.
66-
cmake --build build --config Release # Use "-j N" for N parallel jobs.
67-
ctest --test-dir build --build-config Release # Use "-j N" for N parallel tests. Some tests are disabled if Python 3 is not available.
66+
cmake --build build --config Release # Append "-j N" for N parallel jobs.
67+
ctest --test-dir build --build-config Release # Append "-j N" for N parallel tests. Some tests are disabled if Python 3 is not available.
6868
```
6969

7070
### 6. vcpkg-specific Issues and Workarounds

doc/build-windows.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ This means you cannot use a directory that is located directly on the host Windo
4747

4848
Build using:
4949

50-
gmake -C depends HOST=x86_64-w64-mingw32 # Use "-j N" for N parallel jobs.
50+
gmake -C depends HOST=x86_64-w64-mingw32 # Append "-j N" for N parallel jobs.
5151
cmake -B build --toolchain depends/x86_64-w64-mingw32/toolchain.cmake
52-
cmake --build build # Use "-j N" for N parallel jobs.
52+
cmake --build build # Append "-j N" for N parallel jobs.
5353

5454
## Depends system
5555

0 commit comments

Comments
 (0)