Dear experts:
I have the same problem as in the post:
“ROOT 6.10.8 - TBB Fails to Compile”
I’ve tried the command:
cmake -D builtin_tbb=ON -D roofit=ON -D minuit2=ON -D gsl_shared=ON …/
and then
cmake --build . --target TBB
and I get the following error message:
Performing build step for 'TBB'
cd /Users/dinardo/root_v6.12.06/myBuild/TBB-prefix/src/TBB && /Applications/CMake.app/Contents/bin/cmake -P /Users/dinardo/root_v6.12.06/myBuild/TBB-prefix/src/TBB-stamp/TBB-build-RelWithDebInfo.cmake
CMake Error at /Users/dinardo/root_v6.12.06/myBuild/TBB-prefix/src/TBB-stamp/TBB-build-RelWithDebInfo.cmake:16 (message):
Command failed: 2
'make' 'compiler=clang' 'CXXFLAGS= -mno-rtm' 'CPLUS=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++' 'CONLY=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc'
See also
/Users/dinardo/root_v6.12.06/myBuild/TBB-prefix/src/TBB-stamp/TBB-build-*.log
make[3]: *** [TBB-prefix/src/TBB-stamp/TBB-build] Error 1
make[2]: *** [CMakeFiles/TBB.dir/all] Error 2
make[1]: *** [CMakeFiles/TBB.dir/rule] Error 2
make: *** [TBB] Error 2
iHulk:myBuild dinardo$ more /Users/dinardo/root_v6.12.06/myBuild/TBB-prefix/src/TBB-stamp/TBB-build-err.log
make[5]: ../../build/Makefile.tbb: No such file or directory
make[5]: *** No rule to make target `../../build/Makefile.tbb'. Stop.
make[4]: *** [tbb] Error 2
The second log file says:
iHulk:myBuild dinardo$ more /Users/dinardo/root_v6.12.06/myBuild/TBB-prefix/src/TBB-stamp/TBB-build-err.log
make[5]: ../../build/Makefile.tbb: No such file or directory
make[5]: *** No rule to make target `../../build/Makefile.tbb'. Stop.
make[4]: *** [tbb] Error 2
iHulk:myBuild dinardo$ more /Users/dinardo/root_v6.12.06/myBuild/TBB-prefix/src/TBB-stamp/TBB-build-out.log
Created ./build/macos_intel64_clang_cc9.1.0 Found CUDA installation: /usr/local/cuda, version unknown_os10.13.4_release and ..._debug directories
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C "./build/macos_intel64_clang_cc9.1.0 Found CUDA installation: /usr/local/cuda, version unknown_os10.13.4_debug" -r -f ../../build/Makefile.tbb cfg=debug
The third log file says:
iHulk:myBuild dinardo$ more /Users/dinardo/root_v6.12.06/myBuild/TBB-prefix/src/TBB-stamp/TBB-build-RelWithDebInfo.cmake
set(command "make;compiler=clang;CXXFLAGS= -mno-rtm;CPLUS=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++;CONLY=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc")
execute_process(
COMMAND ${command}
RESULT_VARIABLE result
OUTPUT_FILE "/Users/dinardo/root_v6.12.06/myBuild/TBB-prefix/src/TBB-stamp/TBB-build-out.log"
ERROR_FILE "/Users/dinardo/root_v6.12.06/myBuild/TBB-prefix/src/TBB-stamp/TBB-build-err.log"
)
if(result)
set(msg "Command failed: ${result}\n")
foreach(arg IN LISTS command)
set(msg "${msg} '${arg}'")
endforeach()
set(msg "${msg}\nSee also\n /Users/dinardo/root_v6.12.06/myBuild/TBB-prefix/src/TBB-stamp/TBB-build-*.log")
message(FATAL_ERROR "${msg}")
else()
set(msg "TBB build command succeeded. See also /Users/dinardo/root_v6.12.06/myBuild/TBB-prefix/src/TBB-stamp/TBB-build-*.log")
message(STATUS "${msg}")
endif()
I am building with an active internet connection.
Do you have further suggestions or things to check?