Skip to content

Commit 00f967f

Browse files
author
Maxim Egorushkin
committed
Makefile example command lines updated.
1 parent 4561bc8 commit 00f967f

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

Makefile

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,17 @@
22

33
# Usage examples (assuming this directory is ~/src/atomic_queue):
44
#
5-
# time make -rC ~/src/atomic_queue -j8
6-
# time make -rC ~/src/atomic_queue -j8 run_benchmarks
7-
# time make -rC ~/src/atomic_queue -j8 TOOLSET=clang run_benchmarks
8-
# time make -rC ~/src/atomic_queue -j8 BUILD=debug run_tests
9-
# time make -rC ~/src/atomic_queue -j8 BUILD=sanitize TOOLSET=clang run_tests
5+
# time make -rC ~/src/atomic_queue -j$(($(nproc)/2))
6+
# time make -rC ~/src/atomic_queue -j$(($(nproc)/2)) BUILD=debug run_tests
7+
# time make -rC ~/src/atomic_queue -j$(($(nproc)/2)) all run_tests
8+
# time make -rC ~/src/atomic_queue -j$(($(nproc)/2)) run_benchmarks
9+
# time make -rC ~/src/atomic_queue -j$(($(nproc)/2)) TOOLSET=clang-19 BUILD=debug run_tests
10+
# time make -rC ~/src/atomic_queue -j$(($(nproc)/2)) TOOLSET=clang BUILD=sanitize run_tests
11+
# time make -rC ~/src/atomic_queue -j$(($(nproc)/2)) TOOLSET=clang run_benchmarks
1012
#
1113
# Additional CPPFLAGS, CXXFLAGS, LDLIBS, LDFLAGS can come from the command line, e.g. make CPPFLAGS='-I<my-include-dir>', or from environment variables. For example, also produce assembly outputs:
1214
#
13-
# time make -rC ~/src/atomic_queue -j8 CXXFLAGS="-save-temps=obj -fverbose-asm -masm=intel"
15+
# time make -rC ~/src/atomic_queue -j$(($(nproc)/2)) CXXFLAGS="-save-temps=obj -fverbose-asm -masm=intel"
1416
#
1517

1618
SHELL := /bin/bash

0 commit comments

Comments
 (0)