-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Why onetbb not like static library? #646
Comments
The static library is not a problem itself; however, there are some scenarios when the static linkage approach can lead to the issues. The most typical problem if static and dynamic or static and static libraries are mixed in one application. In the good case, it will be a performance problem, in the worst case, something will mysteriously fail (e.g. due to symbol conflicts). Therefore, we do not recommend using the static library. If you are Ok to cope with possible and unforeseen issues, we do not block the static build (in any case, it is an open source and any block can be removed). Moreover, we can consider reasonable improvements even for the static configuration if it can help someone. |
Thanks for your reply. |
When I do
cmake -DBUILD_SHARED_LIBS=OFF ..
What's the problem with static library?
Thanks for your reply.
The text was updated successfully, but these errors were encountered: