Use std::execution::par parallel execution. They are used to specify the execution policy of parallel algorithms. so, install tbb!
foo@bar:~$ sudo apt -y install libtbb-devBuild with Clang-12.
foo@bar:template/for-class$ bazel build --config=clang_config //main:hello-worldTest with uftrace and valgrind.
Install uftrace and valgrind in ubuntu.
foo@bar:~$ sudo apt -y install uftrace valgrindTest hello-world program with uftrace in terminal.
foo@bar:template/for-class$ uftrace ./bazel-bin/main/hello-worldTest hello-world program with valgrind in terminal.
foo@bar:template/for-class$ valgrind ./bazel-bin/main/hello-worldInstall cpplint.
foo@bar:~$ sudo apt -y install python3 && pip install cpplint
foo@bar:~$ echo "export PATH=\$PATH:\$HOME/.local/bin" >> .bashrc && source .bashrcAnd do lint.
foo@bar:template/for-class$ cpplint main/hello-world.ccBazel Tutorial: Build a C++ Project