Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.

Build tbb with Intel compiler

Craig_A_
Beginner
393 Views

Hi -

I'm trying to build tpp using the intel compiler. The bin directory containing it is on my $PATH. There is a CXX environment variable that contains icpc and a CC environment variable that contains icc, but when I run make it uses gcc. I am doing the build on CentOS 7.

Is there something I'm not doing that will make it use the intel compiler?

Thanks,
Craig

0 Kudos
2 Replies
Alexey_M_Intel1
Employee
393 Views

Hi, Craig.

You can configure compiler by setting parameter to make compiler={icc, gcc, clang}

Also, please make sure that you set up Intel Compiler env before your experiment.

0 Kudos
Alexei_K_Intel
Employee
393 Views

Hi Craig,

In addition, you may find interesting the topic on github about compiler=$(CXX).

Regards,
Alex
 

0 Kudos
Reply