libTBB build failure (and solution)

Please read tips for efficient and successful posting and posting code

ROOT Version: root-6.20.04
Platform: CentOs 7.3 x86_64 GNU/Linux
Compiler: gcc 3.9.4

Logging this here for others. libTBB can fail to build if the OS environmental variable is set. The error message is:

CMake Error at /your_path/root-6.20.04/obj/TBB-prefix/src/TBB-stamp/TBB-build-Release.cmake:16 (message):
  Command failed: 2
   'make' 'compiler=gcc' 'CXXFLAGS= -mno-rtm' 'CPLUS=/usr/local/gcc-4.9.4/bin/g++' 'CONLY=/usr/local/gcc-4.9.4/bin/gcc'

The error suggests a logfile which a message like this:

build/ *** "" is not supported. Add build/.inc file with os-specific settings

The solution is just to unset the OS variable. Also documented here:
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.