Skip to content
Commit 225d5838 authored by Michael Kruse's avatar Michael Kruse
Browse files

Add warning for FORCE_STATIC libraries when using BUILD_SHARED_LIBS.



We cannot built ISL as shared object because we build it with
-fvisibility=hidden; The created shared object would have no accessible symbols.

The reason it is built with -fvisibility=hidden is because opt/clang might load
other libraries that have ISL embedded and whose' symbols would conflict with
Polly's private ISL. This could happend with Draggonegg.

In the future we might instead statically link PollyISL into the Polly shared
object to avoid installing the static library.

Requested-by: default avatarVedran Miletic <vedran@miletic.net>

See-also: llvm.org/PR27306
llvm-svn: 279737
parent 3125501b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment