-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tbb 4.4.4 does not seem to handle clang. #669
Comments
I'm just wondering. You should add clang7 packages to your travis.yml as:
|
Updated my travis to use that docker image, g++ still being invoked. travis log Still, raised an issue because probably this is not expected behavior, I will leave this up to maintainers whether they want to take a look at that or not. |
@fulara we have merged required changes, please give an another try |
@SSE4 will give it a go later on today.
Isnt it meant to be |
@fulara This change to I think it is a bug. |
shared cannot be default, as Windows doesn't support shared libraries, so it will end up into non-working default builds. |
@SSE4 Yep, this is something I expected - so to my opinion just that if statement is confusing. I tested 4.4.4 and its working fine now. i did notice although a weird thing with 'version' not being propagated, but thats only used for building so its not a huge issue. Closing this issue. |
Still this warning
looks as mistake |
Package and Environment Details (include every applicable attribute)
Short description
I tried to build tbb version 4.x but it seemed that tbb was being built with gcc instead. I looked briefly at tbb recipes and they do mention clang so I guess its supported.
What did I do?
I forked off from your stable/4.4.4 and modified travis.yml to be like this:
env: CONAN_CLANG_VERSIONS=7.0 CONAN_DOCKER_IMAGE=lasote/conanclang60
can be seen here: https://github.com/fulara/conan-tbb/blob/stable/4.4.4/.travis.yml
What did I expect?
That tbb would be built with clang
what did i get?
In the build logs that are pasted below i can see following (examplary line)
g++ -o concurrent_vector.o -c -MMD -DTBB_USE_DEBUG -DDO_ITT_NOTIFY -g -O0 -DUSE_PTHREAD -m32 -march=pentium4 -mrtm -fPIC -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_vector.cpp
So it seems to me that TBB is being built with g++ rather than clang here.
Apologies if i made a mistake during setup of this travil.yml, however i saw this issue at work where i tried using:
conan ... -s "compiler=clang" -s "compiler.version=7.0"
and i got similar output as in attached travis outputSteps to reproduce (Include if Applicable)
Logs (Include/Attach if Applicable)
https://travis-ci.org/fulara/conan-tbb/builds/500563739
https://github.com/fulara/conan-tbb/blob/stable/4.4.4/.travis.yml
The text was updated successfully, but these errors were encountered: