User Guide

Contents

Building an Application on macOS*

Use one of the following command lines to build an executable for the running example:
  • With Threading Building Block (TBB) 2019 or higher:
    clang++ -std=c++11 -DTBB_USE_THREADING_TOOLS example.cpp -ltbb
  • With TBB version lower than 2019:
    clang++ -std=c++11 -DTBB_PREVIEW_FLOW_GRAPH_TRACE example.cpp -ltbb_preview
These command lines define the
TBB_USE_THREADING_TOOLS
or
TBB_PREVIEW_FLOW_GRAPH_TRACE
macro and also link the application against
tbb.lib
or
tbb_preview.lib
library based on the TBB version you use.
-std=c++11
is present because the running example uses lambda expressions, which are a C++11 feature.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804