File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,13 +7,13 @@ Navigate to the project root.
77
88 .. code-block :: bash
99
10- cmake -S . -B build -D USE_FUNC_TESTS=ON -D USE_PERF_TESTS=ON -D CMAKE_BUILD_TYPE=Release
10+ cmake -S . -B build
1111
1212 To configure only selected tasks:
1313
1414 .. code-block :: bash
1515
16- cmake -S . -B build -DPPC_TASKS=" example_threads;example_processes" -D USE_FUNC_TESTS=ON -D USE_PERF_TESTS=ON -D CMAKE_BUILD_TYPE=Release
16+ cmake -S . -B build -DPPC_TASKS=" example_threads;example_processes"
1717
1818 Optional: enable sanitizers for local debugging
1919
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ clang-tidy (static analysis):
102102
103103 # Configure with compile_commands.json
104104 cmake -S . -B build -G Ninja -D CMAKE_BUILD_TYPE=Release -D CMAKE_EXPORT_COMPILE_COMMANDS=ON
105- cmake --build build -j
105+ cmake --build build --parallel
106106
107107 # clang-tidy run:
108108 # ## analyze all sources
@@ -116,14 +116,14 @@ gcovr (coverage, GCC):
116116
117117 # Configure with coverage flags (use GCC)
118118 cmake -S . -B build -G Ninja -D USE_COVERAGE=ON -D CMAKE_BUILD_TYPE=Release
119- cmake --build build -j
119+ cmake --build build --parallel
120120
121121 # Run tests here (threads/processes/performance)
122122 scripts/run_tests.py --running-type=threads --counts 1 2 4
123123
124124 # Generate reports (install gcovr if needed: python3 -m pip install gcovr)
125125 mkdir -p cov-report
126- (cd build && gcovr --gcov-executable " $( which gcov-14 || which gcov ) " \
126+ (cd build && gcovr --gcov-executable " $( which gcov) " \
127127 -r ../ \
128128 --exclude ' .*3rdparty/.*' \
129129 --exclude ' /usr/.*' \
You can’t perform that action at this time.
0 commit comments