Tells the compiler to link to the Intel® oneAPI Threading Building Blocks (oneTBB) libraries. Option -tbb is a deprecated option; the replacement option is -qtbb.
Linux: | -tbb |
Windows: | /Qtbb |
None
OFF |
The compiler does not link to the oneTBB libraries. |
This option tells the compiler to link to the Intel® oneAPI Threading Building Blocks (oneTBB) libraries and include the oneTBB headers.
On Windows* systems, this option adds directives to the compiled code, which the linker then reads without further input from the driver. You do not need to specify a separate link command.
On Linux* systems, the driver must add the library names explicitly to the link command. You must use option -tbb to perform the link to pull in the dependent libraries.
Visual Studio: None
Eclipse: Performance Library Build Components > Use Intel® oneAPI Threading Building Blocks
Linux: -qtbb