diff options
author | Tom Stellard <[email protected]> | 2013-01-18 16:26:12 +0000 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2013-01-24 15:45:18 +0000 |
commit | cf69a591e1ad16b590c9ae2eba0da6fa6c4fc741 (patch) | |
tree | 7154df59ab767d1af3e1bcaf21d79977c33725ad /m4/ax_python_module.m4 | |
parent | 69d639ba8b3cfd95cfbb12b861dbe2eda53f2e25 (diff) |
configure.ac: Force use of LLVM shared libs with --enable-opencl v2
If we build clover with LLVM static libraries, then clover and also each
pipe_*.so driver that is built will contain their own static copy of
LLVM. The recent automake changes have uncovered a problem where
the pipe_*.so drivers try to use clover's LLVM symbols. This causes
LLVM's static registry objects to be initialized each time
a pipe_*.so driver is loaded by clover. Initializing these objects
multiple times is not allowed and leads to assertion failures in the
LLVM code.
We can avoid all these problems by having clover and all the pipe_*.so
drivers link against the same LLVM shared library.
https://bugs.freedesktop.org/show_bug.cgi?id=59334
https://bugs.freedesktop.org/show_bug.cgi?id=59534
v2:
- Fix shared library detection when LLVM is built with CMake
Diffstat (limited to 'm4/ax_python_module.m4')
0 files changed, 0 insertions, 0 deletions